From 5d08694c06b96637462390539ea7af8490524e58 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Mon, 29 Jan 2024 06:14:36 +0000 Subject: [PATCH 01/56] Update package-lock.json --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index d4ba9584b810b..e09fc9b134b81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1029,9 +1029,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.11.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.8.tgz", - "integrity": "sha512-i7omyekpPTNdv4Jb/Rgqg0RU8YqLcNsI12quKSDkRXNfx7Wxdm6HhK1awT3xTgEkgxPn3bvnSpiEAc7a7Lpyow==", + "version": "20.11.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.10.tgz", + "integrity": "sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -5078,9 +5078,9 @@ "dev": true }, "@types/node": { - "version": "20.11.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.8.tgz", - "integrity": "sha512-i7omyekpPTNdv4Jb/Rgqg0RU8YqLcNsI12quKSDkRXNfx7Wxdm6HhK1awT3xTgEkgxPn3bvnSpiEAc7a7Lpyow==", + "version": "20.11.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.10.tgz", + "integrity": "sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==", "dev": true, "requires": { "undici-types": "~5.26.4" From 52ec1fe399d82ea293bd49482b24f0c396c93daf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 09:27:08 -0800 Subject: [PATCH 02/56] Bump the github-actions group with 2 updates (#57208) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/release-branch-artifact.yaml | 2 +- .github/workflows/scorecard.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 166805b9c178b..106e79998919e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,7 +46,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@0b21cf2492b6b02c465a3e5d7c473717ad7721ba # v3.23.1 + uses: github/codeql-action/init@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3.23.2 with: config-file: ./.github/codeql/codeql-configuration.yml # Override language selection by uncommenting this and choosing your languages @@ -56,7 +56,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below). - name: Autobuild - uses: github/codeql-action/autobuild@0b21cf2492b6b02c465a3e5d7c473717ad7721ba # v3.23.1 + uses: github/codeql-action/autobuild@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3.23.2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -70,4 +70,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@0b21cf2492b6b02c465a3e5d7c473717ad7721ba # v3.23.1 + uses: github/codeql-action/analyze@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3.23.2 diff --git a/.github/workflows/release-branch-artifact.yaml b/.github/workflows/release-branch-artifact.yaml index 5e21bcb1b374b..bfbe2cb3e7ebb 100644 --- a/.github/workflows/release-branch-artifact.yaml +++ b/.github/workflows/release-branch-artifact.yaml @@ -41,7 +41,7 @@ jobs: npm pack ./ mv typescript-*.tgz typescript.tgz - name: Upload built tarfile - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 with: name: tgz path: typescript.tgz diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index b8fed52f04d8a..0a4c648467bb3 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -47,7 +47,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: 'Upload artifact' - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 with: name: SARIF file path: results.sarif @@ -55,6 +55,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: 'Upload to code-scanning' - uses: github/codeql-action/upload-sarif@0b21cf2492b6b02c465a3e5d7c473717ad7721ba # v3.23.1 + uses: github/codeql-action/upload-sarif@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3.23.2 with: sarif_file: results.sarif From 3c9aea3ed17653d87ad6ab1ac567ee4e20447415 Mon Sep 17 00:00:00 2001 From: Abraham Guo Date: Mon, 29 Jan 2024 13:31:51 -0600 Subject: [PATCH 03/56] enable `@typescript-eslint/no-unused-vars` (#57123) --- .eslintrc.json | 11 ++++++++--- scripts/eslint/rules/argument-trivia.cjs | 16 ++++++++++------ scripts/eslint/rules/debug-assert.cjs | 10 +++++----- scripts/eslint/rules/jsdoc-format.cjs | 7 +++---- scripts/eslint/rules/no-in-operator.cjs | 3 +-- scripts/eslint/rules/no-keywords.cjs | 10 +++++----- scripts/eslint/rules/only-arrow-functions.cjs | 10 ++++++---- scripts/tsconfig.json | 3 --- src/compiler/core.ts | 7 +++---- src/compiler/emitter.ts | 1 + src/compiler/factory/utilities.ts | 2 +- src/compiler/moduleNameResolver.ts | 2 +- src/compiler/watchPublic.ts | 14 +++++++------- src/server/editorServices.ts | 2 +- .../codefixes/fixAddMissingConstraint.ts | 2 +- src/services/codefixes/fixNaNEquality.ts | 2 +- src/services/refactors/moveToFile.ts | 1 - src/tsconfig-base.json | 4 ---- 18 files changed, 54 insertions(+), 53 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 819d042c25b16..a6d1b6345b452 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -105,9 +105,14 @@ } } ], - - // Todo: For each of these, investigate whether we want to enable them ✨ - "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-unused-vars": [ + "error", + { + // Ignore: (solely underscores | starting with exactly one underscore) + "argsIgnorePattern": "^(_+$|_[^_])", + "varsIgnorePattern": "^(_+$|_[^_])" + } + ], // Pending /~https://github.com/typescript-eslint/typescript-eslint/issues/4820 "@typescript-eslint/prefer-optional-chain": "off", diff --git a/scripts/eslint/rules/argument-trivia.cjs b/scripts/eslint/rules/argument-trivia.cjs index 8a6d1a8f112ca..423da853e212a 100644 --- a/scripts/eslint/rules/argument-trivia.cjs +++ b/scripts/eslint/rules/argument-trivia.cjs @@ -1,7 +1,11 @@ -const { AST_NODE_TYPES, TSESTree, ESLintUtils } = require("@typescript-eslint/utils"); +const { AST_NODE_TYPES, ESLintUtils } = require("@typescript-eslint/utils"); const { createRule } = require("./utils.cjs"); const ts = require("typescript"); +/** + * @typedef {import("@typescript-eslint/utils").TSESTree.CallExpression | import("@typescript-eslint/utils").TSESTree.NewExpression} CallOrNewExpression + */ + const unset = Symbol(); /** * @template T @@ -42,7 +46,7 @@ module.exports = createRule({ /** @type {(name: string) => boolean} */ const isSetOrAssert = name => name.startsWith("set") || name.startsWith("assert"); - /** @type {(node: TSESTree.Node) => boolean} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.Node) => boolean} */ const isTrivia = node => { if (node.type === AST_NODE_TYPES.Identifier) { return node.name === "undefined"; @@ -56,7 +60,7 @@ module.exports = createRule({ return false; }; - /** @type {(node: TSESTree.CallExpression | TSESTree.NewExpression) => boolean} */ + /** @type {(node: CallOrNewExpression) => boolean} */ const shouldIgnoreCalledExpression = node => { if (node.callee && node.callee.type === AST_NODE_TYPES.MemberExpression) { const methodName = node.callee.property.type === AST_NODE_TYPES.Identifier @@ -97,7 +101,7 @@ module.exports = createRule({ return false; }; - /** @type {(node: TSESTree.Node, i: number, getSignature: () => ts.Signature | undefined) => void} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.Node, i: number, getSignature: () => ts.Signature | undefined) => void} */ const checkArg = (node, i, getSignature) => { if (!isTrivia(node)) { return; @@ -119,7 +123,7 @@ module.exports = createRule({ }); const comments = sourceCode.getCommentsBefore(node); - /** @type {TSESTree.Comment | undefined} */ + /** @type {import("@typescript-eslint/utils").TSESTree.Comment | undefined} */ const comment = comments[comments.length - 1]; if (!comment || comment.type !== "Block") { @@ -170,7 +174,7 @@ module.exports = createRule({ } }; - /** @type {(node: TSESTree.CallExpression | TSESTree.NewExpression) => void} */ + /** @type {(node: CallOrNewExpression) => void} */ const checkArgumentTrivia = node => { if (shouldIgnoreCalledExpression(node)) { return; diff --git a/scripts/eslint/rules/debug-assert.cjs b/scripts/eslint/rules/debug-assert.cjs index 31a735c246889..ca3a4263d7d60 100644 --- a/scripts/eslint/rules/debug-assert.cjs +++ b/scripts/eslint/rules/debug-assert.cjs @@ -1,4 +1,4 @@ -const { AST_NODE_TYPES, TSESTree } = require("@typescript-eslint/utils"); +const { AST_NODE_TYPES } = require("@typescript-eslint/utils"); const { createRule } = require("./utils.cjs"); module.exports = createRule({ @@ -17,14 +17,14 @@ module.exports = createRule({ defaultOptions: [], create(context) { - /** @type {(node: TSESTree.Node) => boolean} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.Node) => boolean} */ const isArrowFunction = node => node.type === AST_NODE_TYPES.ArrowFunctionExpression; - /** @type {(node: TSESTree.Node) => boolean} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.Node) => boolean} */ const isStringLiteral = node => ( (node.type === AST_NODE_TYPES.Literal && typeof node.value === "string") || node.type === AST_NODE_TYPES.TemplateLiteral ); - /** @type {(node: TSESTree.MemberExpression) => boolean} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.MemberExpression) => boolean} */ const isDebugAssert = node => ( node.object.type === AST_NODE_TYPES.Identifier && node.object.name === "Debug" @@ -32,7 +32,7 @@ module.exports = createRule({ && node.property.name === "assert" ); - /** @type {(node: TSESTree.CallExpression) => void} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.CallExpression) => void} */ const checkDebugAssert = node => { const args = node.arguments; const argsLen = args.length; diff --git a/scripts/eslint/rules/jsdoc-format.cjs b/scripts/eslint/rules/jsdoc-format.cjs index b16de44b4aaa5..4753fe9cc84cc 100644 --- a/scripts/eslint/rules/jsdoc-format.cjs +++ b/scripts/eslint/rules/jsdoc-format.cjs @@ -1,4 +1,3 @@ -const { TSESTree } = require("@typescript-eslint/utils"); const { createRule } = require("./utils.cjs"); module.exports = createRule({ @@ -29,7 +28,7 @@ module.exports = createRule({ return text.startsWith(jsdocStart); } - /** @type {(c: TSESTree.Comment, indexInComment: number) => TSESTree.SourceLocation} */ + /** @type {(c: import("@typescript-eslint/utils").TSESTree.Comment, indexInComment: number) => import("@typescript-eslint/utils").TSESTree.SourceLocation} */ const getAtInternalLoc = (c, indexInComment) => { const line = c.loc.start.line; return { @@ -44,7 +43,7 @@ module.exports = createRule({ }; }; - /** @type {(c: TSESTree.Comment) => TSESTree.SourceLocation} */ + /** @type {(c: import("@typescript-eslint/utils").TSESTree.Comment) => import("@typescript-eslint/utils").TSESTree.SourceLocation} */ const getJSDocStartLoc = c => { return { start: c.loc.start, @@ -55,7 +54,7 @@ module.exports = createRule({ }; }; - /** @type {(node: TSESTree.Node) => void} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.Node) => void} */ const checkDeclaration = node => { const blockComments = sourceCode.getCommentsBefore(node).filter(c => c.type === "Block"); if (blockComments.length === 0) { diff --git a/scripts/eslint/rules/no-in-operator.cjs b/scripts/eslint/rules/no-in-operator.cjs index cbd357b86823e..b81d346eaa828 100644 --- a/scripts/eslint/rules/no-in-operator.cjs +++ b/scripts/eslint/rules/no-in-operator.cjs @@ -1,4 +1,3 @@ -const { TSESTree } = require("@typescript-eslint/utils"); const { createRule } = require("./utils.cjs"); module.exports = createRule({ @@ -17,7 +16,7 @@ module.exports = createRule({ create(context) { const IN_OPERATOR = "in"; - /** @type {(node: TSESTree.BinaryExpression) => void} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.BinaryExpression) => void} */ const checkInOperator = node => { if (node.operator === IN_OPERATOR) { context.report({ messageId: "noInOperatorError", node }); diff --git a/scripts/eslint/rules/no-keywords.cjs b/scripts/eslint/rules/no-keywords.cjs index a0032bf5ff102..7aee37ed35dc7 100644 --- a/scripts/eslint/rules/no-keywords.cjs +++ b/scripts/eslint/rules/no-keywords.cjs @@ -1,4 +1,4 @@ -const { TSESTree, AST_NODE_TYPES } = require("@typescript-eslint/utils"); +const { AST_NODE_TYPES } = require("@typescript-eslint/utils"); const { createRule } = require("./utils.cjs"); module.exports = createRule({ @@ -37,12 +37,12 @@ module.exports = createRule({ /** @type {(name: string) => boolean} */ const isKeyword = name => keywords.includes(name); - /** @type {(node: TSESTree.Identifier) => void} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.Identifier) => void} */ const report = node => { context.report({ messageId: "noKeywordsError", data: { name: node.name }, node }); }; - /** @type {(node: TSESTree.ObjectPattern) => void} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.ObjectPattern) => void} */ const checkProperties = node => { node.properties.forEach(property => { if ( @@ -56,7 +56,7 @@ module.exports = createRule({ }); }; - /** @type {(node: TSESTree.ArrayPattern) => void} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.ArrayPattern) => void} */ const checkElements = node => { node.elements.forEach(element => { if ( @@ -69,7 +69,7 @@ module.exports = createRule({ }); }; - /** @type {(node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.TSMethodSignature | TSESTree.TSFunctionType) => void} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.ArrowFunctionExpression | import("@typescript-eslint/utils").TSESTree.FunctionDeclaration | import("@typescript-eslint/utils").TSESTree.FunctionExpression | import("@typescript-eslint/utils").TSESTree.TSMethodSignature | import("@typescript-eslint/utils").TSESTree.TSFunctionType) => void} */ const checkParams = node => { if (!node || !node.params || !node.params.length) { return; diff --git a/scripts/eslint/rules/only-arrow-functions.cjs b/scripts/eslint/rules/only-arrow-functions.cjs index 9abde8775c08d..d887a05467f51 100644 --- a/scripts/eslint/rules/only-arrow-functions.cjs +++ b/scripts/eslint/rules/only-arrow-functions.cjs @@ -1,6 +1,8 @@ -const { AST_NODE_TYPES, TSESTree } = require("@typescript-eslint/utils"); +const { AST_NODE_TYPES } = require("@typescript-eslint/utils"); const { createRule } = require("./utils.cjs"); +/** @typedef {import("@typescript-eslint/utils").TSESTree.FunctionDeclaration | import("@typescript-eslint/utils").TSESTree.FunctionExpression} FunctionDeclarationOrExpression */ + module.exports = createRule({ name: "only-arrow-functions", meta: { @@ -27,10 +29,10 @@ module.exports = createRule({ }], create(context, [{ allowNamedFunctions, allowDeclarations }]) { - /** @type {(node: TSESTree.FunctionDeclaration | TSESTree.FunctionExpression) => boolean} */ + /** @type {(node: FunctionDeclarationOrExpression) => boolean} */ const isThisParameter = node => !!node.params.length && !!node.params.find(param => param.type === AST_NODE_TYPES.Identifier && param.name === "this"); - /** @type {(node: TSESTree.Node) => boolean} */ + /** @type {(node: import("@typescript-eslint/utils").TSESTree.Node) => boolean} */ const isMethodType = node => { const types = [ AST_NODE_TYPES.MethodDefinition, @@ -57,7 +59,7 @@ module.exports = createRule({ } }; - /** @type {(node: TSESTree.FunctionDeclaration | TSESTree.FunctionExpression) => void} */ + /** @type {(node: FunctionDeclarationOrExpression) => void} */ const exitFunction = node => { const methodUsesThis = stack.pop(); diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index 40ec90cd8d82b..42dd5ca6e60bb 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -13,11 +13,8 @@ "strict": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, - "allowUnusedLabels": false, "noImplicitOverride": true, "noImplicitReturns": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "allowJs": true, "checkJs": true }, diff --git a/src/compiler/core.ts b/src/compiler/core.ts index 9738920df7527..1ee2fefe16048 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -1,5 +1,4 @@ import { - __String, CharacterCodes, Comparer, Comparison, @@ -286,7 +285,7 @@ export function filter(array: T[], f: (x: T) => boolean): T[]; /** @internal */ export function filter(array: readonly T[], f: (x: T) => x is U): readonly U[]; /** @internal */ -export function filter(array: readonly T[], f: (x: T) => boolean): readonly T[]; +export function filter(array: readonly T[], f: (x: T) => boolean): readonly T[]; /** @internal */ export function filter(array: T[] | undefined, f: (x: T) => x is U): U[] | undefined; /** @internal */ @@ -294,7 +293,7 @@ export function filter(array: T[] | undefined, f: (x: T) => boolean): T[] | u /** @internal */ export function filter(array: readonly T[] | undefined, f: (x: T) => x is U): readonly U[] | undefined; /** @internal */ -export function filter(array: readonly T[] | undefined, f: (x: T) => boolean): readonly T[] | undefined; +export function filter(array: readonly T[] | undefined, f: (x: T) => boolean): readonly T[] | undefined; /** @internal */ export function filter(array: readonly T[] | undefined, f: (x: T) => boolean): readonly T[] | undefined { if (array) { @@ -830,7 +829,7 @@ export function insertSorted(array: SortedArray, insert: T, compare: Compa } /** @internal */ -export function sortAndDeduplicate(array: readonly string[]): SortedReadonlyArray; +export function sortAndDeduplicate(array: readonly string[]): SortedReadonlyArray; /** @internal */ export function sortAndDeduplicate(array: readonly T[], comparer: Comparer, equalityComparer?: EqualityComparer): SortedReadonlyArray; /** @internal */ diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 7b7f0fcfa8143..6842fb1c8c71c 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -4131,6 +4131,7 @@ export function createPrinter(printerOptions: PrinterOptions = {}, handlers: Pri writeSpace(); nextPos = emitTokenWithComment(SyntaxKind.AsKeyword, nextPos, writeKeyword, node); writeSpace(); + // eslint-disable-next-line @typescript-eslint/no-unused-vars nextPos = emitTokenWithComment(SyntaxKind.NamespaceKeyword, nextPos, writeKeyword, node); writeSpace(); emit(node.name); diff --git a/src/compiler/factory/utilities.ts b/src/compiler/factory/utilities.ts index e952b614251c7..28c88fe2136f3 100644 --- a/src/compiler/factory/utilities.ts +++ b/src/compiler/factory/utilities.ts @@ -1675,7 +1675,7 @@ export function createAccessorPropertyGetRedirector(factory: NodeFactory, node: * * @internal */ -export function createAccessorPropertySetRedirector(factory: NodeFactory, node: PropertyDeclaration, modifiers: readonly Modifier[] | undefined, name: PropertyName, receiver: Expression = factory.createThis()) { +export function createAccessorPropertySetRedirector(factory: NodeFactory, node: PropertyDeclaration, modifiers: readonly Modifier[] | undefined, name: PropertyName, receiver: Expression = factory.createThis()): SetAccessorDeclaration { return factory.createSetAccessorDeclaration( modifiers, name, diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index db767177462e8..eeff8c96c7bbf 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -348,7 +348,7 @@ interface PackageJson extends PackageJsonPathFields { version?: string; } -function readPackageJsonField>(jsonContent: PackageJson, fieldName: K, typeOfTag: "string", state: ModuleResolutionState): PackageJson[K] | undefined; +function readPackageJsonField>(jsonContent: PackageJson, fieldName: K, typeOfTag: "string", state: ModuleResolutionState): PackageJson[K] | undefined; function readPackageJsonField>(jsonContent: PackageJson, fieldName: K, typeOfTag: "object", state: ModuleResolutionState): PackageJson[K] | undefined; function readPackageJsonField(jsonContent: PackageJson, fieldName: K, typeOfTag: "string" | "object", state: ModuleResolutionState): PackageJson[K] | undefined { if (!hasProperty(jsonContent, fieldName)) { diff --git a/src/compiler/watchPublic.ts b/src/compiler/watchPublic.ts index 420b59071266b..0a95aeafdab37 100644 --- a/src/compiler/watchPublic.ts +++ b/src/compiler/watchPublic.ts @@ -258,18 +258,18 @@ export interface ProgramHost { getModuleResolutionCache?(): ModuleResolutionCache | undefined; jsDocParsingMode?: JSDocParsingMode; -} -/** - * Internal interface used to wire emit through same host - * - * @internal - */ -export interface ProgramHost { + + // Internal interface used to wire emit through same host + // TODO: GH#18217 Optional methods are frequently asserted + /** @internal */ createDirectory?(path: string): void; + /** @internal */ writeFile?(path: string, data: string, writeByteOrderMark?: boolean): void; // For testing + /** @internal */ storeFilesChangingSignatureDuringEmit?: boolean; + /** @internal */ now?(): Date; } diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index cf6c72efaca0a..624360c4fc7e0 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -504,7 +504,7 @@ export function convertScriptKindName(scriptKindName: protocol.ScriptKindName) { /** @internal */ export function convertUserPreferences(preferences: protocol.UserPreferences): UserPreferences { - const { lazyConfiguredProjectsFromExternalProject, ...userPreferences } = preferences; + const { lazyConfiguredProjectsFromExternalProject: _, ...userPreferences } = preferences; return userPreferences; } diff --git a/src/services/codefixes/fixAddMissingConstraint.ts b/src/services/codefixes/fixAddMissingConstraint.ts index df99139e709c7..267cabc534e02 100644 --- a/src/services/codefixes/fixAddMissingConstraint.ts +++ b/src/services/codefixes/fixAddMissingConstraint.ts @@ -132,7 +132,7 @@ function addMissingConstraint(changes: textChanges.ChangeTracker, program: Progr } function tryGetConstraintFromDiagnosticMessage(messageText: string | DiagnosticMessageChain) { - const [_, constraint] = flattenDiagnosticMessageText(messageText, "\n", 0).match(/`extends (.*)`/) || []; + const [, constraint] = flattenDiagnosticMessageText(messageText, "\n", 0).match(/`extends (.*)`/) || []; return constraint; } diff --git a/src/services/codefixes/fixNaNEquality.ts b/src/services/codefixes/fixNaNEquality.ts index 53db6b1b8b8d6..bd64d8b82a70a 100644 --- a/src/services/codefixes/fixNaNEquality.ts +++ b/src/services/codefixes/fixNaNEquality.ts @@ -87,6 +87,6 @@ function doChange(changes: textChanges.ChangeTracker, sourceFile: SourceFile, ar } function getSuggestion(messageText: string | DiagnosticMessageChain) { - const [_, suggestion] = flattenDiagnosticMessageText(messageText, "\n", 0).match(/'(.*)'/) || []; + const [, suggestion] = flattenDiagnosticMessageText(messageText, "\n", 0).match(/'(.*)'/) || []; return suggestion; } diff --git a/src/services/refactors/moveToFile.ts b/src/services/refactors/moveToFile.ts index 1c2a7a6e70265..80064ab148951 100644 --- a/src/services/refactors/moveToFile.ts +++ b/src/services/refactors/moveToFile.ts @@ -2,7 +2,6 @@ import { getModuleSpecifier, } from "../../compiler/moduleSpecifiers"; import { - __String, AnyImportOrRequireStatement, append, ApplicableRefactorInfo, diff --git a/src/tsconfig-base.json b/src/tsconfig-base.json index 3b772f7d33f0f..498bd88917da4 100644 --- a/src/tsconfig-base.json +++ b/src/tsconfig-base.json @@ -21,10 +21,6 @@ "useUnknownInCatchVariables": false, "noImplicitOverride": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "allowUnusedLabels": false, - "skipLibCheck": true, "alwaysStrict": true, From 01527cece7094fb90e2451db672cfcd2c24f159c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Mon, 29 Jan 2024 21:58:43 +0100 Subject: [PATCH 04/56] Revert "Always substitute indexed generic mapped type when getting constraint from indexed access" (#57202) --- src/compiler/checker.ts | 2 +- .../mappedTypeConstraints2.errors.txt | 90 +++---- .../reference/mappedTypeConstraints2.js | 51 +++- .../reference/mappedTypeConstraints2.symbols | 220 ++++++++++++------ .../reference/mappedTypeConstraints2.types | 58 ++++- .../types/mapped/mappedTypeConstraints2.ts | 28 ++- 6 files changed, 336 insertions(+), 113 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 66398197916e3..3a137ac66fe41 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -14230,7 +14230,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function getConstraintFromIndexedAccess(type: IndexedAccessType) { - if (isMappedTypeGenericIndexedAccess(type) || isGenericMappedType(type.objectType)) { + if (isMappedTypeGenericIndexedAccess(type)) { // For indexed access types of the form { [P in K]: E }[X], where K is non-generic and X is generic, // we substitute an instantiation of E where P is replaced with X. return substituteIndexedMappedType(type.objectType as MappedType, type.indexType); diff --git a/tests/baselines/reference/mappedTypeConstraints2.errors.txt b/tests/baselines/reference/mappedTypeConstraints2.errors.txt index 1dd9b090f755a..0d3b3244c9e66 100644 --- a/tests/baselines/reference/mappedTypeConstraints2.errors.txt +++ b/tests/baselines/reference/mappedTypeConstraints2.errors.txt @@ -1,28 +1,18 @@ mappedTypeConstraints2.ts(10,11): error TS2322: Type 'Mapped2[`get${K}`]' is not assignable to type '{ a: K; }'. - Type '{ a: `get${K}`; }' is not assignable to type '{ a: K; }'. - Types of property 'a' are incompatible. - Type '`get${K}`' is not assignable to type 'K'. - '`get${K}`' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint 'string'. - Type '`get${string}`' is not assignable to type 'K'. - '`get${string}`' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint 'string'. + Type 'Mapped2[`get${string}`]' is not assignable to type '{ a: K; }'. mappedTypeConstraints2.ts(16,11): error TS2322: Type 'Mapped3[Uppercase]' is not assignable to type '{ a: K; }'. - Type '{ a: Uppercase; }' is not assignable to type '{ a: K; }'. - Types of property 'a' are incompatible. - Type 'Uppercase' is not assignable to type 'K'. - 'Uppercase' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint 'string'. - Type 'Uppercase' is not assignable to type 'K'. - 'Uppercase' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint 'string'. - Type 'string' is not assignable to type 'K'. - 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint 'string'. -mappedTypeConstraints2.ts(25,57): error TS2322: Type 'Foo[`get${T}`]' is not assignable to type 'T'. - 'Foo[`get${T}`]' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'string'. - Type '`get${T}`' is not assignable to type 'T'. - '`get${T}`' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'string'. - Type '`get${string}`' is not assignable to type 'T'. - '`get${string}`' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'string'. + Type 'Mapped3[Uppercase]' is not assignable to type '{ a: K; }'. + Type 'Mapped3[string]' is not assignable to type '{ a: K; }'. +mappedTypeConstraints2.ts(42,7): error TS2322: Type 'Mapped6[keyof Mapped6]' is not assignable to type '`_${string}`'. + Type 'Mapped6[string] | Mapped6[number] | Mapped6[symbol]' is not assignable to type '`_${string}`'. + Type 'Mapped6[string]' is not assignable to type '`_${string}`'. +mappedTypeConstraints2.ts(51,57): error TS2322: Type 'Foo[`get${T}`]' is not assignable to type 'T'. + 'T' could be instantiated with an arbitrary type which could be unrelated to 'Foo[`get${T}`]'. +mappedTypeConstraints2.ts(82,9): error TS2322: Type 'ObjectWithUnderscoredKeys[`_${K}`]' is not assignable to type 'true'. + Type 'ObjectWithUnderscoredKeys[`_${string}`]' is not assignable to type 'true'. -==== mappedTypeConstraints2.ts (3 errors) ==== +==== mappedTypeConstraints2.ts (5 errors) ==== type Mapped1 = { [P in K]: { a: P } }; function f1(obj: Mapped1, key: K) { @@ -35,12 +25,7 @@ mappedTypeConstraints2.ts(25,57): error TS2322: Type 'Foo[`get${T}`]' is not const x: { a: K } = obj[key]; // Error ~ !!! error TS2322: Type 'Mapped2[`get${K}`]' is not assignable to type '{ a: K; }'. -!!! error TS2322: Type '{ a: `get${K}`; }' is not assignable to type '{ a: K; }'. -!!! error TS2322: Types of property 'a' are incompatible. -!!! error TS2322: Type '`get${K}`' is not assignable to type 'K'. -!!! error TS2322: '`get${K}`' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint 'string'. -!!! error TS2322: Type '`get${string}`' is not assignable to type 'K'. -!!! error TS2322: '`get${string}`' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint 'string'. +!!! error TS2322: Type 'Mapped2[`get${string}`]' is not assignable to type '{ a: K; }'. } type Mapped3 = { [P in K as Uppercase

]: { a: P } }; @@ -49,14 +34,38 @@ mappedTypeConstraints2.ts(25,57): error TS2322: Type 'Foo[`get${T}`]' is not const x: { a: K } = obj[key]; // Error ~ !!! error TS2322: Type 'Mapped3[Uppercase]' is not assignable to type '{ a: K; }'. -!!! error TS2322: Type '{ a: Uppercase; }' is not assignable to type '{ a: K; }'. -!!! error TS2322: Types of property 'a' are incompatible. -!!! error TS2322: Type 'Uppercase' is not assignable to type 'K'. -!!! error TS2322: 'Uppercase' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint 'string'. -!!! error TS2322: Type 'Uppercase' is not assignable to type 'K'. -!!! error TS2322: 'Uppercase' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint 'string'. -!!! error TS2322: Type 'string' is not assignable to type 'K'. -!!! error TS2322: 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint 'string'. +!!! error TS2322: Type 'Mapped3[Uppercase]' is not assignable to type '{ a: K; }'. +!!! error TS2322: Type 'Mapped3[string]' is not assignable to type '{ a: K; }'. + } + + type Mapped4 = { + [P in K]: P; + }; + + function f4(obj: Mapped4, key: keyof Mapped4) { + let s: `_${string}` = obj[key]; + } + + type Mapped5 = { + [P in K as P extends `_${string}` ? P : never]: P; + }; + + function f5(obj: Mapped5, key: keyof Mapped5) { + let s: `_${string}` = obj[key]; + } + + // repro from #53066#issuecomment-1913384757 + + type Mapped6 = { + [P in K as `_${P}`]: P; + }; + + function f6(obj: Mapped6, key: keyof Mapped6) { + let s: `_${string}` = obj[key]; // Error + ~ +!!! error TS2322: Type 'Mapped6[keyof Mapped6]' is not assignable to type '`_${string}`'. +!!! error TS2322: Type 'Mapped6[string] | Mapped6[number] | Mapped6[symbol]' is not assignable to type '`_${string}`'. +!!! error TS2322: Type 'Mapped6[string]' is not assignable to type '`_${string}`'. } // Repro from #47794 @@ -68,11 +77,7 @@ mappedTypeConstraints2.ts(25,57): error TS2322: Type 'Foo[`get${T}`]' is not const get = (t: T, foo: Foo): T => foo[`get${t}`]; // Type 'Foo[`get${T}`]' is not assignable to type 'T' ~~~~~~~~~~~~~~ !!! error TS2322: Type 'Foo[`get${T}`]' is not assignable to type 'T'. -!!! error TS2322: 'Foo[`get${T}`]' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'string'. -!!! error TS2322: Type '`get${T}`' is not assignable to type 'T'. -!!! error TS2322: '`get${T}`' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'string'. -!!! error TS2322: Type '`get${string}`' is not assignable to type 'T'. -!!! error TS2322: '`get${string}`' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'string'. +!!! error TS2322: 'T' could be instantiated with an arbitrary type which could be unrelated to 'Foo[`get${T}`]'. // Repro from #48626 @@ -103,6 +108,9 @@ mappedTypeConstraints2.ts(25,57): error TS2322: Type 'Foo[`get${T}`]' is not }; function genericTest(objectWithUnderscoredKeys: ObjectWithUnderscoredKeys, key: K) { - const shouldBeTrue: true = objectWithUnderscoredKeys[`_${key}`]; + const shouldBeTrue: true = objectWithUnderscoredKeys[`_${key}`]; // assignability fails here, but ideally should not + ~~~~~~~~~~~~ +!!! error TS2322: Type 'ObjectWithUnderscoredKeys[`_${K}`]' is not assignable to type 'true'. +!!! error TS2322: Type 'ObjectWithUnderscoredKeys[`_${string}`]' is not assignable to type 'true'. } \ No newline at end of file diff --git a/tests/baselines/reference/mappedTypeConstraints2.js b/tests/baselines/reference/mappedTypeConstraints2.js index 22b309a971524..df4e0eb12d429 100644 --- a/tests/baselines/reference/mappedTypeConstraints2.js +++ b/tests/baselines/reference/mappedTypeConstraints2.js @@ -19,6 +19,32 @@ function f3(obj: Mapped3, key: Uppercase) { const x: { a: K } = obj[key]; // Error } +type Mapped4 = { + [P in K]: P; +}; + +function f4(obj: Mapped4, key: keyof Mapped4) { + let s: `_${string}` = obj[key]; +} + +type Mapped5 = { + [P in K as P extends `_${string}` ? P : never]: P; +}; + +function f5(obj: Mapped5, key: keyof Mapped5) { + let s: `_${string}` = obj[key]; +} + +// repro from #53066#issuecomment-1913384757 + +type Mapped6 = { + [P in K as `_${P}`]: P; +}; + +function f6(obj: Mapped6, key: keyof Mapped6) { + let s: `_${string}` = obj[key]; // Error +} + // Repro from #47794 type Foo = { @@ -56,7 +82,7 @@ type ObjectWithUnderscoredKeys = { }; function genericTest(objectWithUnderscoredKeys: ObjectWithUnderscoredKeys, key: K) { - const shouldBeTrue: true = objectWithUnderscoredKeys[`_${key}`]; + const shouldBeTrue: true = objectWithUnderscoredKeys[`_${key}`]; // assignability fails here, but ideally should not } @@ -71,6 +97,15 @@ function f2(obj, key) { function f3(obj, key) { const x = obj[key]; // Error } +function f4(obj, key) { + let s = obj[key]; +} +function f5(obj, key) { + let s = obj[key]; +} +function f6(obj, key) { + let s = obj[key]; // Error +} const get = (t, foo) => foo[`get${t}`]; // Type 'Foo[`get${T}`]' is not assignable to type 'T' function validate(obj, bounds) { for (const [key, val] of Object.entries(obj)) { @@ -84,7 +119,7 @@ function validate(obj, bounds) { return true; } function genericTest(objectWithUnderscoredKeys, key) { - const shouldBeTrue = objectWithUnderscoredKeys[`_${key}`]; + const shouldBeTrue = objectWithUnderscoredKeys[`_${key}`]; // assignability fails here, but ideally should not } @@ -107,6 +142,18 @@ type Mapped3 = { }; }; declare function f3(obj: Mapped3, key: Uppercase): void; +type Mapped4 = { + [P in K]: P; +}; +declare function f4(obj: Mapped4, key: keyof Mapped4): void; +type Mapped5 = { + [P in K as P extends `_${string}` ? P : never]: P; +}; +declare function f5(obj: Mapped5, key: keyof Mapped5): void; +type Mapped6 = { + [P in K as `_${P}`]: P; +}; +declare function f6(obj: Mapped6, key: keyof Mapped6): void; type Foo = { [RemappedT in T as `get${RemappedT}`]: RemappedT; }; diff --git a/tests/baselines/reference/mappedTypeConstraints2.symbols b/tests/baselines/reference/mappedTypeConstraints2.symbols index d88f178fe7d7e..74a16d5ac1446 100644 --- a/tests/baselines/reference/mappedTypeConstraints2.symbols +++ b/tests/baselines/reference/mappedTypeConstraints2.symbols @@ -80,94 +80,180 @@ function f3(obj: Mapped3, key: Uppercase) { >key : Symbol(key, Decl(mappedTypeConstraints2.ts, 14, 46)) } +type Mapped4 = { +>Mapped4 : Symbol(Mapped4, Decl(mappedTypeConstraints2.ts, 16, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 18, 13)) + + [P in K]: P; +>P : Symbol(P, Decl(mappedTypeConstraints2.ts, 19, 3)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 18, 13)) +>P : Symbol(P, Decl(mappedTypeConstraints2.ts, 19, 3)) + +}; + +function f4(obj: Mapped4, key: keyof Mapped4) { +>f4 : Symbol(f4, Decl(mappedTypeConstraints2.ts, 20, 2)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 22, 12)) +>obj : Symbol(obj, Decl(mappedTypeConstraints2.ts, 22, 36)) +>Mapped4 : Symbol(Mapped4, Decl(mappedTypeConstraints2.ts, 16, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 22, 12)) +>key : Symbol(key, Decl(mappedTypeConstraints2.ts, 22, 52)) +>Mapped4 : Symbol(Mapped4, Decl(mappedTypeConstraints2.ts, 16, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 22, 12)) + + let s: `_${string}` = obj[key]; +>s : Symbol(s, Decl(mappedTypeConstraints2.ts, 23, 5)) +>obj : Symbol(obj, Decl(mappedTypeConstraints2.ts, 22, 36)) +>key : Symbol(key, Decl(mappedTypeConstraints2.ts, 22, 52)) +} + +type Mapped5 = { +>Mapped5 : Symbol(Mapped5, Decl(mappedTypeConstraints2.ts, 24, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 26, 13)) + + [P in K as P extends `_${string}` ? P : never]: P; +>P : Symbol(P, Decl(mappedTypeConstraints2.ts, 27, 3)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 26, 13)) +>P : Symbol(P, Decl(mappedTypeConstraints2.ts, 27, 3)) +>P : Symbol(P, Decl(mappedTypeConstraints2.ts, 27, 3)) +>P : Symbol(P, Decl(mappedTypeConstraints2.ts, 27, 3)) + +}; + +function f5(obj: Mapped5, key: keyof Mapped5) { +>f5 : Symbol(f5, Decl(mappedTypeConstraints2.ts, 28, 2)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 30, 12)) +>obj : Symbol(obj, Decl(mappedTypeConstraints2.ts, 30, 30)) +>Mapped5 : Symbol(Mapped5, Decl(mappedTypeConstraints2.ts, 24, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 30, 12)) +>key : Symbol(key, Decl(mappedTypeConstraints2.ts, 30, 46)) +>Mapped5 : Symbol(Mapped5, Decl(mappedTypeConstraints2.ts, 24, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 30, 12)) + + let s: `_${string}` = obj[key]; +>s : Symbol(s, Decl(mappedTypeConstraints2.ts, 31, 5)) +>obj : Symbol(obj, Decl(mappedTypeConstraints2.ts, 30, 30)) +>key : Symbol(key, Decl(mappedTypeConstraints2.ts, 30, 46)) +} + +// repro from #53066#issuecomment-1913384757 + +type Mapped6 = { +>Mapped6 : Symbol(Mapped6, Decl(mappedTypeConstraints2.ts, 32, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 36, 13)) + + [P in K as `_${P}`]: P; +>P : Symbol(P, Decl(mappedTypeConstraints2.ts, 37, 3)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 36, 13)) +>P : Symbol(P, Decl(mappedTypeConstraints2.ts, 37, 3)) +>P : Symbol(P, Decl(mappedTypeConstraints2.ts, 37, 3)) + +}; + +function f6(obj: Mapped6, key: keyof Mapped6) { +>f6 : Symbol(f6, Decl(mappedTypeConstraints2.ts, 38, 2)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 40, 12)) +>obj : Symbol(obj, Decl(mappedTypeConstraints2.ts, 40, 30)) +>Mapped6 : Symbol(Mapped6, Decl(mappedTypeConstraints2.ts, 32, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 40, 12)) +>key : Symbol(key, Decl(mappedTypeConstraints2.ts, 40, 46)) +>Mapped6 : Symbol(Mapped6, Decl(mappedTypeConstraints2.ts, 32, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 40, 12)) + + let s: `_${string}` = obj[key]; // Error +>s : Symbol(s, Decl(mappedTypeConstraints2.ts, 41, 5)) +>obj : Symbol(obj, Decl(mappedTypeConstraints2.ts, 40, 30)) +>key : Symbol(key, Decl(mappedTypeConstraints2.ts, 40, 46)) +} + // Repro from #47794 type Foo = { ->Foo : Symbol(Foo, Decl(mappedTypeConstraints2.ts, 16, 1)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 20, 9)) +>Foo : Symbol(Foo, Decl(mappedTypeConstraints2.ts, 42, 1)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 46, 9)) [RemappedT in T as `get${RemappedT}`]: RemappedT; ->RemappedT : Symbol(RemappedT, Decl(mappedTypeConstraints2.ts, 21, 5)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 20, 9)) ->RemappedT : Symbol(RemappedT, Decl(mappedTypeConstraints2.ts, 21, 5)) ->RemappedT : Symbol(RemappedT, Decl(mappedTypeConstraints2.ts, 21, 5)) +>RemappedT : Symbol(RemappedT, Decl(mappedTypeConstraints2.ts, 47, 5)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 46, 9)) +>RemappedT : Symbol(RemappedT, Decl(mappedTypeConstraints2.ts, 47, 5)) +>RemappedT : Symbol(RemappedT, Decl(mappedTypeConstraints2.ts, 47, 5)) }; const get = (t: T, foo: Foo): T => foo[`get${t}`]; // Type 'Foo[`get${T}`]' is not assignable to type 'T' ->get : Symbol(get, Decl(mappedTypeConstraints2.ts, 24, 5)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 24, 13)) ->t : Symbol(t, Decl(mappedTypeConstraints2.ts, 24, 31)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 24, 13)) ->foo : Symbol(foo, Decl(mappedTypeConstraints2.ts, 24, 36)) ->Foo : Symbol(Foo, Decl(mappedTypeConstraints2.ts, 16, 1)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 24, 13)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 24, 13)) ->foo : Symbol(foo, Decl(mappedTypeConstraints2.ts, 24, 36)) ->t : Symbol(t, Decl(mappedTypeConstraints2.ts, 24, 31)) +>get : Symbol(get, Decl(mappedTypeConstraints2.ts, 50, 5)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 50, 13)) +>t : Symbol(t, Decl(mappedTypeConstraints2.ts, 50, 31)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 50, 13)) +>foo : Symbol(foo, Decl(mappedTypeConstraints2.ts, 50, 36)) +>Foo : Symbol(Foo, Decl(mappedTypeConstraints2.ts, 42, 1)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 50, 13)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 50, 13)) +>foo : Symbol(foo, Decl(mappedTypeConstraints2.ts, 50, 36)) +>t : Symbol(t, Decl(mappedTypeConstraints2.ts, 50, 31)) // Repro from #48626 interface Bounds { ->Bounds : Symbol(Bounds, Decl(mappedTypeConstraints2.ts, 24, 71)) +>Bounds : Symbol(Bounds, Decl(mappedTypeConstraints2.ts, 50, 71)) min: number; ->min : Symbol(Bounds.min, Decl(mappedTypeConstraints2.ts, 28, 18)) +>min : Symbol(Bounds.min, Decl(mappedTypeConstraints2.ts, 54, 18)) max: number; ->max : Symbol(Bounds.max, Decl(mappedTypeConstraints2.ts, 29, 16)) +>max : Symbol(Bounds.max, Decl(mappedTypeConstraints2.ts, 55, 16)) } type NumericBoundsOf = { ->NumericBoundsOf : Symbol(NumericBoundsOf, Decl(mappedTypeConstraints2.ts, 31, 1)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 33, 21)) +>NumericBoundsOf : Symbol(NumericBoundsOf, Decl(mappedTypeConstraints2.ts, 57, 1)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 59, 21)) [K in keyof T as T[K] extends number | undefined ? K : never]: Bounds; ->K : Symbol(K, Decl(mappedTypeConstraints2.ts, 34, 5)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 33, 21)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 33, 21)) ->K : Symbol(K, Decl(mappedTypeConstraints2.ts, 34, 5)) ->K : Symbol(K, Decl(mappedTypeConstraints2.ts, 34, 5)) ->Bounds : Symbol(Bounds, Decl(mappedTypeConstraints2.ts, 24, 71)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 60, 5)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 59, 21)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 59, 21)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 60, 5)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 60, 5)) +>Bounds : Symbol(Bounds, Decl(mappedTypeConstraints2.ts, 50, 71)) } function validate(obj: T, bounds: NumericBoundsOf) { ->validate : Symbol(validate, Decl(mappedTypeConstraints2.ts, 35, 1)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 37, 18)) ->obj : Symbol(obj, Decl(mappedTypeConstraints2.ts, 37, 36)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 37, 18)) ->bounds : Symbol(bounds, Decl(mappedTypeConstraints2.ts, 37, 43)) ->NumericBoundsOf : Symbol(NumericBoundsOf, Decl(mappedTypeConstraints2.ts, 31, 1)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 37, 18)) +>validate : Symbol(validate, Decl(mappedTypeConstraints2.ts, 61, 1)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 63, 18)) +>obj : Symbol(obj, Decl(mappedTypeConstraints2.ts, 63, 36)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 63, 18)) +>bounds : Symbol(bounds, Decl(mappedTypeConstraints2.ts, 63, 43)) +>NumericBoundsOf : Symbol(NumericBoundsOf, Decl(mappedTypeConstraints2.ts, 57, 1)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 63, 18)) for (const [key, val] of Object.entries(obj)) { ->key : Symbol(key, Decl(mappedTypeConstraints2.ts, 38, 16)) ->val : Symbol(val, Decl(mappedTypeConstraints2.ts, 38, 20)) +>key : Symbol(key, Decl(mappedTypeConstraints2.ts, 64, 16)) +>val : Symbol(val, Decl(mappedTypeConstraints2.ts, 64, 20)) >Object.entries : Symbol(ObjectConstructor.entries, Decl(lib.es2017.object.d.ts, --, --), Decl(lib.es2017.object.d.ts, --, --)) >Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) >entries : Symbol(ObjectConstructor.entries, Decl(lib.es2017.object.d.ts, --, --), Decl(lib.es2017.object.d.ts, --, --)) ->obj : Symbol(obj, Decl(mappedTypeConstraints2.ts, 37, 36)) +>obj : Symbol(obj, Decl(mappedTypeConstraints2.ts, 63, 36)) const boundsForKey = bounds[key as keyof NumericBoundsOf]; ->boundsForKey : Symbol(boundsForKey, Decl(mappedTypeConstraints2.ts, 39, 13)) ->bounds : Symbol(bounds, Decl(mappedTypeConstraints2.ts, 37, 43)) ->key : Symbol(key, Decl(mappedTypeConstraints2.ts, 38, 16)) ->NumericBoundsOf : Symbol(NumericBoundsOf, Decl(mappedTypeConstraints2.ts, 31, 1)) ->T : Symbol(T, Decl(mappedTypeConstraints2.ts, 37, 18)) +>boundsForKey : Symbol(boundsForKey, Decl(mappedTypeConstraints2.ts, 65, 13)) +>bounds : Symbol(bounds, Decl(mappedTypeConstraints2.ts, 63, 43)) +>key : Symbol(key, Decl(mappedTypeConstraints2.ts, 64, 16)) +>NumericBoundsOf : Symbol(NumericBoundsOf, Decl(mappedTypeConstraints2.ts, 57, 1)) +>T : Symbol(T, Decl(mappedTypeConstraints2.ts, 63, 18)) if (boundsForKey) { ->boundsForKey : Symbol(boundsForKey, Decl(mappedTypeConstraints2.ts, 39, 13)) +>boundsForKey : Symbol(boundsForKey, Decl(mappedTypeConstraints2.ts, 65, 13)) const { min, max } = boundsForKey; ->min : Symbol(min, Decl(mappedTypeConstraints2.ts, 41, 19)) ->max : Symbol(max, Decl(mappedTypeConstraints2.ts, 41, 24)) ->boundsForKey : Symbol(boundsForKey, Decl(mappedTypeConstraints2.ts, 39, 13)) +>min : Symbol(min, Decl(mappedTypeConstraints2.ts, 67, 19)) +>max : Symbol(max, Decl(mappedTypeConstraints2.ts, 67, 24)) +>boundsForKey : Symbol(boundsForKey, Decl(mappedTypeConstraints2.ts, 65, 13)) if (min > val || max < val) return false; ->min : Symbol(min, Decl(mappedTypeConstraints2.ts, 41, 19)) ->val : Symbol(val, Decl(mappedTypeConstraints2.ts, 38, 20)) ->max : Symbol(max, Decl(mappedTypeConstraints2.ts, 41, 24)) ->val : Symbol(val, Decl(mappedTypeConstraints2.ts, 38, 20)) +>min : Symbol(min, Decl(mappedTypeConstraints2.ts, 67, 19)) +>val : Symbol(val, Decl(mappedTypeConstraints2.ts, 64, 20)) +>max : Symbol(max, Decl(mappedTypeConstraints2.ts, 67, 24)) +>val : Symbol(val, Decl(mappedTypeConstraints2.ts, 64, 20)) } } return true; @@ -176,28 +262,28 @@ function validate(obj: T, bounds: NumericBoundsOf) { // repro from #50030 type ObjectWithUnderscoredKeys = { ->ObjectWithUnderscoredKeys : Symbol(ObjectWithUnderscoredKeys, Decl(mappedTypeConstraints2.ts, 46, 1)) ->K : Symbol(K, Decl(mappedTypeConstraints2.ts, 50, 31)) +>ObjectWithUnderscoredKeys : Symbol(ObjectWithUnderscoredKeys, Decl(mappedTypeConstraints2.ts, 72, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 76, 31)) [k in K as `_${k}`]: true; ->k : Symbol(k, Decl(mappedTypeConstraints2.ts, 51, 5)) ->K : Symbol(K, Decl(mappedTypeConstraints2.ts, 50, 31)) ->k : Symbol(k, Decl(mappedTypeConstraints2.ts, 51, 5)) +>k : Symbol(k, Decl(mappedTypeConstraints2.ts, 77, 5)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 76, 31)) +>k : Symbol(k, Decl(mappedTypeConstraints2.ts, 77, 5)) }; function genericTest(objectWithUnderscoredKeys: ObjectWithUnderscoredKeys, key: K) { ->genericTest : Symbol(genericTest, Decl(mappedTypeConstraints2.ts, 52, 2)) ->K : Symbol(K, Decl(mappedTypeConstraints2.ts, 54, 21)) ->objectWithUnderscoredKeys : Symbol(objectWithUnderscoredKeys, Decl(mappedTypeConstraints2.ts, 54, 39)) ->ObjectWithUnderscoredKeys : Symbol(ObjectWithUnderscoredKeys, Decl(mappedTypeConstraints2.ts, 46, 1)) ->K : Symbol(K, Decl(mappedTypeConstraints2.ts, 54, 21)) ->key : Symbol(key, Decl(mappedTypeConstraints2.ts, 54, 95)) ->K : Symbol(K, Decl(mappedTypeConstraints2.ts, 54, 21)) - - const shouldBeTrue: true = objectWithUnderscoredKeys[`_${key}`]; ->shouldBeTrue : Symbol(shouldBeTrue, Decl(mappedTypeConstraints2.ts, 55, 7)) ->objectWithUnderscoredKeys : Symbol(objectWithUnderscoredKeys, Decl(mappedTypeConstraints2.ts, 54, 39)) ->key : Symbol(key, Decl(mappedTypeConstraints2.ts, 54, 95)) +>genericTest : Symbol(genericTest, Decl(mappedTypeConstraints2.ts, 78, 2)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 80, 21)) +>objectWithUnderscoredKeys : Symbol(objectWithUnderscoredKeys, Decl(mappedTypeConstraints2.ts, 80, 39)) +>ObjectWithUnderscoredKeys : Symbol(ObjectWithUnderscoredKeys, Decl(mappedTypeConstraints2.ts, 72, 1)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 80, 21)) +>key : Symbol(key, Decl(mappedTypeConstraints2.ts, 80, 95)) +>K : Symbol(K, Decl(mappedTypeConstraints2.ts, 80, 21)) + + const shouldBeTrue: true = objectWithUnderscoredKeys[`_${key}`]; // assignability fails here, but ideally should not +>shouldBeTrue : Symbol(shouldBeTrue, Decl(mappedTypeConstraints2.ts, 81, 7)) +>objectWithUnderscoredKeys : Symbol(objectWithUnderscoredKeys, Decl(mappedTypeConstraints2.ts, 80, 39)) +>key : Symbol(key, Decl(mappedTypeConstraints2.ts, 80, 95)) } diff --git a/tests/baselines/reference/mappedTypeConstraints2.types b/tests/baselines/reference/mappedTypeConstraints2.types index c0f19fe9cc475..9956b8f7738f6 100644 --- a/tests/baselines/reference/mappedTypeConstraints2.types +++ b/tests/baselines/reference/mappedTypeConstraints2.types @@ -52,6 +52,62 @@ function f3(obj: Mapped3, key: Uppercase) { >key : Uppercase } +type Mapped4 = { +>Mapped4 : Mapped4 + + [P in K]: P; +}; + +function f4(obj: Mapped4, key: keyof Mapped4) { +>f4 : (obj: Mapped4, key: keyof Mapped4) => void +>obj : Mapped4 +>key : K + + let s: `_${string}` = obj[key]; +>s : `_${string}` +>obj[key] : Mapped4[K] +>obj : Mapped4 +>key : K +} + +type Mapped5 = { +>Mapped5 : Mapped5 + + [P in K as P extends `_${string}` ? P : never]: P; +}; + +function f5(obj: Mapped5, key: keyof Mapped5) { +>f5 : (obj: Mapped5, key: keyof Mapped5) => void +>obj : Mapped5 +>key : K extends `_${string}` ? K : never + + let s: `_${string}` = obj[key]; +>s : `_${string}` +>obj[key] : Mapped5[K extends `_${string}` ? K : never] +>obj : Mapped5 +>key : K extends `_${string}` ? K : never +} + +// repro from #53066#issuecomment-1913384757 + +type Mapped6 = { +>Mapped6 : Mapped6 + + [P in K as `_${P}`]: P; +}; + +function f6(obj: Mapped6, key: keyof Mapped6) { +>f6 : (obj: Mapped6, key: keyof Mapped6) => void +>obj : Mapped6 +>key : keyof Mapped6 + + let s: `_${string}` = obj[key]; // Error +>s : `_${string}` +>obj[key] : Mapped6[keyof Mapped6] +>obj : Mapped6 +>key : keyof Mapped6 +} + // Repro from #47794 type Foo = { @@ -145,7 +201,7 @@ function genericTest(objectWithUnderscoredKeys: ObjectWithUnde >objectWithUnderscoredKeys : ObjectWithUnderscoredKeys >key : K - const shouldBeTrue: true = objectWithUnderscoredKeys[`_${key}`]; + const shouldBeTrue: true = objectWithUnderscoredKeys[`_${key}`]; // assignability fails here, but ideally should not >shouldBeTrue : true >true : true >objectWithUnderscoredKeys[`_${key}`] : ObjectWithUnderscoredKeys[`_${K}`] diff --git a/tests/cases/conformance/types/mapped/mappedTypeConstraints2.ts b/tests/cases/conformance/types/mapped/mappedTypeConstraints2.ts index b96957b7cbd83..250be640f631e 100644 --- a/tests/cases/conformance/types/mapped/mappedTypeConstraints2.ts +++ b/tests/cases/conformance/types/mapped/mappedTypeConstraints2.ts @@ -20,6 +20,32 @@ function f3(obj: Mapped3, key: Uppercase) { const x: { a: K } = obj[key]; // Error } +type Mapped4 = { + [P in K]: P; +}; + +function f4(obj: Mapped4, key: keyof Mapped4) { + let s: `_${string}` = obj[key]; +} + +type Mapped5 = { + [P in K as P extends `_${string}` ? P : never]: P; +}; + +function f5(obj: Mapped5, key: keyof Mapped5) { + let s: `_${string}` = obj[key]; +} + +// repro from #53066#issuecomment-1913384757 + +type Mapped6 = { + [P in K as `_${P}`]: P; +}; + +function f6(obj: Mapped6, key: keyof Mapped6) { + let s: `_${string}` = obj[key]; // Error +} + // Repro from #47794 type Foo = { @@ -57,5 +83,5 @@ type ObjectWithUnderscoredKeys = { }; function genericTest(objectWithUnderscoredKeys: ObjectWithUnderscoredKeys, key: K) { - const shouldBeTrue: true = objectWithUnderscoredKeys[`_${key}`]; + const shouldBeTrue: true = objectWithUnderscoredKeys[`_${key}`]; // assignability fails here, but ideally should not } From 3251a124175961679a59a77d0c9550905795d21d Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:10:49 -0800 Subject: [PATCH 05/56] Update to esbuild 0.20 (#57216) --- package-lock.json | 386 +++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 194 insertions(+), 194 deletions(-) diff --git a/package-lock.json b/package-lock.json index e09fc9b134b81..da87719138d19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "chokidar": "^3.5.3", "diff": "^5.1.0", "dprint": "^0.45.0", - "esbuild": "^0.19.11", + "esbuild": "^0.20.0", "eslint": "^8.56.0", "eslint-formatter-autolinkable-stylish": "^1.3.0", "eslint-plugin-local": "^3.1.0", @@ -166,9 +166,9 @@ ] }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz", - "integrity": "sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.0.tgz", + "integrity": "sha512-fGFDEctNh0CcSwsiRPxiaqX0P5rq+AqE0SRhYGZ4PX46Lg1FNR6oCxJghf8YgY0WQEgQuh3lErUFE4KxLeRmmw==", "cpu": [ "ppc64" ], @@ -182,9 +182,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.12.tgz", - "integrity": "sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.0.tgz", + "integrity": "sha512-3bMAfInvByLHfJwYPJRlpTeaQA75n8C/QKpEaiS4HrFWFiJlNI0vzq/zCjBrhAYcPyVPG7Eo9dMrcQXuqmNk5g==", "cpu": [ "arm" ], @@ -198,9 +198,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz", - "integrity": "sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.0.tgz", + "integrity": "sha512-aVpnM4lURNkp0D3qPoAzSG92VXStYmoVPOgXveAUoQBWRSuQzt51yvSju29J6AHPmwY1BjH49uR29oyfH1ra8Q==", "cpu": [ "arm64" ], @@ -214,9 +214,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.12.tgz", - "integrity": "sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.0.tgz", + "integrity": "sha512-uK7wAnlRvjkCPzh8jJ+QejFyrP8ObKuR5cBIsQZ+qbMunwR8sbd8krmMbxTLSrDhiPZaJYKQAU5Y3iMDcZPhyQ==", "cpu": [ "x64" ], @@ -230,9 +230,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz", - "integrity": "sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.0.tgz", + "integrity": "sha512-AjEcivGAlPs3UAcJedMa9qYg9eSfU6FnGHJjT8s346HSKkrcWlYezGE8VaO2xKfvvlZkgAhyvl06OJOxiMgOYQ==", "cpu": [ "arm64" ], @@ -246,9 +246,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz", - "integrity": "sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.0.tgz", + "integrity": "sha512-bsgTPoyYDnPv8ER0HqnJggXK6RyFy4PH4rtsId0V7Efa90u2+EifxytE9pZnsDgExgkARy24WUQGv9irVbTvIw==", "cpu": [ "x64" ], @@ -262,9 +262,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz", - "integrity": "sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.0.tgz", + "integrity": "sha512-kQ7jYdlKS335mpGbMW5tEe3IrQFIok9r84EM3PXB8qBFJPSc6dpWfrtsC/y1pyrz82xfUIn5ZrnSHQQsd6jebQ==", "cpu": [ "arm64" ], @@ -278,9 +278,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz", - "integrity": "sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.0.tgz", + "integrity": "sha512-uG8B0WSepMRsBNVXAQcHf9+Ko/Tr+XqmK7Ptel9HVmnykupXdS4J7ovSQUIi0tQGIndhbqWLaIL/qO/cWhXKyQ==", "cpu": [ "x64" ], @@ -294,9 +294,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz", - "integrity": "sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.0.tgz", + "integrity": "sha512-2ezuhdiZw8vuHf1HKSf4TIk80naTbP9At7sOqZmdVwvvMyuoDiZB49YZKLsLOfKIr77+I40dWpHVeY5JHpIEIg==", "cpu": [ "arm" ], @@ -310,9 +310,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz", - "integrity": "sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.0.tgz", + "integrity": "sha512-uTtyYAP5veqi2z9b6Gr0NUoNv9F/rOzI8tOD5jKcCvRUn7T60Bb+42NDBCWNhMjkQzI0qqwXkQGo1SY41G52nw==", "cpu": [ "arm64" ], @@ -326,9 +326,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz", - "integrity": "sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.0.tgz", + "integrity": "sha512-c88wwtfs8tTffPaoJ+SQn3y+lKtgTzyjkD8NgsyCtCmtoIC8RDL7PrJU05an/e9VuAke6eJqGkoMhJK1RY6z4w==", "cpu": [ "ia32" ], @@ -342,9 +342,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz", - "integrity": "sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.0.tgz", + "integrity": "sha512-lR2rr/128/6svngnVta6JN4gxSXle/yZEZL3o4XZ6esOqhyR4wsKyfu6qXAL04S4S5CgGfG+GYZnjFd4YiG3Aw==", "cpu": [ "loong64" ], @@ -358,9 +358,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz", - "integrity": "sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.0.tgz", + "integrity": "sha512-9Sycc+1uUsDnJCelDf6ZNqgZQoK1mJvFtqf2MUz4ujTxGhvCWw+4chYfDLPepMEvVL9PDwn6HrXad5yOrNzIsQ==", "cpu": [ "mips64el" ], @@ -374,9 +374,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz", - "integrity": "sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.0.tgz", + "integrity": "sha512-CoWSaaAXOZd+CjbUTdXIJE/t7Oz+4g90A3VBCHLbfuc5yUQU/nFDLOzQsN0cdxgXd97lYW/psIIBdjzQIwTBGw==", "cpu": [ "ppc64" ], @@ -390,9 +390,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz", - "integrity": "sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.0.tgz", + "integrity": "sha512-mlb1hg/eYRJUpv8h/x+4ShgoNLL8wgZ64SUr26KwglTYnwAWjkhR2GpoKftDbPOCnodA9t4Y/b68H4J9XmmPzA==", "cpu": [ "riscv64" ], @@ -406,9 +406,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz", - "integrity": "sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.0.tgz", + "integrity": "sha512-fgf9ubb53xSnOBqyvWEY6ukBNRl1mVX1srPNu06B6mNsNK20JfH6xV6jECzrQ69/VMiTLvHMicQR/PgTOgqJUQ==", "cpu": [ "s390x" ], @@ -422,9 +422,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz", - "integrity": "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.0.tgz", + "integrity": "sha512-H9Eu6MGse++204XZcYsse1yFHmRXEWgadk2N58O/xd50P9EvFMLJTQLg+lB4E1cF2xhLZU5luSWtGTb0l9UeSg==", "cpu": [ "x64" ], @@ -438,9 +438,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz", - "integrity": "sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.0.tgz", + "integrity": "sha512-lCT675rTN1v8Fo+RGrE5KjSnfY0x9Og4RN7t7lVrN3vMSjy34/+3na0q7RIfWDAj0e0rCh0OL+P88lu3Rt21MQ==", "cpu": [ "x64" ], @@ -454,9 +454,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz", - "integrity": "sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.0.tgz", + "integrity": "sha512-HKoUGXz/TOVXKQ+67NhxyHv+aDSZf44QpWLa3I1lLvAwGq8x1k0T+e2HHSRvxWhfJrFxaaqre1+YyzQ99KixoA==", "cpu": [ "x64" ], @@ -470,9 +470,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz", - "integrity": "sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.0.tgz", + "integrity": "sha512-GDwAqgHQm1mVoPppGsoq4WJwT3vhnz/2N62CzhvApFD1eJyTroob30FPpOZabN+FgCjhG+AgcZyOPIkR8dfD7g==", "cpu": [ "x64" ], @@ -486,9 +486,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz", - "integrity": "sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.0.tgz", + "integrity": "sha512-0vYsP8aC4TvMlOQYozoksiaxjlvUcQrac+muDqj1Fxy6jh9l9CZJzj7zmh8JGfiV49cYLTorFLxg7593pGldwQ==", "cpu": [ "arm64" ], @@ -502,9 +502,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz", - "integrity": "sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.0.tgz", + "integrity": "sha512-p98u4rIgfh4gdpV00IqknBD5pC84LCub+4a3MO+zjqvU5MVXOc3hqR2UgT2jI2nh3h8s9EQxmOsVI3tyzv1iFg==", "cpu": [ "ia32" ], @@ -518,9 +518,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz", - "integrity": "sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.0.tgz", + "integrity": "sha512-NgJnesu1RtWihtTtXGFMU5YSE6JyyHPMxCwBZK7a6/8d31GuSo9l0Ss7w1Jw5QnKUawG6UEehs883kcXf5fYwg==", "cpu": [ "x64" ], @@ -1919,9 +1919,9 @@ "dev": true }, "node_modules/esbuild": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.12.tgz", - "integrity": "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.0.tgz", + "integrity": "sha512-6iwE3Y2RVYCME1jLpBqq7LQWK3MW6vjV2bZy6gt/WrqkY+WE74Spyc0ThAOYpMtITvnjX09CrC6ym7A/m9mebA==", "dev": true, "hasInstallScript": true, "bin": { @@ -1931,29 +1931,29 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.19.12", - "@esbuild/android-arm": "0.19.12", - "@esbuild/android-arm64": "0.19.12", - "@esbuild/android-x64": "0.19.12", - "@esbuild/darwin-arm64": "0.19.12", - "@esbuild/darwin-x64": "0.19.12", - "@esbuild/freebsd-arm64": "0.19.12", - "@esbuild/freebsd-x64": "0.19.12", - "@esbuild/linux-arm": "0.19.12", - "@esbuild/linux-arm64": "0.19.12", - "@esbuild/linux-ia32": "0.19.12", - "@esbuild/linux-loong64": "0.19.12", - "@esbuild/linux-mips64el": "0.19.12", - "@esbuild/linux-ppc64": "0.19.12", - "@esbuild/linux-riscv64": "0.19.12", - "@esbuild/linux-s390x": "0.19.12", - "@esbuild/linux-x64": "0.19.12", - "@esbuild/netbsd-x64": "0.19.12", - "@esbuild/openbsd-x64": "0.19.12", - "@esbuild/sunos-x64": "0.19.12", - "@esbuild/win32-arm64": "0.19.12", - "@esbuild/win32-ia32": "0.19.12", - "@esbuild/win32-x64": "0.19.12" + "@esbuild/aix-ppc64": "0.20.0", + "@esbuild/android-arm": "0.20.0", + "@esbuild/android-arm64": "0.20.0", + "@esbuild/android-x64": "0.20.0", + "@esbuild/darwin-arm64": "0.20.0", + "@esbuild/darwin-x64": "0.20.0", + "@esbuild/freebsd-arm64": "0.20.0", + "@esbuild/freebsd-x64": "0.20.0", + "@esbuild/linux-arm": "0.20.0", + "@esbuild/linux-arm64": "0.20.0", + "@esbuild/linux-ia32": "0.20.0", + "@esbuild/linux-loong64": "0.20.0", + "@esbuild/linux-mips64el": "0.20.0", + "@esbuild/linux-ppc64": "0.20.0", + "@esbuild/linux-riscv64": "0.20.0", + "@esbuild/linux-s390x": "0.20.0", + "@esbuild/linux-x64": "0.20.0", + "@esbuild/netbsd-x64": "0.20.0", + "@esbuild/openbsd-x64": "0.20.0", + "@esbuild/sunos-x64": "0.20.0", + "@esbuild/win32-arm64": "0.20.0", + "@esbuild/win32-ia32": "0.20.0", + "@esbuild/win32-x64": "0.20.0" } }, "node_modules/escalade": { @@ -4521,163 +4521,163 @@ "optional": true }, "@esbuild/aix-ppc64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz", - "integrity": "sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.0.tgz", + "integrity": "sha512-fGFDEctNh0CcSwsiRPxiaqX0P5rq+AqE0SRhYGZ4PX46Lg1FNR6oCxJghf8YgY0WQEgQuh3lErUFE4KxLeRmmw==", "dev": true, "optional": true }, "@esbuild/android-arm": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.12.tgz", - "integrity": "sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.0.tgz", + "integrity": "sha512-3bMAfInvByLHfJwYPJRlpTeaQA75n8C/QKpEaiS4HrFWFiJlNI0vzq/zCjBrhAYcPyVPG7Eo9dMrcQXuqmNk5g==", "dev": true, "optional": true }, "@esbuild/android-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz", - "integrity": "sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.0.tgz", + "integrity": "sha512-aVpnM4lURNkp0D3qPoAzSG92VXStYmoVPOgXveAUoQBWRSuQzt51yvSju29J6AHPmwY1BjH49uR29oyfH1ra8Q==", "dev": true, "optional": true }, "@esbuild/android-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.12.tgz", - "integrity": "sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.0.tgz", + "integrity": "sha512-uK7wAnlRvjkCPzh8jJ+QejFyrP8ObKuR5cBIsQZ+qbMunwR8sbd8krmMbxTLSrDhiPZaJYKQAU5Y3iMDcZPhyQ==", "dev": true, "optional": true }, "@esbuild/darwin-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz", - "integrity": "sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.0.tgz", + "integrity": "sha512-AjEcivGAlPs3UAcJedMa9qYg9eSfU6FnGHJjT8s346HSKkrcWlYezGE8VaO2xKfvvlZkgAhyvl06OJOxiMgOYQ==", "dev": true, "optional": true }, "@esbuild/darwin-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz", - "integrity": "sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.0.tgz", + "integrity": "sha512-bsgTPoyYDnPv8ER0HqnJggXK6RyFy4PH4rtsId0V7Efa90u2+EifxytE9pZnsDgExgkARy24WUQGv9irVbTvIw==", "dev": true, "optional": true }, "@esbuild/freebsd-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz", - "integrity": "sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.0.tgz", + "integrity": "sha512-kQ7jYdlKS335mpGbMW5tEe3IrQFIok9r84EM3PXB8qBFJPSc6dpWfrtsC/y1pyrz82xfUIn5ZrnSHQQsd6jebQ==", "dev": true, "optional": true }, "@esbuild/freebsd-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz", - "integrity": "sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.0.tgz", + "integrity": "sha512-uG8B0WSepMRsBNVXAQcHf9+Ko/Tr+XqmK7Ptel9HVmnykupXdS4J7ovSQUIi0tQGIndhbqWLaIL/qO/cWhXKyQ==", "dev": true, "optional": true }, "@esbuild/linux-arm": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz", - "integrity": "sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.0.tgz", + "integrity": "sha512-2ezuhdiZw8vuHf1HKSf4TIk80naTbP9At7sOqZmdVwvvMyuoDiZB49YZKLsLOfKIr77+I40dWpHVeY5JHpIEIg==", "dev": true, "optional": true }, "@esbuild/linux-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz", - "integrity": "sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.0.tgz", + "integrity": "sha512-uTtyYAP5veqi2z9b6Gr0NUoNv9F/rOzI8tOD5jKcCvRUn7T60Bb+42NDBCWNhMjkQzI0qqwXkQGo1SY41G52nw==", "dev": true, "optional": true }, "@esbuild/linux-ia32": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz", - "integrity": "sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.0.tgz", + "integrity": "sha512-c88wwtfs8tTffPaoJ+SQn3y+lKtgTzyjkD8NgsyCtCmtoIC8RDL7PrJU05an/e9VuAke6eJqGkoMhJK1RY6z4w==", "dev": true, "optional": true }, "@esbuild/linux-loong64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz", - "integrity": "sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.0.tgz", + "integrity": "sha512-lR2rr/128/6svngnVta6JN4gxSXle/yZEZL3o4XZ6esOqhyR4wsKyfu6qXAL04S4S5CgGfG+GYZnjFd4YiG3Aw==", "dev": true, "optional": true }, "@esbuild/linux-mips64el": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz", - "integrity": "sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.0.tgz", + "integrity": "sha512-9Sycc+1uUsDnJCelDf6ZNqgZQoK1mJvFtqf2MUz4ujTxGhvCWw+4chYfDLPepMEvVL9PDwn6HrXad5yOrNzIsQ==", "dev": true, "optional": true }, "@esbuild/linux-ppc64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz", - "integrity": "sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.0.tgz", + "integrity": "sha512-CoWSaaAXOZd+CjbUTdXIJE/t7Oz+4g90A3VBCHLbfuc5yUQU/nFDLOzQsN0cdxgXd97lYW/psIIBdjzQIwTBGw==", "dev": true, "optional": true }, "@esbuild/linux-riscv64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz", - "integrity": "sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.0.tgz", + "integrity": "sha512-mlb1hg/eYRJUpv8h/x+4ShgoNLL8wgZ64SUr26KwglTYnwAWjkhR2GpoKftDbPOCnodA9t4Y/b68H4J9XmmPzA==", "dev": true, "optional": true }, "@esbuild/linux-s390x": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz", - "integrity": "sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.0.tgz", + "integrity": "sha512-fgf9ubb53xSnOBqyvWEY6ukBNRl1mVX1srPNu06B6mNsNK20JfH6xV6jECzrQ69/VMiTLvHMicQR/PgTOgqJUQ==", "dev": true, "optional": true }, "@esbuild/linux-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz", - "integrity": "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.0.tgz", + "integrity": "sha512-H9Eu6MGse++204XZcYsse1yFHmRXEWgadk2N58O/xd50P9EvFMLJTQLg+lB4E1cF2xhLZU5luSWtGTb0l9UeSg==", "dev": true, "optional": true }, "@esbuild/netbsd-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz", - "integrity": "sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.0.tgz", + "integrity": "sha512-lCT675rTN1v8Fo+RGrE5KjSnfY0x9Og4RN7t7lVrN3vMSjy34/+3na0q7RIfWDAj0e0rCh0OL+P88lu3Rt21MQ==", "dev": true, "optional": true }, "@esbuild/openbsd-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz", - "integrity": "sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.0.tgz", + "integrity": "sha512-HKoUGXz/TOVXKQ+67NhxyHv+aDSZf44QpWLa3I1lLvAwGq8x1k0T+e2HHSRvxWhfJrFxaaqre1+YyzQ99KixoA==", "dev": true, "optional": true }, "@esbuild/sunos-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz", - "integrity": "sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.0.tgz", + "integrity": "sha512-GDwAqgHQm1mVoPppGsoq4WJwT3vhnz/2N62CzhvApFD1eJyTroob30FPpOZabN+FgCjhG+AgcZyOPIkR8dfD7g==", "dev": true, "optional": true }, "@esbuild/win32-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz", - "integrity": "sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.0.tgz", + "integrity": "sha512-0vYsP8aC4TvMlOQYozoksiaxjlvUcQrac+muDqj1Fxy6jh9l9CZJzj7zmh8JGfiV49cYLTorFLxg7593pGldwQ==", "dev": true, "optional": true }, "@esbuild/win32-ia32": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz", - "integrity": "sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.0.tgz", + "integrity": "sha512-p98u4rIgfh4gdpV00IqknBD5pC84LCub+4a3MO+zjqvU5MVXOc3hqR2UgT2jI2nh3h8s9EQxmOsVI3tyzv1iFg==", "dev": true, "optional": true }, "@esbuild/win32-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz", - "integrity": "sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.0.tgz", + "integrity": "sha512-NgJnesu1RtWihtTtXGFMU5YSE6JyyHPMxCwBZK7a6/8d31GuSo9l0Ss7w1Jw5QnKUawG6UEehs883kcXf5fYwg==", "dev": true, "optional": true }, @@ -5723,34 +5723,34 @@ "dev": true }, "esbuild": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.12.tgz", - "integrity": "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==", - "dev": true, - "requires": { - "@esbuild/aix-ppc64": "0.19.12", - "@esbuild/android-arm": "0.19.12", - "@esbuild/android-arm64": "0.19.12", - "@esbuild/android-x64": "0.19.12", - "@esbuild/darwin-arm64": "0.19.12", - "@esbuild/darwin-x64": "0.19.12", - "@esbuild/freebsd-arm64": "0.19.12", - "@esbuild/freebsd-x64": "0.19.12", - "@esbuild/linux-arm": "0.19.12", - "@esbuild/linux-arm64": "0.19.12", - "@esbuild/linux-ia32": "0.19.12", - "@esbuild/linux-loong64": "0.19.12", - "@esbuild/linux-mips64el": "0.19.12", - "@esbuild/linux-ppc64": "0.19.12", - "@esbuild/linux-riscv64": "0.19.12", - "@esbuild/linux-s390x": "0.19.12", - "@esbuild/linux-x64": "0.19.12", - "@esbuild/netbsd-x64": "0.19.12", - "@esbuild/openbsd-x64": "0.19.12", - "@esbuild/sunos-x64": "0.19.12", - "@esbuild/win32-arm64": "0.19.12", - "@esbuild/win32-ia32": "0.19.12", - "@esbuild/win32-x64": "0.19.12" + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.0.tgz", + "integrity": "sha512-6iwE3Y2RVYCME1jLpBqq7LQWK3MW6vjV2bZy6gt/WrqkY+WE74Spyc0ThAOYpMtITvnjX09CrC6ym7A/m9mebA==", + "dev": true, + "requires": { + "@esbuild/aix-ppc64": "0.20.0", + "@esbuild/android-arm": "0.20.0", + "@esbuild/android-arm64": "0.20.0", + "@esbuild/android-x64": "0.20.0", + "@esbuild/darwin-arm64": "0.20.0", + "@esbuild/darwin-x64": "0.20.0", + "@esbuild/freebsd-arm64": "0.20.0", + "@esbuild/freebsd-x64": "0.20.0", + "@esbuild/linux-arm": "0.20.0", + "@esbuild/linux-arm64": "0.20.0", + "@esbuild/linux-ia32": "0.20.0", + "@esbuild/linux-loong64": "0.20.0", + "@esbuild/linux-mips64el": "0.20.0", + "@esbuild/linux-ppc64": "0.20.0", + "@esbuild/linux-riscv64": "0.20.0", + "@esbuild/linux-s390x": "0.20.0", + "@esbuild/linux-x64": "0.20.0", + "@esbuild/netbsd-x64": "0.20.0", + "@esbuild/openbsd-x64": "0.20.0", + "@esbuild/sunos-x64": "0.20.0", + "@esbuild/win32-arm64": "0.20.0", + "@esbuild/win32-ia32": "0.20.0", + "@esbuild/win32-x64": "0.20.0" } }, "escalade": { diff --git a/package.json b/package.json index 6cb0848a43bc4..9d4593df9c736 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "chokidar": "^3.5.3", "diff": "^5.1.0", "dprint": "^0.45.0", - "esbuild": "^0.19.11", + "esbuild": "^0.20.0", "eslint": "^8.56.0", "eslint-formatter-autolinkable-stylish": "^1.3.0", "eslint-plugin-local": "^3.1.0", From 8c34b56cde00b5479fb2c85f94fa8be83e28b06a Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Tue, 30 Jan 2024 06:14:14 +0000 Subject: [PATCH 06/56] Update package-lock.json --- package-lock.json | 168 +++++++++++++++++++++++----------------------- 1 file changed, 84 insertions(+), 84 deletions(-) diff --git a/package-lock.json b/package-lock.json index da87719138d19..341f010885d56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1059,16 +1059,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.19.1.tgz", - "integrity": "sha512-roQScUGFruWod9CEyoV5KlCYrubC/fvG8/1zXuT0WTcxX87GnMMmnksMwSg99lo1xiKrBzw2icsJPMAw1OtKxg==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz", + "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.19.1", - "@typescript-eslint/type-utils": "6.19.1", - "@typescript-eslint/utils": "6.19.1", - "@typescript-eslint/visitor-keys": "6.19.1", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/type-utils": "6.20.0", + "@typescript-eslint/utils": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -1094,15 +1094,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.19.1.tgz", - "integrity": "sha512-WEfX22ziAh6pRE9jnbkkLGp/4RhTpffr2ZK5bJ18M8mIfA8A+k97U9ZyaXCEJRlmMHh7R9MJZWXp/r73DzINVQ==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz", + "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.19.1", - "@typescript-eslint/types": "6.19.1", - "@typescript-eslint/typescript-estree": "6.19.1", - "@typescript-eslint/visitor-keys": "6.19.1", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4" }, "engines": { @@ -1122,13 +1122,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.19.1.tgz", - "integrity": "sha512-4CdXYjKf6/6aKNMSly/BP4iCSOpvMmqtDzRtqFyyAae3z5kkqEjKndR5vDHL8rSuMIIWP8u4Mw4VxLyxZW6D5w==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", + "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.19.1", - "@typescript-eslint/visitor-keys": "6.19.1" + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1139,13 +1139,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.19.1.tgz", - "integrity": "sha512-0vdyld3ecfxJuddDjACUvlAeYNrHP/pDeQk2pWBR2ESeEzQhg52DF53AbI9QCBkYE23lgkhLCZNkHn2hEXXYIg==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz", + "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.19.1", - "@typescript-eslint/utils": "6.19.1", + "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/utils": "6.20.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -1166,9 +1166,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.19.1.tgz", - "integrity": "sha512-6+bk6FEtBhvfYvpHsDgAL3uo4BfvnTnoge5LrrCj2eJN8g3IJdLTD4B/jK3Q6vo4Ql/Hoip9I8aB6fF+6RfDqg==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", + "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1179,13 +1179,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.19.1.tgz", - "integrity": "sha512-aFdAxuhzBFRWhy+H20nYu19+Km+gFfwNO4TEqyszkMcgBDYQjmPJ61erHxuT2ESJXhlhrO7I5EFIlZ+qGR8oVA==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", + "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.19.1", - "@typescript-eslint/visitor-keys": "6.19.1", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1207,17 +1207,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.19.1.tgz", - "integrity": "sha512-JvjfEZuP5WoMqwh9SPAPDSHSg9FBHHGhjPugSRxu5jMfjvBpq5/sGTD+9M9aQ5sh6iJ8AY/Kk/oUYVEMAPwi7w==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", + "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.19.1", - "@typescript-eslint/types": "6.19.1", - "@typescript-eslint/typescript-estree": "6.19.1", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/typescript-estree": "6.20.0", "semver": "^7.5.4" }, "engines": { @@ -1232,12 +1232,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.19.1.tgz", - "integrity": "sha512-gkdtIO+xSO/SmI0W68DBg4u1KElmIUo3vXzgHyGPs6cxgB0sa3TlptRAAE0hUY1hM6FcDKEv7aIwiTGm76cXfQ==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", + "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.19.1", + "@typescript-eslint/types": "6.20.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -5108,16 +5108,16 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.19.1.tgz", - "integrity": "sha512-roQScUGFruWod9CEyoV5KlCYrubC/fvG8/1zXuT0WTcxX87GnMMmnksMwSg99lo1xiKrBzw2icsJPMAw1OtKxg==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz", + "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.19.1", - "@typescript-eslint/type-utils": "6.19.1", - "@typescript-eslint/utils": "6.19.1", - "@typescript-eslint/visitor-keys": "6.19.1", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/type-utils": "6.20.0", + "@typescript-eslint/utils": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -5127,54 +5127,54 @@ } }, "@typescript-eslint/parser": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.19.1.tgz", - "integrity": "sha512-WEfX22ziAh6pRE9jnbkkLGp/4RhTpffr2ZK5bJ18M8mIfA8A+k97U9ZyaXCEJRlmMHh7R9MJZWXp/r73DzINVQ==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz", + "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "6.19.1", - "@typescript-eslint/types": "6.19.1", - "@typescript-eslint/typescript-estree": "6.19.1", - "@typescript-eslint/visitor-keys": "6.19.1", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.19.1.tgz", - "integrity": "sha512-4CdXYjKf6/6aKNMSly/BP4iCSOpvMmqtDzRtqFyyAae3z5kkqEjKndR5vDHL8rSuMIIWP8u4Mw4VxLyxZW6D5w==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", + "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", "dev": true, "requires": { - "@typescript-eslint/types": "6.19.1", - "@typescript-eslint/visitor-keys": "6.19.1" + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0" } }, "@typescript-eslint/type-utils": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.19.1.tgz", - "integrity": "sha512-0vdyld3ecfxJuddDjACUvlAeYNrHP/pDeQk2pWBR2ESeEzQhg52DF53AbI9QCBkYE23lgkhLCZNkHn2hEXXYIg==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz", + "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "6.19.1", - "@typescript-eslint/utils": "6.19.1", + "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/utils": "6.20.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" } }, "@typescript-eslint/types": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.19.1.tgz", - "integrity": "sha512-6+bk6FEtBhvfYvpHsDgAL3uo4BfvnTnoge5LrrCj2eJN8g3IJdLTD4B/jK3Q6vo4Ql/Hoip9I8aB6fF+6RfDqg==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", + "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.19.1.tgz", - "integrity": "sha512-aFdAxuhzBFRWhy+H20nYu19+Km+gFfwNO4TEqyszkMcgBDYQjmPJ61erHxuT2ESJXhlhrO7I5EFIlZ+qGR8oVA==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", + "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", "dev": true, "requires": { - "@typescript-eslint/types": "6.19.1", - "@typescript-eslint/visitor-keys": "6.19.1", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5184,27 +5184,27 @@ } }, "@typescript-eslint/utils": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.19.1.tgz", - "integrity": "sha512-JvjfEZuP5WoMqwh9SPAPDSHSg9FBHHGhjPugSRxu5jMfjvBpq5/sGTD+9M9aQ5sh6iJ8AY/Kk/oUYVEMAPwi7w==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", + "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.19.1", - "@typescript-eslint/types": "6.19.1", - "@typescript-eslint/typescript-estree": "6.19.1", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/typescript-estree": "6.20.0", "semver": "^7.5.4" } }, "@typescript-eslint/visitor-keys": { - "version": "6.19.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.19.1.tgz", - "integrity": "sha512-gkdtIO+xSO/SmI0W68DBg4u1KElmIUo3vXzgHyGPs6cxgB0sa3TlptRAAE0hUY1hM6FcDKEv7aIwiTGm76cXfQ==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", + "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", "dev": true, "requires": { - "@typescript-eslint/types": "6.19.1", + "@typescript-eslint/types": "6.20.0", "eslint-visitor-keys": "^3.4.1" } }, From 1445bd43449b09aecfd9d5ca5a49d98c1131cffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Tue, 30 Jan 2024 17:35:59 +0100 Subject: [PATCH 07/56] Reissue used before declaration error for const enums in `isolatedModules` (#57174) --- src/compiler/checker.ts | 6 +++ ...ScopedEnumVariablesUseBeforeDef.errors.txt | 11 ++++- .../blockScopedEnumVariablesUseBeforeDef.js | 14 +++++- ...ockScopedEnumVariablesUseBeforeDef.symbols | 19 +++++++ ...blockScopedEnumVariablesUseBeforeDef.types | 21 ++++++++ ...lesUseBeforeDef_isolatedModules.errors.txt | 33 +++++++++++++ ...umVariablesUseBeforeDef_isolatedModules.js | 44 +++++++++++++++++ ...iablesUseBeforeDef_isolatedModules.symbols | 47 ++++++++++++++++++ ...ariablesUseBeforeDef_isolatedModules.types | 49 +++++++++++++++++++ ...eBeforeDef_verbatimModuleSyntax.errors.txt | 33 +++++++++++++ ...iablesUseBeforeDef_verbatimModuleSyntax.js | 44 +++++++++++++++++ ...sUseBeforeDef_verbatimModuleSyntax.symbols | 47 ++++++++++++++++++ ...lesUseBeforeDef_verbatimModuleSyntax.types | 49 +++++++++++++++++++ .../blockScopedEnumVariablesUseBeforeDef.ts | 10 +++- ...umVariablesUseBeforeDef_isolatedModules.ts | 20 ++++++++ ...iablesUseBeforeDef_verbatimModuleSyntax.ts | 20 ++++++++ 16 files changed, 464 insertions(+), 3 deletions(-) create mode 100644 tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.errors.txt create mode 100644 tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.js create mode 100644 tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.symbols create mode 100644 tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.types create mode 100644 tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.errors.txt create mode 100644 tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.js create mode 100644 tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.symbols create mode 100644 tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.types create mode 100644 tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts create mode 100644 tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 3a137ac66fe41..dfd117be0864b 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -3924,6 +3924,12 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { else if (result.flags & SymbolFlags.RegularEnum) { diagnosticMessage = error(errorLocation, Diagnostics.Enum_0_used_before_its_declaration, declarationName); } + else { + Debug.assert(!!(result.flags & SymbolFlags.ConstEnum)); + if (getIsolatedModules(compilerOptions)) { + diagnosticMessage = error(errorLocation, Diagnostics.Enum_0_used_before_its_declaration, declarationName); + } + } if (diagnosticMessage) { addRelatedInfo(diagnosticMessage, createDiagnosticForNode(declaration, Diagnostics._0_is_declared_here, declarationName)); diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.errors.txt b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.errors.txt index fdad5cd8e54fe..1b67e080e243f 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.errors.txt +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.errors.txt @@ -13,4 +13,13 @@ blockScopedEnumVariablesUseBeforeDef.ts(2,12): error TS2450: Enum 'E' used befor function foo2() { return E.A const enum E { A } - } \ No newline at end of file + } + + const config = { + a: AfterObject.A, + }; + + const enum AfterObject { + A = 2, + } + \ No newline at end of file diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.js b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.js index c0b64a5506133..80bd068246b4e 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.js +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.js @@ -9,7 +9,16 @@ function foo1() { function foo2() { return E.A const enum E { A } -} +} + +const config = { + a: AfterObject.A, +}; + +const enum AfterObject { + A = 2, +} + //// [blockScopedEnumVariablesUseBeforeDef.js] function foo1() { @@ -22,3 +31,6 @@ function foo1() { function foo2() { return 0 /* E.A */; } +var config = { + a: 2 /* AfterObject.A */, +}; diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.symbols b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.symbols index 178c0cae366e2..6542daff85e3a 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.symbols +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.symbols @@ -26,3 +26,22 @@ function foo2() { >E : Symbol(E, Decl(blockScopedEnumVariablesUseBeforeDef.ts, 6, 14)) >A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef.ts, 7, 18)) } + +const config = { +>config : Symbol(config, Decl(blockScopedEnumVariablesUseBeforeDef.ts, 10, 5)) + + a: AfterObject.A, +>a : Symbol(a, Decl(blockScopedEnumVariablesUseBeforeDef.ts, 10, 16)) +>AfterObject.A : Symbol(AfterObject.A, Decl(blockScopedEnumVariablesUseBeforeDef.ts, 14, 24)) +>AfterObject : Symbol(AfterObject, Decl(blockScopedEnumVariablesUseBeforeDef.ts, 12, 2)) +>A : Symbol(AfterObject.A, Decl(blockScopedEnumVariablesUseBeforeDef.ts, 14, 24)) + +}; + +const enum AfterObject { +>AfterObject : Symbol(AfterObject, Decl(blockScopedEnumVariablesUseBeforeDef.ts, 12, 2)) + + A = 2, +>A : Symbol(AfterObject.A, Decl(blockScopedEnumVariablesUseBeforeDef.ts, 14, 24)) +} + diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.types b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.types index aad25bfe2fcd6..176e2055faf49 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.types +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.types @@ -26,3 +26,24 @@ function foo2() { >E : E >A : E.A } + +const config = { +>config : { a: AfterObject; } +>{ a: AfterObject.A,} : { a: AfterObject; } + + a: AfterObject.A, +>a : AfterObject +>AfterObject.A : AfterObject +>AfterObject : typeof AfterObject +>A : AfterObject + +}; + +const enum AfterObject { +>AfterObject : AfterObject + + A = 2, +>A : AfterObject.A +>2 : 2 +} + diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.errors.txt b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.errors.txt new file mode 100644 index 0000000000000..99a0a42f86099 --- /dev/null +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.errors.txt @@ -0,0 +1,33 @@ +blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts(2,12): error TS2450: Enum 'E' used before its declaration. +blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts(7,12): error TS2450: Enum 'E' used before its declaration. +blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts(12,8): error TS2450: Enum 'AfterObject' used before its declaration. + + +==== blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts (3 errors) ==== + function foo1() { + return E.A + ~ +!!! error TS2450: Enum 'E' used before its declaration. +!!! related TS2728 blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts:3:10: 'E' is declared here. + enum E { A } + } + + function foo2() { + return E.A + ~ +!!! error TS2450: Enum 'E' used before its declaration. +!!! related TS2728 blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts:8:16: 'E' is declared here. + const enum E { A } + } + + const config = { + a: AfterObject.A, + ~~~~~~~~~~~ +!!! error TS2450: Enum 'AfterObject' used before its declaration. +!!! related TS2728 blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts:15:12: 'AfterObject' is declared here. + }; + + const enum AfterObject { + A = 2, + } + \ No newline at end of file diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.js b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.js new file mode 100644 index 0000000000000..02875471bcb3d --- /dev/null +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.js @@ -0,0 +1,44 @@ +//// [tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts] //// + +//// [blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts] +function foo1() { + return E.A + enum E { A } +} + +function foo2() { + return E.A + const enum E { A } +} + +const config = { + a: AfterObject.A, +}; + +const enum AfterObject { + A = 2, +} + + +//// [blockScopedEnumVariablesUseBeforeDef_isolatedModules.js] +function foo1() { + return E.A; + var E; + (function (E) { + E[E["A"] = 0] = "A"; + })(E || (E = {})); +} +function foo2() { + return E.A; + var E; + (function (E) { + E[E["A"] = 0] = "A"; + })(E || (E = {})); +} +var config = { + a: AfterObject.A, +}; +var AfterObject; +(function (AfterObject) { + AfterObject[AfterObject["A"] = 2] = "A"; +})(AfterObject || (AfterObject = {})); diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.symbols b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.symbols new file mode 100644 index 0000000000000..2269e82f4fc8f --- /dev/null +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.symbols @@ -0,0 +1,47 @@ +//// [tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts] //// + +=== blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts === +function foo1() { +>foo1 : Symbol(foo1, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 0, 0)) + + return E.A +>E.A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 2, 12)) +>E : Symbol(E, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 1, 14)) +>A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 2, 12)) + + enum E { A } +>E : Symbol(E, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 1, 14)) +>A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 2, 12)) +} + +function foo2() { +>foo2 : Symbol(foo2, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 3, 1)) + + return E.A +>E.A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 7, 18)) +>E : Symbol(E, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 6, 14)) +>A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 7, 18)) + + const enum E { A } +>E : Symbol(E, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 6, 14)) +>A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 7, 18)) +} + +const config = { +>config : Symbol(config, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 10, 5)) + + a: AfterObject.A, +>a : Symbol(a, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 10, 16)) +>AfterObject.A : Symbol(AfterObject.A, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 14, 24)) +>AfterObject : Symbol(AfterObject, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 12, 2)) +>A : Symbol(AfterObject.A, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 14, 24)) + +}; + +const enum AfterObject { +>AfterObject : Symbol(AfterObject, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 12, 2)) + + A = 2, +>A : Symbol(AfterObject.A, Decl(blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts, 14, 24)) +} + diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.types b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.types new file mode 100644 index 0000000000000..98a0e5cb2d3db --- /dev/null +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.types @@ -0,0 +1,49 @@ +//// [tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts] //// + +=== blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts === +function foo1() { +>foo1 : () => E + + return E.A +>E.A : E +>E : typeof E +>A : E + + enum E { A } +>E : E +>A : E.A +} + +function foo2() { +>foo2 : () => E + + return E.A +>E.A : E +>E : typeof E +>A : E + + const enum E { A } +>E : E +>A : E.A +} + +const config = { +>config : { a: AfterObject; } +>{ a: AfterObject.A,} : { a: AfterObject; } + + a: AfterObject.A, +>a : AfterObject +>AfterObject.A : AfterObject +>AfterObject : typeof AfterObject +>A : AfterObject + +}; + +const enum AfterObject { +>AfterObject : AfterObject + + A = 2, +>A : AfterObject.A +>2 : 2 +} + diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.errors.txt b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.errors.txt new file mode 100644 index 0000000000000..d3059e8840ae4 --- /dev/null +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.errors.txt @@ -0,0 +1,33 @@ +blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts(2,12): error TS2450: Enum 'E' used before its declaration. +blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts(7,12): error TS2450: Enum 'E' used before its declaration. +blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts(12,8): error TS2450: Enum 'AfterObject' used before its declaration. + + +==== blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts (3 errors) ==== + function foo1() { + return E.A + ~ +!!! error TS2450: Enum 'E' used before its declaration. +!!! related TS2728 blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts:3:10: 'E' is declared here. + enum E { A } + } + + function foo2() { + return E.A + ~ +!!! error TS2450: Enum 'E' used before its declaration. +!!! related TS2728 blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts:8:16: 'E' is declared here. + const enum E { A } + } + + const config = { + a: AfterObject.A, + ~~~~~~~~~~~ +!!! error TS2450: Enum 'AfterObject' used before its declaration. +!!! related TS2728 blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts:15:12: 'AfterObject' is declared here. + }; + + const enum AfterObject { + A = 2, + } + \ No newline at end of file diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.js b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.js new file mode 100644 index 0000000000000..4d4f7ead87418 --- /dev/null +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.js @@ -0,0 +1,44 @@ +//// [tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts] //// + +//// [blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts] +function foo1() { + return E.A + enum E { A } +} + +function foo2() { + return E.A + const enum E { A } +} + +const config = { + a: AfterObject.A, +}; + +const enum AfterObject { + A = 2, +} + + +//// [blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.js] +function foo1() { + return E.A; + var E; + (function (E) { + E[E["A"] = 0] = "A"; + })(E || (E = {})); +} +function foo2() { + return E.A; + var E; + (function (E) { + E[E["A"] = 0] = "A"; + })(E || (E = {})); +} +var config = { + a: AfterObject.A, +}; +var AfterObject; +(function (AfterObject) { + AfterObject[AfterObject["A"] = 2] = "A"; +})(AfterObject || (AfterObject = {})); diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.symbols b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.symbols new file mode 100644 index 0000000000000..967db9a58c3ee --- /dev/null +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.symbols @@ -0,0 +1,47 @@ +//// [tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts] //// + +=== blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts === +function foo1() { +>foo1 : Symbol(foo1, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 0, 0)) + + return E.A +>E.A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 2, 12)) +>E : Symbol(E, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 1, 14)) +>A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 2, 12)) + + enum E { A } +>E : Symbol(E, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 1, 14)) +>A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 2, 12)) +} + +function foo2() { +>foo2 : Symbol(foo2, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 3, 1)) + + return E.A +>E.A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 7, 18)) +>E : Symbol(E, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 6, 14)) +>A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 7, 18)) + + const enum E { A } +>E : Symbol(E, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 6, 14)) +>A : Symbol(E.A, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 7, 18)) +} + +const config = { +>config : Symbol(config, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 10, 5)) + + a: AfterObject.A, +>a : Symbol(a, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 10, 16)) +>AfterObject.A : Symbol(AfterObject.A, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 14, 24)) +>AfterObject : Symbol(AfterObject, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 12, 2)) +>A : Symbol(AfterObject.A, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 14, 24)) + +}; + +const enum AfterObject { +>AfterObject : Symbol(AfterObject, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 12, 2)) + + A = 2, +>A : Symbol(AfterObject.A, Decl(blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts, 14, 24)) +} + diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.types b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.types new file mode 100644 index 0000000000000..cbbd657d00504 --- /dev/null +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.types @@ -0,0 +1,49 @@ +//// [tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts] //// + +=== blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts === +function foo1() { +>foo1 : () => E + + return E.A +>E.A : E +>E : typeof E +>A : E + + enum E { A } +>E : E +>A : E.A +} + +function foo2() { +>foo2 : () => E + + return E.A +>E.A : E +>E : typeof E +>A : E + + const enum E { A } +>E : E +>A : E.A +} + +const config = { +>config : { a: AfterObject; } +>{ a: AfterObject.A,} : { a: AfterObject; } + + a: AfterObject.A, +>a : AfterObject +>AfterObject.A : AfterObject +>AfterObject : typeof AfterObject +>A : AfterObject + +}; + +const enum AfterObject { +>AfterObject : AfterObject + + A = 2, +>A : AfterObject.A +>2 : 2 +} + diff --git a/tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef.ts b/tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef.ts index 84eff340164df..39f5eafd733c9 100644 --- a/tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef.ts +++ b/tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef.ts @@ -7,4 +7,12 @@ function foo1() { function foo2() { return E.A const enum E { A } -} \ No newline at end of file +} + +const config = { + a: AfterObject.A, +}; + +const enum AfterObject { + A = 2, +} diff --git a/tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts b/tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts new file mode 100644 index 0000000000000..3b02ad8155766 --- /dev/null +++ b/tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_isolatedModules.ts @@ -0,0 +1,20 @@ +// @target: ES5 +// @isolatedModules: true + +function foo1() { + return E.A + enum E { A } +} + +function foo2() { + return E.A + const enum E { A } +} + +const config = { + a: AfterObject.A, +}; + +const enum AfterObject { + A = 2, +} diff --git a/tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts b/tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts new file mode 100644 index 0000000000000..20e2c68c03125 --- /dev/null +++ b/tests/cases/compiler/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.ts @@ -0,0 +1,20 @@ +// @target: ES5 +// @verbatimModuleSyntax: true + +function foo1() { + return E.A + enum E { A } +} + +function foo2() { + return E.A + const enum E { A } +} + +const config = { + a: AfterObject.A, +}; + +const enum AfterObject { + A = 2, +} From e45183b82a97716e0ec9c9f0e37c7f7386d68d52 Mon Sep 17 00:00:00 2001 From: Isabel Duan Date: Tue, 30 Jan 2024 11:25:32 -0800 Subject: [PATCH 08/56] fix57127: remove linkedediting from cases where JSX tags are not closed (#57132) --- src/services/services.ts | 17 ++-- .../linkedEditingJsxTag10.linkedEditing.txt | 5 +- .../linkedEditingJsxTag12.linkedEditing.txt | 88 +++++++++++++++++++ .../cases/fourslash/linkedEditingJsxTag10.ts | 1 + .../cases/fourslash/linkedEditingJsxTag12.ts | 58 ++++++++++++ 5 files changed, 160 insertions(+), 9 deletions(-) create mode 100644 tests/baselines/reference/linkedEditingJsxTag12.linkedEditing.txt create mode 100644 tests/cases/fourslash/linkedEditingJsxTag12.ts diff --git a/src/services/services.ts b/src/services/services.ts index f08e2ab88580d..924828da0aa0e 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -2562,20 +2562,25 @@ export function createLanguageService( const openTag = tag.parent.openingElement; const closeTag = tag.parent.closingElement; - const openTagStart = openTag.tagName.getStart(sourceFile); - const openTagEnd = openTag.tagName.end; - const closeTagStart = closeTag.tagName.getStart(sourceFile); - const closeTagEnd = closeTag.tagName.end; + const openTagNameStart = openTag.tagName.getStart(sourceFile); + const openTagNameEnd = openTag.tagName.end; + const closeTagNameStart = closeTag.tagName.getStart(sourceFile); + const closeTagNameEnd = closeTag.tagName.end; + // do not return linked cursors if tags are not well-formed + if ( + openTagNameStart === openTag.getStart(sourceFile) || closeTagNameStart === closeTag.getStart(sourceFile) + || openTagNameEnd === openTag.getEnd() || closeTagNameEnd === closeTag.getEnd() + ) return undefined; // only return linked cursors if the cursor is within a tag name - if (!(openTagStart <= position && position <= openTagEnd || closeTagStart <= position && position <= closeTagEnd)) return undefined; + if (!(openTagNameStart <= position && position <= openTagNameEnd || closeTagNameStart <= position && position <= closeTagNameEnd)) return undefined; // only return linked cursors if text in both tags is identical const openingTagText = openTag.tagName.getText(sourceFile); if (openingTagText !== closeTag.tagName.getText(sourceFile)) return undefined; return { - ranges: [{ start: openTagStart, length: openTagEnd - openTagStart }, { start: closeTagStart, length: closeTagEnd - closeTagStart }], + ranges: [{ start: openTagNameStart, length: openTagNameEnd - openTagNameStart }, { start: closeTagNameStart, length: closeTagNameEnd - closeTagNameStart }], wordPattern: jsxTagWordPattern, }; } diff --git a/tests/baselines/reference/linkedEditingJsxTag10.linkedEditing.txt b/tests/baselines/reference/linkedEditingJsxTag10.linkedEditing.txt index 6ecbcb2cbc37c..37e4da4449e07 100644 --- a/tests/baselines/reference/linkedEditingJsxTag10.linkedEditing.txt +++ b/tests/baselines/reference/linkedEditingJsxTag10.linkedEditing.txt @@ -54,10 +54,9 @@ const jsx =

; === /jsx9.tsx === -const jsx = <[|/*0*/div|]> + < +
+ +
+} + +=== 0 === +{"ranges":[{"start":30,"length":3},{"start":77,"length":3}],"wordPattern":"[a-zA-Z0-9:\\-\\._$]*"} + + +=== /incompleteMismatched.tsx === +function Test() { + return <[|/*1*/div|]> + + +
+} + +=== 1 === +{"ranges":[{"start":30,"length":3},{"start":78,"length":3}],"wordPattern":"[a-zA-Z0-9:\\-\\._$]*"} + + +=== /incompleteMismatched2.tsx === +function Test() { + return <[|/*2*/div|]> + + T + +} + +=== 2 === +{"ranges":[{"start":30,"length":3},{"start":79,"length":3}],"wordPattern":"[a-zA-Z0-9:\\-\\._$]*"} + + +=== /incompleteMismatched3.tsx === +function Test() { + return <[|/*3*/div|]> + <[|/*4*/div|] {...{}}> + + +} + +=== 3 === +{"ranges":[{"start":30,"length":3},{"start":89,"length":3}],"wordPattern":"[a-zA-Z0-9:\\-\\._$]*"} + +=== 4 === +{"ranges":[{"start":44,"length":3},{"start":67,"length":3}],"wordPattern":"[a-zA-Z0-9:\\-\\._$]*"} + + +=== /mismatched.tsx === +function Test() { + return <[|/*5*/div|]> + + <[|/*6*/div|] {...{}}> + + +} + +=== 5 === +{"ranges":[{"start":30,"length":3},{"start":90,"length":3}],"wordPattern":"[a-zA-Z0-9:\\-\\._$]*"} + +=== 6 === +{"ranges":[{"start":56,"length":3},{"start":79,"length":3}],"wordPattern":"[a-zA-Z0-9:\\-\\._$]*"} + + +=== /matched.tsx === +function Test() { + return <[|/*7*/div|]> + + <[|/*8*/div|] {...{}}> + + +} + +=== 7 === +{"ranges":[{"start":30,"length":3},{"start":79,"length":3}],"wordPattern":"[a-zA-Z0-9:\\-\\._$]*"} + +=== 8 === +{"ranges":[{"start":45,"length":3},{"start":68,"length":3}],"wordPattern":"[a-zA-Z0-9:\\-\\._$]*"} + + diff --git a/tests/cases/fourslash/linkedEditingJsxTag10.ts b/tests/cases/fourslash/linkedEditingJsxTag10.ts index 927d75315b39a..274e25db0b7f1 100644 --- a/tests/cases/fourslash/linkedEditingJsxTag10.ts +++ b/tests/cases/fourslash/linkedEditingJsxTag10.ts @@ -48,4 +48,5 @@ // @Filename: /jsx15.tsx ////const jsx = ; +// as of #57132 none of these cases should have linked editing because the tags are mismatched or missing either < or > verify.baselineLinkedEditing(); \ No newline at end of file diff --git a/tests/cases/fourslash/linkedEditingJsxTag12.ts b/tests/cases/fourslash/linkedEditingJsxTag12.ts new file mode 100644 index 0000000000000..2ecb45ea5c3e3 --- /dev/null +++ b/tests/cases/fourslash/linkedEditingJsxTag12.ts @@ -0,0 +1,58 @@ +/// + +// @Filename: /incomplete.tsx +//// function Test() { +//// return
+//// +////
+//// +//// } + +// @Filename: /incompleteMismatched.tsx +//// function Test() { +//// return
+//// +////
+//// +//// } + +// @Filename: /incompleteMismatched2.tsx +//// function Test() { +//// return
+//// +//// T
+//// +//// } + +// @Filename: /incompleteMismatched3.tsx +//// function Test() { +//// return
+////
+////
+//// +//// } + +// @Filename: /mismatched.tsx +//// function Test() { +//// return
+//// +////
+////
+////
+//// } + +// @Filename: /matched.tsx +//// function Test() { +//// return
+//// +////
+////
+////
+//// } + +verify.linkedEditing({ 0 : undefined }); +verify.baselineLinkedEditing(); \ No newline at end of file From d21b1d271f77eda2e9bdb0f1b239d98f92fd5243 Mon Sep 17 00:00:00 2001 From: 2014 <116435491+5atoshiNakamoto@users.noreply.github.com> Date: Wed, 31 Jan 2024 00:24:06 +0200 Subject: [PATCH 09/56] Update README.md (#57243) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a535aa7c2a83d..277baeef096a1 100644 --- a/README.md +++ b/README.md @@ -47,4 +47,4 @@ with any additional questions or comments. ## Roadmap -For details on our planned features and future direction please refer to our [roadmap](/~https://github.com/microsoft/TypeScript/wiki/Roadmap). +For details on our planned features and future direction, please refer to our [roadmap](/~https://github.com/microsoft/TypeScript/wiki/Roadmap). From d2d3b24737ccc7d6de70ad044cd9c9a71b6fc8cb Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Tue, 30 Jan 2024 17:04:13 -0800 Subject: [PATCH 10/56] Fix missing error for accessing type-only `export *` member through namespace (#57176) --- src/compiler/checker.ts | 6 ++++ .../reference/exportNamespace11.errors.txt | 14 ++++++++ .../baselines/reference/exportNamespace11.js | 30 ++++++++++++++++ .../reference/exportNamespace11.symbols | 20 +++++++++++ .../reference/exportNamespace11.types | 22 ++++++++++++ .../reference/exportNamespace12.errors.txt | 20 +++++++++++ .../baselines/reference/exportNamespace12.js | 28 +++++++++++++++ .../reference/exportNamespace12.symbols | 29 ++++++++++++++++ .../reference/exportNamespace12.types | 34 +++++++++++++++++++ .../typeOnly/exportNamespace11.ts | 9 +++++ .../typeOnly/exportNamespace12.ts | 11 ++++++ 11 files changed, 223 insertions(+) create mode 100644 tests/baselines/reference/exportNamespace11.errors.txt create mode 100644 tests/baselines/reference/exportNamespace11.js create mode 100644 tests/baselines/reference/exportNamespace11.symbols create mode 100644 tests/baselines/reference/exportNamespace11.types create mode 100644 tests/baselines/reference/exportNamespace12.errors.txt create mode 100644 tests/baselines/reference/exportNamespace12.js create mode 100644 tests/baselines/reference/exportNamespace12.symbols create mode 100644 tests/baselines/reference/exportNamespace12.types create mode 100644 tests/cases/conformance/externalModules/typeOnly/exportNamespace11.ts create mode 100644 tests/cases/conformance/externalModules/typeOnly/exportNamespace12.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index dfd117be0864b..f15fd70378ea7 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -14914,6 +14914,12 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (type.flags & TypeFlags.Object) { const resolved = resolveStructuredTypeMembers(type as ObjectType); const symbol = resolved.members.get(name); + if (symbol && !includeTypeOnlyMembers && type.symbol?.flags & SymbolFlags.ValueModule && getSymbolLinks(type.symbol).typeOnlyExportStarMap?.has(name)) { + // If this is the type of a module, `resolved.members.get(name)` might have effectively skipped over + // an `export type * from './foo'`, leaving `symbolIsValue` unable to see that the symbol is being + // viewed through a type-only export. + return undefined; + } if (symbol && symbolIsValue(symbol, includeTypeOnlyMembers)) { return symbol; } diff --git a/tests/baselines/reference/exportNamespace11.errors.txt b/tests/baselines/reference/exportNamespace11.errors.txt new file mode 100644 index 0000000000000..28338d4764b78 --- /dev/null +++ b/tests/baselines/reference/exportNamespace11.errors.txt @@ -0,0 +1,14 @@ +main.ts(2,52): error TS2339: Property 'Ghost' does not exist on type 'typeof import("intermediate")'. + + +==== main.ts (1 errors) ==== + import * as intermediate from './intermediate' + const ghost: intermediate.Ghost = new intermediate.Ghost() + ~~~~~ +!!! error TS2339: Property 'Ghost' does not exist on type 'typeof import("intermediate")'. + +==== intermediate.ts (0 errors) ==== + export type * from './ghost' + +==== ghost.ts (0 errors) ==== + export class Ghost {} \ No newline at end of file diff --git a/tests/baselines/reference/exportNamespace11.js b/tests/baselines/reference/exportNamespace11.js new file mode 100644 index 0000000000000..b2b30c103d246 --- /dev/null +++ b/tests/baselines/reference/exportNamespace11.js @@ -0,0 +1,30 @@ +//// [tests/cases/conformance/externalModules/typeOnly/exportNamespace11.ts] //// + +//// [main.ts] +import * as intermediate from './intermediate' +const ghost: intermediate.Ghost = new intermediate.Ghost() + +//// [intermediate.ts] +export type * from './ghost' + +//// [ghost.ts] +export class Ghost {} + +//// [ghost.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Ghost = void 0; +var Ghost = /** @class */ (function () { + function Ghost() { + } + return Ghost; +}()); +exports.Ghost = Ghost; +//// [intermediate.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//// [main.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var intermediate = require("./intermediate"); +var ghost = new intermediate.Ghost(); diff --git a/tests/baselines/reference/exportNamespace11.symbols b/tests/baselines/reference/exportNamespace11.symbols new file mode 100644 index 0000000000000..570eebe511c29 --- /dev/null +++ b/tests/baselines/reference/exportNamespace11.symbols @@ -0,0 +1,20 @@ +//// [tests/cases/conformance/externalModules/typeOnly/exportNamespace11.ts] //// + +=== main.ts === +import * as intermediate from './intermediate' +>intermediate : Symbol(intermediate, Decl(main.ts, 0, 6)) + +const ghost: intermediate.Ghost = new intermediate.Ghost() +>ghost : Symbol(ghost, Decl(main.ts, 1, 5)) +>intermediate : Symbol(intermediate, Decl(main.ts, 0, 6)) +>Ghost : Symbol(intermediate.Ghost, Decl(ghost.ts, 0, 0)) +>intermediate : Symbol(intermediate, Decl(main.ts, 0, 6)) + +=== intermediate.ts === + +export type * from './ghost' + +=== ghost.ts === +export class Ghost {} +>Ghost : Symbol(Ghost, Decl(ghost.ts, 0, 0)) + diff --git a/tests/baselines/reference/exportNamespace11.types b/tests/baselines/reference/exportNamespace11.types new file mode 100644 index 0000000000000..3360402e7dc3c --- /dev/null +++ b/tests/baselines/reference/exportNamespace11.types @@ -0,0 +1,22 @@ +//// [tests/cases/conformance/externalModules/typeOnly/exportNamespace11.ts] //// + +=== main.ts === +import * as intermediate from './intermediate' +>intermediate : typeof intermediate + +const ghost: intermediate.Ghost = new intermediate.Ghost() +>ghost : intermediate.Ghost +>intermediate : any +>new intermediate.Ghost() : any +>intermediate.Ghost : any +>intermediate : typeof intermediate +>Ghost : any + +=== intermediate.ts === + +export type * from './ghost' + +=== ghost.ts === +export class Ghost {} +>Ghost : Ghost + diff --git a/tests/baselines/reference/exportNamespace12.errors.txt b/tests/baselines/reference/exportNamespace12.errors.txt new file mode 100644 index 0000000000000..885f1e3acb189 --- /dev/null +++ b/tests/baselines/reference/exportNamespace12.errors.txt @@ -0,0 +1,20 @@ +main.ts(3,13): error TS1362: 'c' cannot be used as a value because it was exported using 'export type'. +main.ts(4,19): error TS2339: Property 'c' does not exist on type 'typeof import("types")'. + + +==== main.ts (2 errors) ==== + import { c } from './types' + import * as types from './types' + console.log(c) // Fails as expected, import is still allowed though. + ~ +!!! error TS1362: 'c' cannot be used as a value because it was exported using 'export type'. +!!! related TS1377 types.ts:1:1: 'c' was exported here. + console.log(types.c) // Expected an error here. + ~ +!!! error TS2339: Property 'c' does not exist on type 'typeof import("types")'. + +==== types.ts (0 errors) ==== + export type * from './values' + +==== values.ts (0 errors) ==== + export const c = 10 \ No newline at end of file diff --git a/tests/baselines/reference/exportNamespace12.js b/tests/baselines/reference/exportNamespace12.js new file mode 100644 index 0000000000000..a78bb4460622c --- /dev/null +++ b/tests/baselines/reference/exportNamespace12.js @@ -0,0 +1,28 @@ +//// [tests/cases/conformance/externalModules/typeOnly/exportNamespace12.ts] //// + +//// [main.ts] +import { c } from './types' +import * as types from './types' +console.log(c) // Fails as expected, import is still allowed though. +console.log(types.c) // Expected an error here. + +//// [types.ts] +export type * from './values' + +//// [values.ts] +export const c = 10 + +//// [values.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.c = void 0; +exports.c = 10; +//// [types.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//// [main.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var types = require("./types"); +console.log(c); // Fails as expected, import is still allowed though. +console.log(types.c); // Expected an error here. diff --git a/tests/baselines/reference/exportNamespace12.symbols b/tests/baselines/reference/exportNamespace12.symbols new file mode 100644 index 0000000000000..a2deb494b17ac --- /dev/null +++ b/tests/baselines/reference/exportNamespace12.symbols @@ -0,0 +1,29 @@ +//// [tests/cases/conformance/externalModules/typeOnly/exportNamespace12.ts] //// + +=== main.ts === +import { c } from './types' +>c : Symbol(c, Decl(main.ts, 0, 8)) + +import * as types from './types' +>types : Symbol(types, Decl(main.ts, 1, 6)) + +console.log(c) // Fails as expected, import is still allowed though. +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>c : Symbol(c, Decl(main.ts, 0, 8)) + +console.log(types.c) // Expected an error here. +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>types : Symbol(types, Decl(main.ts, 1, 6)) + +=== types.ts === + +export type * from './values' + +=== values.ts === +export const c = 10 +>c : Symbol(c, Decl(values.ts, 0, 12)) + diff --git a/tests/baselines/reference/exportNamespace12.types b/tests/baselines/reference/exportNamespace12.types new file mode 100644 index 0000000000000..1407a5ae15b3a --- /dev/null +++ b/tests/baselines/reference/exportNamespace12.types @@ -0,0 +1,34 @@ +//// [tests/cases/conformance/externalModules/typeOnly/exportNamespace12.ts] //// + +=== main.ts === +import { c } from './types' +>c : 10 + +import * as types from './types' +>types : typeof types + +console.log(c) // Fails as expected, import is still allowed though. +>console.log(c) : void +>console.log : (...data: any[]) => void +>console : Console +>log : (...data: any[]) => void +>c : 10 + +console.log(types.c) // Expected an error here. +>console.log(types.c) : void +>console.log : (...data: any[]) => void +>console : Console +>log : (...data: any[]) => void +>types.c : any +>types : typeof types +>c : any + +=== types.ts === + +export type * from './values' + +=== values.ts === +export const c = 10 +>c : 10 +>10 : 10 + diff --git a/tests/cases/conformance/externalModules/typeOnly/exportNamespace11.ts b/tests/cases/conformance/externalModules/typeOnly/exportNamespace11.ts new file mode 100644 index 0000000000000..745d91c4a244c --- /dev/null +++ b/tests/cases/conformance/externalModules/typeOnly/exportNamespace11.ts @@ -0,0 +1,9 @@ +// @filename: main.ts +import * as intermediate from './intermediate' +const ghost: intermediate.Ghost = new intermediate.Ghost() + +// @filename: intermediate.ts +export type * from './ghost' + +// @filename: ghost.ts +export class Ghost {} \ No newline at end of file diff --git a/tests/cases/conformance/externalModules/typeOnly/exportNamespace12.ts b/tests/cases/conformance/externalModules/typeOnly/exportNamespace12.ts new file mode 100644 index 0000000000000..6bc7ba5bbaa60 --- /dev/null +++ b/tests/cases/conformance/externalModules/typeOnly/exportNamespace12.ts @@ -0,0 +1,11 @@ +// @filename: main.ts +import { c } from './types' +import * as types from './types' +console.log(c) // Fails as expected, import is still allowed though. +console.log(types.c) // Expected an error here. + +// @filename: types.ts +export type * from './values' + +// @filename: values.ts +export const c = 10 \ No newline at end of file From 104b0a6495cd6903a455f8438d9cdda20adeafff Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Wed, 31 Jan 2024 06:14:18 +0000 Subject: [PATCH 11/56] Update package-lock.json --- package-lock.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 341f010885d56..23e8648c87696 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1029,9 +1029,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.11.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.10.tgz", - "integrity": "sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==", + "version": "20.11.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.13.tgz", + "integrity": "sha512-5G4zQwdiQBSWYTDAH1ctw2eidqdhMJaNsiIDKHFr55ihz5Trl2qqR8fdrT732yPBho5gkNxXm67OxWFBqX9aPg==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -2240,9 +2240,9 @@ "dev": true }, "node_modules/fast-xml-parser": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.3.3.tgz", - "integrity": "sha512-coV/D1MhrShMvU6D0I+VAK3umz6hUaxxhL0yp/9RjfiYUfAv14rDhGQL+PLForhMdr0wq3PiV07WtkkNjJjNHg==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.3.4.tgz", + "integrity": "sha512-utnwm92SyozgA3hhH2I8qldf2lBqm6qHOICawRNRFu1qMe3+oqr+GcXjGqTmXTMGE5T4eC03kr/rlh5C1IRdZA==", "dev": true, "funding": [ { @@ -5078,9 +5078,9 @@ "dev": true }, "@types/node": { - "version": "20.11.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.10.tgz", - "integrity": "sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==", + "version": "20.11.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.13.tgz", + "integrity": "sha512-5G4zQwdiQBSWYTDAH1ctw2eidqdhMJaNsiIDKHFr55ihz5Trl2qqR8fdrT732yPBho5gkNxXm67OxWFBqX9aPg==", "dev": true, "requires": { "undici-types": "~5.26.4" @@ -5963,9 +5963,9 @@ "dev": true }, "fast-xml-parser": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.3.3.tgz", - "integrity": "sha512-coV/D1MhrShMvU6D0I+VAK3umz6hUaxxhL0yp/9RjfiYUfAv14rDhGQL+PLForhMdr0wq3PiV07WtkkNjJjNHg==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.3.4.tgz", + "integrity": "sha512-utnwm92SyozgA3hhH2I8qldf2lBqm6qHOICawRNRFu1qMe3+oqr+GcXjGqTmXTMGE5T4eC03kr/rlh5C1IRdZA==", "dev": true, "requires": { "strnum": "^1.0.5" From 821b1d8fdfe5212563f18dd90c9b4d846f716432 Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Wed, 31 Jan 2024 16:47:16 -0500 Subject: [PATCH 12/56] Looser import/export elision blocking in visitElidableStatement (#57223) --- src/compiler/transformers/ts.ts | 69 +++++++++++++++++-- src/testRunner/unittests/customTransforms.ts | 45 ++++++++++++ ...importDeclarationBeforeTransformElision.js | 6 ++ 3 files changed, 114 insertions(+), 6 deletions(-) create mode 100644 tests/baselines/reference/customTransforms/importDeclarationBeforeTransformElision.js diff --git a/src/compiler/transformers/ts.ts b/src/compiler/transformers/ts.ts index 0548a5bf0da9c..a0a997e3444d5 100644 --- a/src/compiler/transformers/ts.ts +++ b/src/compiler/transformers/ts.ts @@ -86,7 +86,10 @@ import { isComputedPropertyName, isDecorator, isElementAccessExpression, + isEntityName, isEnumConst, + isExportAssignment, + isExportDeclaration, isExportOrDefaultModifier, isExportSpecifier, isExpression, @@ -96,6 +99,8 @@ import { isHeritageClause, isIdentifier, isImportClause, + isImportDeclaration, + isImportEqualsDeclaration, isImportSpecifier, isInJSFile, isInstantiatedModule, @@ -425,13 +430,65 @@ export function transformTypeScript(context: TransformationContext) { } } - function visitElidableStatement(node: ImportDeclaration | ImportEqualsDeclaration | ExportAssignment | ExportDeclaration): VisitResult { + /** + * Determines whether import/export elision is blocked for this statement. + * + * @description + * We generally block import/export elision if the statement was modified by a `before` custom + * transform, although we will continue to allow it if the statement hasn't replaced a node of a different kind and + * as long as the local bindings for the declarations are unchanged. + */ + function isElisionBlocked(node: ImportDeclaration | ImportEqualsDeclaration | ExportAssignment | ExportDeclaration) { const parsed = getParseTreeNode(node); - if (parsed !== node) { - // If the node has been transformed by a `before` transformer, perform no ellision on it - // As the type information we would attempt to lookup to perform ellision is potentially unavailable for the synthesized nodes - // We do not reuse `visitorWorker`, as the ellidable statement syntax kinds are technically unrecognized by the switch-case in `visitTypeScript`, - // and will trigger debug failures when debug verbosity is turned up + if (parsed === node || isExportAssignment(node)) { + return false; + } + + if (!parsed || parsed.kind !== node.kind) { + // no longer safe to elide as the declaration was replaced with a node of a different kind + return true; + } + + switch (node.kind) { + case SyntaxKind.ImportDeclaration: + Debug.assertNode(parsed, isImportDeclaration); + if (node.importClause !== parsed.importClause) { + return true; // no longer safe to elide as the import clause has changed + } + if (node.attributes !== parsed.attributes) { + return true; // no longer safe to elide as the import attributes have changed + } + break; + case SyntaxKind.ImportEqualsDeclaration: + Debug.assertNode(parsed, isImportEqualsDeclaration); + if (node.name !== parsed.name) { + return true; // no longer safe to elide as local binding has changed + } + if (node.isTypeOnly !== parsed.isTypeOnly) { + return true; // no longer safe to elide as `type` modifier has changed + } + if (node.moduleReference !== parsed.moduleReference && (isEntityName(node.moduleReference) || isEntityName(parsed.moduleReference))) { + return true; // no longer safe to elide as EntityName reference has changed. + } + break; + case SyntaxKind.ExportDeclaration: + Debug.assertNode(parsed, isExportDeclaration); + if (node.exportClause !== parsed.exportClause) { + return true; // no longer safe to elide as the export clause has changed + } + if (node.attributes !== parsed.attributes) { + return true; // no longer safe to elide as the export attributes have changed + } + break; + } + + return false; + } + + function visitElidableStatement(node: ImportDeclaration | ImportEqualsDeclaration | ExportAssignment | ExportDeclaration): VisitResult { + if (isElisionBlocked(node)) { + // We do not reuse `visitorWorker`, as the ellidable statement syntax kinds are technically unrecognized by + // the switch-case in `visitTypeScript`, and will trigger debug failures when debug verbosity is turned up. if (node.transformFlags & TransformFlags.ContainsTypeScript) { // This node contains TypeScript, so we should visit its children. return visitEachChild(node, visitor, context); diff --git a/src/testRunner/unittests/customTransforms.ts b/src/testRunner/unittests/customTransforms.ts index c401275203d63..19d9d44562c7c 100644 --- a/src/testRunner/unittests/customTransforms.ts +++ b/src/testRunner/unittests/customTransforms.ts @@ -164,4 +164,49 @@ describe("unittests:: customTransforms", () => { }, ], }, { sourceMap: true, outFile: "source.js" }); + + emitsCorrectly("importDeclarationBeforeTransformElision", [ + { + file: "a.ts", + text: "export type A = string;", + }, + { + file: "index.ts", + text: "import { A } from './a.js';\nexport { A } from './a.js';", + }, + ], { + before: [ + context => { + const { factory } = context; + return (s: ts.SourceFile) => ts.visitEachChild(s, visitor, context); + + function visitor(node: ts.Node): ts.Node { + if (ts.isImportDeclaration(node) && ts.isStringLiteral(node.moduleSpecifier)) { + return factory.updateImportDeclaration( + node, + node.modifiers, + node.importClause, + factory.createStringLiteral(node.moduleSpecifier.text), + node.attributes, + ); + } + + if (ts.isExportDeclaration(node) && node.moduleSpecifier && ts.isStringLiteral(node.moduleSpecifier)) { + return factory.updateExportDeclaration( + node, + node.modifiers, + node.isTypeOnly, + node.exportClause, + factory.createStringLiteral(node.moduleSpecifier.text), + node.attributes, + ); + } + return node; + } + }, + ], + }, { + target: ts.ScriptTarget.ESNext, + module: ts.ModuleKind.ESNext, + }); }); diff --git a/tests/baselines/reference/customTransforms/importDeclarationBeforeTransformElision.js b/tests/baselines/reference/customTransforms/importDeclarationBeforeTransformElision.js new file mode 100644 index 0000000000000..e3ecd13825ab6 --- /dev/null +++ b/tests/baselines/reference/customTransforms/importDeclarationBeforeTransformElision.js @@ -0,0 +1,6 @@ +// [a.js] +export {}; + + +// [index.js] +export {}; From b1dca1d1718abd6fe16bac3a0a219825ab545ce5 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 31 Jan 2024 20:49:46 -0800 Subject: [PATCH 13/56] Consider dtsBundler.mjs mod time in `hereby dts` (#57256) --- Herebyfile.mjs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Herebyfile.mjs b/Herebyfile.mjs index cd8b6a5145d7a..c3acff2969ebf 100644 --- a/Herebyfile.mjs +++ b/Herebyfile.mjs @@ -159,13 +159,15 @@ export const cleanSrc = task({ run: () => cleanProject("src"), }); +const dtsBundlerPath = "./scripts/dtsBundler.mjs"; + /** * @param {string} entrypoint * @param {string} output */ async function runDtsBundler(entrypoint, output) { await exec(process.execPath, [ - "./scripts/dtsBundler.mjs", + dtsBundlerPath, "--entrypoint", entrypoint, "--output", @@ -392,7 +394,7 @@ export const dtsServices = task({ description: "Bundles typescript.d.ts", dependencies: [buildServices], run: async () => { - if (needsUpdate("./built/local/typescript/tsconfig.tsbuildinfo", ["./built/local/typescript.d.ts", "./built/local/typescript.internal.d.ts"])) { + if (needsUpdate(["./built/local/typescript/tsconfig.tsbuildinfo", dtsBundlerPath], ["./built/local/typescript.d.ts", "./built/local/typescript.internal.d.ts"])) { await runDtsBundler("./built/local/typescript/typescript.d.ts", "./built/local/typescript.d.ts"); } }, From f1c841b8257725f81c03a19bc55a56e4f2ea47c6 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Thu, 1 Feb 2024 06:14:14 +0000 Subject: [PATCH 14/56] Update package-lock.json --- package-lock.json | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 23e8648c87696..f75fdd5aa890e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1029,9 +1029,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.11.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.13.tgz", - "integrity": "sha512-5G4zQwdiQBSWYTDAH1ctw2eidqdhMJaNsiIDKHFr55ihz5Trl2qqR8fdrT732yPBho5gkNxXm67OxWFBqX9aPg==", + "version": "20.11.14", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.14.tgz", + "integrity": "sha512-w3yWCcwULefjP9DmDDsgUskrMoOy5Z8MiwKHr1FvqGPtx7CvJzQvxD7eKpxNtklQxLruxSXWddyeRtyud0RcXQ==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -1371,9 +1371,9 @@ } }, "node_modules/azure-devops-node-api": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-12.3.0.tgz", - "integrity": "sha512-5HDhBFIXJxiFhcJ+A3hN87gwo92PrDNLJvcvRHjr+p7AsuUSF64yQU+M6wcBDczkIDVV7m+MrraKQ2tqUxSbCA==", + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-12.4.0.tgz", + "integrity": "sha512-ZrJlnoAOjliBYvO1wV9oa5Saa3h5tfRbvCSpwjqryag7bIeeY5Zl/zGiZBVD+75EumhtY5mOXNBzHvLf6JmdNQ==", "dev": true, "dependencies": { "tunnel": "0.0.6", @@ -2641,9 +2641,9 @@ "dev": true }, "node_modules/ignore": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", - "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "dev": true, "engines": { "node": ">= 4" @@ -5078,9 +5078,9 @@ "dev": true }, "@types/node": { - "version": "20.11.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.13.tgz", - "integrity": "sha512-5G4zQwdiQBSWYTDAH1ctw2eidqdhMJaNsiIDKHFr55ihz5Trl2qqR8fdrT732yPBho5gkNxXm67OxWFBqX9aPg==", + "version": "20.11.14", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.14.tgz", + "integrity": "sha512-w3yWCcwULefjP9DmDDsgUskrMoOy5Z8MiwKHr1FvqGPtx7CvJzQvxD7eKpxNtklQxLruxSXWddyeRtyud0RcXQ==", "dev": true, "requires": { "undici-types": "~5.26.4" @@ -5295,9 +5295,9 @@ "dev": true }, "azure-devops-node-api": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-12.3.0.tgz", - "integrity": "sha512-5HDhBFIXJxiFhcJ+A3hN87gwo92PrDNLJvcvRHjr+p7AsuUSF64yQU+M6wcBDczkIDVV7m+MrraKQ2tqUxSbCA==", + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-12.4.0.tgz", + "integrity": "sha512-ZrJlnoAOjliBYvO1wV9oa5Saa3h5tfRbvCSpwjqryag7bIeeY5Zl/zGiZBVD+75EumhtY5mOXNBzHvLf6JmdNQ==", "dev": true, "requires": { "tunnel": "0.0.6", @@ -6232,9 +6232,9 @@ "dev": true }, "ignore": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", - "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "dev": true }, "import-fresh": { From ee2090d7f2afee0663d140909cedef77ed1a6428 Mon Sep 17 00:00:00 2001 From: Isabel Duan Date: Thu, 1 Feb 2024 10:32:58 -0800 Subject: [PATCH 15/56] fix 57215 -- add support for import attributes to OrganizeImports (#57250) --- src/services/organizeImports.ts | 172 ++++++++++-------- .../fourslash/organizeImportsAttributes.ts | 20 ++ .../fourslash/organizeImportsAttributes2.ts | 20 ++ .../fourslash/organizeImportsAttributes3.ts | 20 ++ .../fourslash/organizeImportsAttributes4.ts | 21 +++ 5 files changed, 175 insertions(+), 78 deletions(-) create mode 100644 tests/cases/fourslash/organizeImportsAttributes.ts create mode 100644 tests/cases/fourslash/organizeImportsAttributes2.ts create mode 100644 tests/cases/fourslash/organizeImportsAttributes3.ts create mode 100644 tests/cases/fourslash/organizeImportsAttributes4.ts diff --git a/src/services/organizeImports.ts b/src/services/organizeImports.ts index b9c2f7e89096f..20ddb07e00e1c 100644 --- a/src/services/organizeImports.ts +++ b/src/services/organizeImports.ts @@ -59,6 +59,7 @@ import { Scanner, setEmitFlags, some, + sort, SortKind, SourceFile, stableSort, @@ -322,96 +323,111 @@ function coalesceImportsWorker(importGroup: readonly ImportDeclaration[], compar return importGroup; } - const { importWithoutClause, typeOnlyImports, regularImports } = getCategorizedImports(importGroup); - const coalescedImports: ImportDeclaration[] = []; - - if (importWithoutClause) { - coalescedImports.push(importWithoutClause); - } - - for (const group of [regularImports, typeOnlyImports]) { - const isTypeOnly = group === typeOnlyImports; - const { defaultImports, namespaceImports, namedImports } = group; - // Normally, we don't combine default and namespace imports, but it would be silly to - // produce two import declarations in this special case. - if (!isTypeOnly && defaultImports.length === 1 && namespaceImports.length === 1 && namedImports.length === 0) { - // Add the namespace import to the existing default ImportDeclaration. - const defaultImport = defaultImports[0]; - coalescedImports.push( - updateImportDeclarationAndClause(defaultImport, defaultImport.importClause.name, namespaceImports[0].importClause.namedBindings), - ); - - continue; + const importGroupsByAttributes = groupBy(importGroup, decl => { + if (decl.attributes) { + let attrs = decl.attributes.token + " "; + for (const x of sort(decl.attributes.elements, (x, y) => compareStringsCaseSensitive(x.name.text, y.name.text))) { + attrs += x.name.text + ":"; + attrs += isStringLiteralLike(x.value) ? `"${x.value.text}"` : x.value.getText() + " "; + } + return attrs; } + return ""; + }); - const sortedNamespaceImports = stableSort(namespaceImports, (i1, i2) => comparer(i1.importClause.namedBindings.name.text, i2.importClause.namedBindings.name.text)); + const coalescedImports: ImportDeclaration[] = []; + for (const attribute in importGroupsByAttributes) { + const importGroupSameAttrs = importGroupsByAttributes[attribute] as ImportDeclaration[]; + const { importWithoutClause, typeOnlyImports, regularImports } = getCategorizedImports(importGroupSameAttrs); + + if (importWithoutClause) { + coalescedImports.push(importWithoutClause); + } + + for (const group of [regularImports, typeOnlyImports]) { + const isTypeOnly = group === typeOnlyImports; + const { defaultImports, namespaceImports, namedImports } = group; + // Normally, we don't combine default and namespace imports, but it would be silly to + // produce two import declarations in this special case. + if (!isTypeOnly && defaultImports.length === 1 && namespaceImports.length === 1 && namedImports.length === 0) { + // Add the namespace import to the existing default ImportDeclaration. + const defaultImport = defaultImports[0]; + coalescedImports.push( + updateImportDeclarationAndClause(defaultImport, defaultImport.importClause.name, namespaceImports[0].importClause.namedBindings), + ); - for (const namespaceImport of sortedNamespaceImports) { - // Drop the name, if any - coalescedImports.push( - updateImportDeclarationAndClause(namespaceImport, /*name*/ undefined, namespaceImport.importClause.namedBindings), - ); - } + continue; + } - const firstDefaultImport = firstOrUndefined(defaultImports); - const firstNamedImport = firstOrUndefined(namedImports); - const importDecl = firstDefaultImport ?? firstNamedImport; - if (!importDecl) { - continue; - } + const sortedNamespaceImports = stableSort(namespaceImports, (i1, i2) => comparer(i1.importClause.namedBindings.name.text, i2.importClause.namedBindings.name.text)); - let newDefaultImport: Identifier | undefined; - const newImportSpecifiers: ImportSpecifier[] = []; - if (defaultImports.length === 1) { - newDefaultImport = defaultImports[0].importClause.name; - } - else { - for (const defaultImport of defaultImports) { - newImportSpecifiers.push( - factory.createImportSpecifier(/*isTypeOnly*/ false, factory.createIdentifier("default"), defaultImport.importClause.name), + for (const namespaceImport of sortedNamespaceImports) { + // Drop the name, if any + coalescedImports.push( + updateImportDeclarationAndClause(namespaceImport, /*name*/ undefined, namespaceImport.importClause.namedBindings), ); } - } - newImportSpecifiers.push(...getNewImportSpecifiers(namedImports)); + const firstDefaultImport = firstOrUndefined(defaultImports); + const firstNamedImport = firstOrUndefined(namedImports); + const importDecl = firstDefaultImport ?? firstNamedImport; + if (!importDecl) { + continue; + } - const sortedImportSpecifiers = factory.createNodeArray( - sortSpecifiers(newImportSpecifiers, comparer, preferences), - firstNamedImport?.importClause.namedBindings.elements.hasTrailingComma, - ); + let newDefaultImport: Identifier | undefined; + const newImportSpecifiers: ImportSpecifier[] = []; + if (defaultImports.length === 1) { + newDefaultImport = defaultImports[0].importClause.name; + } + else { + for (const defaultImport of defaultImports) { + newImportSpecifiers.push( + factory.createImportSpecifier(/*isTypeOnly*/ false, factory.createIdentifier("default"), defaultImport.importClause.name), + ); + } + } - const newNamedImports = sortedImportSpecifiers.length === 0 - ? newDefaultImport - ? undefined - : factory.createNamedImports(emptyArray) - : firstNamedImport - ? factory.updateNamedImports(firstNamedImport.importClause.namedBindings, sortedImportSpecifiers) - : factory.createNamedImports(sortedImportSpecifiers); - - if ( - sourceFile && - newNamedImports && - firstNamedImport?.importClause.namedBindings && - !rangeIsOnSingleLine(firstNamedImport.importClause.namedBindings, sourceFile) - ) { - setEmitFlags(newNamedImports, EmitFlags.MultiLine); - } + newImportSpecifiers.push(...getNewImportSpecifiers(namedImports)); - // Type-only imports are not allowed to mix default, namespace, and named imports in any combination. - // We could rewrite a default import as a named import (`import { default as name }`), but we currently - // choose not to as a stylistic preference. - if (isTypeOnly && newDefaultImport && newNamedImports) { - coalescedImports.push( - updateImportDeclarationAndClause(importDecl, newDefaultImport, /*namedBindings*/ undefined), - ); - coalescedImports.push( - updateImportDeclarationAndClause(firstNamedImport ?? importDecl, /*name*/ undefined, newNamedImports), - ); - } - else { - coalescedImports.push( - updateImportDeclarationAndClause(importDecl, newDefaultImport, newNamedImports), + const sortedImportSpecifiers = factory.createNodeArray( + sortSpecifiers(newImportSpecifiers, comparer, preferences), + firstNamedImport?.importClause.namedBindings.elements.hasTrailingComma, ); + + const newNamedImports = sortedImportSpecifiers.length === 0 + ? newDefaultImport + ? undefined + : factory.createNamedImports(emptyArray) + : firstNamedImport + ? factory.updateNamedImports(firstNamedImport.importClause.namedBindings, sortedImportSpecifiers) + : factory.createNamedImports(sortedImportSpecifiers); + + if ( + sourceFile && + newNamedImports && + firstNamedImport?.importClause.namedBindings && + !rangeIsOnSingleLine(firstNamedImport.importClause.namedBindings, sourceFile) + ) { + setEmitFlags(newNamedImports, EmitFlags.MultiLine); + } + + // Type-only imports are not allowed to mix default, namespace, and named imports in any combination. + // We could rewrite a default import as a named import (`import { default as name }`), but we currently + // choose not to as a stylistic preference. + if (isTypeOnly && newDefaultImport && newNamedImports) { + coalescedImports.push( + updateImportDeclarationAndClause(importDecl, newDefaultImport, /*namedBindings*/ undefined), + ); + coalescedImports.push( + updateImportDeclarationAndClause(firstNamedImport ?? importDecl, /*name*/ undefined, newNamedImports), + ); + } + else { + coalescedImports.push( + updateImportDeclarationAndClause(importDecl, newDefaultImport, newNamedImports), + ); + } } } diff --git a/tests/cases/fourslash/organizeImportsAttributes.ts b/tests/cases/fourslash/organizeImportsAttributes.ts new file mode 100644 index 0000000000000..2eb0bf8269b29 --- /dev/null +++ b/tests/cases/fourslash/organizeImportsAttributes.ts @@ -0,0 +1,20 @@ +/// + +//// import { A } from "./file"; +//// import { type B } from "./file"; +//// import { C } from "./file" assert { type: "a" }; +//// import { A as D } from "./file" assert { type: "b" }; +//// import { E } from "./file" with { type: "a" }; +//// import { A as F } from "./file" with { type: "b" }; +//// +//// type G = A | B | C | D | E | F; + +verify.organizeImports( +`import { A, type B } from "./file"; +import { C } from "./file" assert { type: "a" }; +import { A as D } from "./file" assert { type: "b" }; +import { E } from "./file" with { type: "a" }; +import { A as F } from "./file" with { type: "b" }; + +type G = A | B | C | D | E | F;`); + \ No newline at end of file diff --git a/tests/cases/fourslash/organizeImportsAttributes2.ts b/tests/cases/fourslash/organizeImportsAttributes2.ts new file mode 100644 index 0000000000000..2bc650dfbceca --- /dev/null +++ b/tests/cases/fourslash/organizeImportsAttributes2.ts @@ -0,0 +1,20 @@ +/// + +////import { A } from "./a"; +////import { C } from "./a" assert { type: "a" }; +////import { Z } from "./z"; +////import { A as D } from "./a" assert { type: "b" }; +////import { E } from "./a" with { type: "a" }; +////import { F } from "./a" assert { type: "a" }; +////import { B } from "./a"; +//// +////export type G = A | B | C | D | E | F | Z; + +verify.organizeImports( +`import { A, B } from "./a"; +import { C, F } from "./a" assert { type: "a" }; +import { A as D } from "./a" assert { type: "b" }; +import { E } from "./a" with { type: "a" }; +import { Z } from "./z"; + +export type G = A | B | C | D | E | F | Z;`); \ No newline at end of file diff --git a/tests/cases/fourslash/organizeImportsAttributes3.ts b/tests/cases/fourslash/organizeImportsAttributes3.ts new file mode 100644 index 0000000000000..d8ad60a8112a6 --- /dev/null +++ b/tests/cases/fourslash/organizeImportsAttributes3.ts @@ -0,0 +1,20 @@ +/// + +////import { A } from "./a"; +////import { C } from "./a" assert { type: "a" }; +////import { Z } from "./z"; +////import { A as D } from "./a" assert { type: "b" }; +////import { E } from "./a" assert { type: /* comment*/ "a" }; +////import { F } from "./a" assert {type: "a" }; +////import { Y } from "./a" assert{ type: "b" /* comment*/}; +////import { B } from "./a"; +//// +////export type G = A | B | C | D | E | F | Y | Z; + +verify.organizeImports( +`import { A, B } from "./a"; +import { C, E, F } from "./a" assert { type: "a" }; +import { A as D, Y } from "./a" assert { type: "b" }; +import { Z } from "./z"; + +export type G = A | B | C | D | E | F | Y | Z;`); \ No newline at end of file diff --git a/tests/cases/fourslash/organizeImportsAttributes4.ts b/tests/cases/fourslash/organizeImportsAttributes4.ts new file mode 100644 index 0000000000000..bded70d338c6b --- /dev/null +++ b/tests/cases/fourslash/organizeImportsAttributes4.ts @@ -0,0 +1,21 @@ +/// + +////import { A } from "./a" assert { foo: "foo", bar: "bar" }; +////import { B } from "./a" assert { bar: "bar", foo: "foo" }; +////import { D } from "./a" assert { bar: "foo", foo: "bar" }; +////import { E } from "./a" assert { foo: 'bar', bar: "foo" }; +////import { C } from "./a" assert { foo: "bar", bar: "foo" }; +////import { F } from "./a" assert { foo: "42" }; +////import { Y } from "./a" assert { foo: 42 }; +////import { Z } from "./a" assert { foo: "42" }; +//// +////export type G = A | B | C | D | E | F | Y | Z; + + +verify.organizeImports( +`import { A, B } from "./a" assert { foo: "foo", bar: "bar" }; +import { C, D, E } from "./a" assert { bar: "foo", foo: "bar" }; +import { F, Z } from "./a" assert { foo: "42" }; +import { Y } from "./a" assert { foo: 42 }; + +export type G = A | B | C | D | E | F | Y | Z;`); \ No newline at end of file From ee46953bc94b1d95137a8a247f56b9d00ff2704a Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 1 Feb 2024 14:01:43 -0800 Subject: [PATCH 16/56] Baseline Project Service State for easy diffing in changes (#57255) Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com> --- src/harness/harnessLanguageService.ts | 12 + src/harness/projectServiceStateLogger.ts | 251 + src/server/editorServices.ts | 27 +- src/server/project.ts | 9 +- src/server/scriptInfo.ts | 2 +- src/server/session.ts | 4 +- src/testRunner/unittests/helpers/tsserver.ts | 7 + .../helpers/virtualFileSystemWithWatch.ts | 2 + .../unittests/tsserver/autoImportProvider.ts | 29 +- .../unittests/tsserver/exportMapCache.ts | 3 + .../tsserver/partialSemanticServer.ts | 1 + src/testRunner/unittests/tsserver/projects.ts | 2 +- .../unittests/tsserver/typingsInstaller.ts | 1 + tests/baselines/reference/api/typescript.d.ts | 12 - .../with-applyChangedToOpenFiles-request.js | 120 +- .../with-updateOpen-request.js | 120 +- ...e-is-in-inferred-project-until-imported.js | 42 +- ...roviderProject-when-host-project-closes.js | 207 +- ...-are-redirects-that-dont-actually-exist.js | 27 +- ...ider-if-there-are-too-many-dependencies.js | 15 +- ...pening-projects-for-find-all-references.js | 64 +- ...s-on-AutoImportProviderProject-creation.js | 72 +- ...covers-from-an-unparseable-package_json.js | 60 +- ...ds-to-automatic-changes-in-node_modules.js | 84 +- ...ponds-to-manual-changes-in-node_modules.js | 114 +- .../Responds-to-package_json-changes.js | 60 +- ...der-when-program-structure-is-unchanged.js | 48 +- ...een-AutoImportProvider-and-main-program.js | 30 +- ...ependencies-are-already-in-main-program.js | 19 +- .../projects-already-inside-node_modules.js | 20 +- .../without-dependencies-listed.js | 15 +- ...-not-remove-scrips-from-InferredProject.js | 90 +- ...-added-later-through-finding-definition.js | 65 +- ...olution-is-reused-from-different-folder.js | 72 +- ...-FLLs-in-Classic-module-resolution-mode.js | 51 +- ...der-FLLs-in-Node-module-resolution-mode.js | 51 +- .../loads-missing-files-from-disk.js | 20 +- ...-when-timeout-occurs-after-installation.js | 43 +- ...n-timeout-occurs-inbetween-installation.js | 67 +- ...-file-with-case-insensitive-file-system.js | 70 +- ...ig-file-with-case-sensitive-file-system.js | 70 +- .../when-calling-goto-definition-of-module.js | 36 +- ...n-creating-new-file-in-symlinked-folder.js | 51 +- ...eive-event-for-the-@types-file-addition.js | 43 +- .../works-using-legacy-resolution-logic.js | 45 +- .../cancellationT/Geterr-is-cancellable.js | 13 +- .../Lower-priority-tasks-are-cancellable.js | 13 +- .../cancellationT/is-attached-to-request.js | 13 +- .../install-package-when-serialized.js | 17 +- .../tsserver/codeFix/install-package.js | 17 +- ...quest-when-projectFile-is-not-specified.js | 132 +- ...stRequest-when-projectFile-is-specified.js | 130 +- ...sesOutFile-should-be-true-if-out-is-set.js | 17 +- ...utFile-should-be-true-if-outFile-is-set.js | 17 +- ...tFile-should-not-be-returned-if-not-set.js | 17 +- ...ojects-all-projects-without-projectPath.js | 53 +- ...figProjects-cascaded-affected-file-list.js | 103 +- .../configProjects-circular-references.js | 28 +- .../configProjects-compileOnSave-disabled.js | 25 +- ...Projects-compileOnSave-in-base-tsconfig.js | 44 +- ...ojects-detect-changes-in-non-root-files.js | 78 +- ...onfigProjects-global-file-shape-changed.js | 66 +- .../configProjects-isolatedModules.js | 42 +- .../configProjects-module-shape-changed.js | 126 +- .../compileOnSave/configProjects-noEmit.js | 25 +- .../configProjects-non-existing-code.js | 13 +- .../compileOnSave/configProjects-outFile.js | 42 +- .../configProjects-removed-code.js | 39 +- ...uptodate-with-changes-in-non-open-files.js | 126 +- ...figProjects-uptodate-with-deleted-files.js | 97 +- .../configProjects-uptodate-with-new-files.js | 112 +- ...cts-uptodate-with-reference-map-changes.js | 188 +- ...ileChange-in-global-file-with-composite.js | 28 +- ...ange-in-global-file-with-decorator-emit.js | 28 +- ...FileChange-in-global-file-with-dts-emit.js | 28 +- .../dtsFileChange-in-global-file.js | 28 +- .../dtsFileChange-in-module-file.js | 28 +- .../emit-in-project-with-dts-emit.js | 94 +- ...it-in-project-with-module-with-dts-emit.js | 110 +- .../emit-in-project-with-module.js | 110 +- .../tsserver/compileOnSave/emit-in-project.js | 94 +- .../compileOnSave/emit-specified-file.js | 36 +- .../emit-with-richRepsonse-as-false.js | 51 +- .../emit-with-richRepsonse-as-true.js | 51 +- .../emit-with-richRepsonse-as-undefined.js | 51 +- .../tsserver/compileOnSave/line-endings.js | 26 +- ...-not-emit-js-files-in-external-projects.js | 26 +- .../use-projectRoot-as-current-directory.js | 22 +- ...ed-from-two-different-drives-of-windows.js | 38 +- .../reference/tsserver/completions/works.js | 28 +- ...-not-count-against-the-resolution-limit.js | 1626 ++++++- ...ailable-from-module-specifier-cache-(1).js | 426 +- ...ailable-from-module-specifier-cache-(2).js | 2452 +++++++++- ...-for-transient-symbols-between-requests.js | 1251 ++++- ...orks-with-PackageJsonAutoImportProvider.js | 1865 +++++++- .../tsserver/completionsIncomplete/works.js | 4052 ++++++++++++++++- ...should-stop-at-projectRootPath-if-given.js | 42 +- ...-searching-for-inferred-project-again-2.js | 49 +- ...en-searching-for-inferred-project-again.js | 49 +- .../tsconfig-for-the-file-does-not-exist.js | 84 +- .../tsconfig-for-the-file-exists.js | 81 +- .../when-projectRootPath-is-not-present.js | 22 +- ...esent-but-file-is-not-from-project-root.js | 22 +- ...-are-all-closed-when-the-update-happens.js | 159 +- ...oject-as-part-of-configured-file-update.js | 286 +- ...onfig-file-in-a-folder-with-loose-files.js | 136 +- ...-a-configured-project-without-file-list.js | 43 +- ...has-changed-(new-file-in-list-of-files).js | 35 +- ...ot-files-has-changed-(new-file-on-disk).js | 35 +- ...-when-set-of-root-files-was-not-changed.js | 24 +- ...on-reflected-when-specifying-files-list.js | 69 +- ...e-configured-project-with-the-file-list.js | 21 +- ...te-configured-project-without-file-list.js | 21 +- ...er-old-one-without-file-being-in-config.js | 50 +- ...invoked,-ask-errors-on-it-after-old-one.js | 51 +- ...re-old-one-without-file-being-in-config.js | 50 +- ...nvoked,-ask-errors-on-it-before-old-one.js | 51 +- ...er-old-one-without-file-being-in-config.js | 50 +- ...invoked,-ask-errors-on-it-after-old-one.js | 88 +- ...re-old-one-without-file-being-in-config.js | 50 +- ...nvoked,-ask-errors-on-it-before-old-one.js | 88 +- ...uses-parent-most-node_modules-directory.js | 25 +- ...ached-when-language-service-is-disabled.js | 95 +- ...iles-explicitly-excluded-in-config-file.js | 41 +- .../handle-recreated-files-correctly.js | 61 +- ...ject-if-it-is-referenced-from-root-file.js | 77 +- ...ndle-@types-if-input-file-list-is-empty.js | 26 +- ...server-when-reading-tsconfig-file-fails.js | 17 +- ...e-tolerated-without-crashing-the-server.js | 18 +- ...ting-files-specified-in-the-config-file.js | 33 +- ...erenced-by-the-project-but-not-its-root.js | 39 +- ...n-if-its-not-the-file-from-same-project.js | 58 +- ...odule-resolution-changes-in-config-file.js | 124 +- ...nfigured-project-that-has-no-open-files.js | 39 +- ...the-extended-configs-of-closed-projects.js | 157 +- ...errors-and-still-try-to-build-a-project.js | 17 +- ...nclude-files-that-start-in-subDirectory.js | 22 +- ...e-extended-configs-of-multiple-projects.js | 77 +- ...rk-even-if-language-service-is-disabled.js | 17 +- ...gured-project-does-not-contain-the-file.js | 115 +- .../when-file-name-starts-with-caret.js | 21 +- ...re-open-detects-correct-default-project.js | 52 +- ...s-not-jump-to-source-if-inlined-sources.js | 126 +- ...indAllReferences-starting-at-definition.js | 198 +- ...findAllReferences-target-does-not-exist.js | 152 +- .../declarationFileMaps/findAllReferences.js | 180 +- ...rencesFull-definition-is-in-mapped-file.js | 41 +- .../findAllReferencesFull.js | 180 +- ...nitionAndBoundSpan-with-file-navigation.js | 157 +- .../getDefinitionAndBoundSpan.js | 161 +- ...ect-doesnt-include-file-and-its-renamed.js | 33 +- .../getEditsForFileRename.js | 170 +- .../goToDefinition-target-does-not-exist.js | 152 +- .../declarationFileMaps/goToDefinition.js | 161 +- .../declarationFileMaps/goToImplementation.js | 161 +- .../tsserver/declarationFileMaps/goToType.js | 161 +- .../declarationFileMaps/navigateTo.js | 170 +- ...ll-file-is-not-specified-but-project-is.js | 72 +- ...l-neither-file-not-project-is-specified.js | 72 +- .../renameLocations-starting-at-definition.js | 198 +- .../renameLocations-target-does-not-exist.js | 152 +- .../declarationFileMaps/renameLocations.js | 180 +- .../renameLocationsFull.js | 180 +- ...-orphan,-and-orphan-script-info-changes.js | 83 +- ...he-source-file-if-script-info-is-orphan.js | 81 +- ...n-script-info-with-different-scriptKind.js | 63 +- .../works-with-import-fixes.js | 44 +- ...eInferredProjectPerProjectRoot-is-false.js | 22 +- ...h-with-useInferredProjectPerProjectRoot.js | 47 +- ...eference-paths-without-external-project.js | 22 +- .../dynamic-file-without-external-project.js | 22 +- ...Path-is-different-from-currentDirectory.js | 59 +- .../dynamicFiles/opening-untitled-files.js | 88 +- ...tled-can-convert-positions-to-locations.js | 33 +- .../tsserver/dynamicFiles/untitled.js | 17 +- .../dynamicFiles/walkThroughSnippet.js | 17 +- ...anging-scriptKind-of-the-untitled-files.js | 45 +- ...s-file-is-included-by-module-resolution.js | 21 +- ...n-large-js-file-is-included-by-tsconfig.js | 21 +- ...s-file-is-included-by-module-resolution.js | 21 +- ...n-large-ts-file-is-included-by-tsconfig.js | 21 +- ...e-service-disabled-events-are-triggered.js | 41 +- ...large-file-size-is-determined-correctly.js | 25 +- ...g-file-when-using-default-event-handler.js | 24 +- ...ed-config-file-when-using-event-handler.js | 24 +- ...g-file-when-using-default-event-handler.js | 24 +- ...he-config-file-when-using-event-handler.js | 24 +- ...sabled-when-using-default-event-handler.js | 27 +- ...ct-is-disabled-when-using-event-handler.js | 27 +- ...-false-when-using-default-event-handler.js | 22 +- ...oject-is-false-when-using-event-handler.js | 22 +- ...opened-when-using-default-event-handler.js | 27 +- ...file-is-opened-when-using-event-handler.js | 27 +- ...direct-when-using-default-event-handler.js | 53 +- ...erenceRedirect-when-using-event-handler.js | 53 +- ...roject-when-using-default-event-handler.js | 47 +- ...cation-project-when-using-event-handler.js | 47 +- ...n-file-when-using-default-event-handler.js | 42 +- ...d-by-open-file-when-using-event-handler.js | 42 +- ...he-session-and-project-is-at-root-level.js | 58 +- ...ession-and-project-is-not-at-root-level.js | 88 +- ...tself-if---isolatedModules-is-specified.js | 51 +- ...self-if---out-or---outFile-is-specified.js | 51 +- ...should-be-up-to-date-with-deleted-files.js | 47 +- ...-be-up-to-date-with-newly-created-files.js | 55 +- ...-to-date-with-the-reference-map-changes.js | 302 +- ...session-and-should-contains-only-itself.js | 112 +- ...should-detect-changes-in-non-root-files.js | 76 +- ...nd-should-detect-non-existing-code-file.js | 67 +- ...ion-and-should-detect-removed-code-file.js | 35 +- ...ll-files-if-a-global-file-changed-shape.js | 51 +- ...ould-return-cascaded-affected-file-list.js | 229 +- ...fine-for-files-with-circular-references.js | 39 +- ...et-in-the-session-and-when---out-is-set.js | 80 +- ...n-the-session-and-when---outFile-is-set.js | 80 +- ...in-the-session-and-when-adding-new-file.js | 73 +- ...ssion-and-when-both-options-are-not-set.js | 80 +- ...oundUpdate-and-project-is-at-root-level.js | 58 +- ...Update-and-project-is-not-at-root-level.js | 88 +- ...tself-if---isolatedModules-is-specified.js | 51 +- ...self-if---out-or---outFile-is-specified.js | 51 +- ...should-be-up-to-date-with-deleted-files.js | 47 +- ...-be-up-to-date-with-newly-created-files.js | 55 +- ...-to-date-with-the-reference-map-changes.js | 302 +- ...dUpdate-and-should-contains-only-itself.js | 112 +- ...should-detect-changes-in-non-root-files.js | 76 +- ...nd-should-detect-non-existing-code-file.js | 67 +- ...ate-and-should-detect-removed-code-file.js | 35 +- ...ll-files-if-a-global-file-changed-shape.js | 51 +- ...ould-return-cascaded-affected-file-list.js | 229 +- ...fine-for-files-with-circular-references.js | 39 +- ...nBackgroundUpdate-and-when---out-is-set.js | 80 +- ...kgroundUpdate-and-when---outFile-is-set.js | 80 +- ...ckgroundUpdate-and-when-adding-new-file.js | 73 +- ...pdate-and-when-both-options-are-not-set.js | 80 +- ...oundUpdate-and-project-is-at-root-level.js | 58 +- ...Update-and-project-is-not-at-root-level.js | 83 +- ...tself-if---isolatedModules-is-specified.js | 51 +- ...self-if---out-or---outFile-is-specified.js | 51 +- ...should-be-up-to-date-with-deleted-files.js | 47 +- ...-be-up-to-date-with-newly-created-files.js | 55 +- ...-to-date-with-the-reference-map-changes.js | 302 +- ...dUpdate-and-should-contains-only-itself.js | 112 +- ...should-detect-changes-in-non-root-files.js | 76 +- ...nd-should-detect-non-existing-code-file.js | 67 +- ...ate-and-should-detect-removed-code-file.js | 35 +- ...ll-files-if-a-global-file-changed-shape.js | 51 +- ...ould-return-cascaded-affected-file-list.js | 229 +- ...fine-for-files-with-circular-references.js | 39 +- ...nBackgroundUpdate-and-when---out-is-set.js | 80 +- ...kgroundUpdate-and-when---outFile-is-set.js | 80 +- ...ckgroundUpdate-and-when-adding-new-file.js | 73 +- ...pdate-and-when-both-options-are-not-set.js | 80 +- .../canUseWatchEvents-without-canUseEvents.js | 134 +- .../events/watchEvents/canUseWatchEvents.js | 134 +- .../caches-auto-imports-in-the-same-file.js | 58 +- ...ckage.json-is-changed-inconsequentially.js | 72 +- ...ansient-symbols-through-program-updates.js | 91 +- ...-file-is-opened-with-different-contents.js | 54 +- ...idates-the-cache-when-files-are-deleted.js | 123 +- ...ates-the-cache-when-new-files-are-added.js | 104 +- ...ge-results-in-AutoImportProvider-change.js | 103 +- ...ject-when-set-of-root-files-has-changed.js | 40 +- ...zyConfiguredProjectsFromExternalProject.js | 28 +- ...config-file-name-with-difference-casing.js | 28 +- ...-when-set-of-root-files-was-not-changed.js | 48 +- ...s-changes-in-lib-section-of-config-file.js | 43 +- ...zyConfiguredProjectsFromExternalProject.js | 100 +- ...tly-handling-add-or-remove-tsconfig---1.js | 107 +- ...zyConfiguredProjectsFromExternalProject.js | 202 +- ...tly-handling-add-or-remove-tsconfig---2.js | 170 +- ...zyConfiguredProjectsFromExternalProject.js | 42 +- ...-opened-from-the-external-project-works.js | 44 +- ...t-crash-if-external-file-does-not-exist.js | 18 +- .../external-project-for-dynamic-file.js | 32 +- ...rnal-project-that-included-config-files.js | 169 +- ...fter-configured-project-and-then-closed.js | 67 +- ...ig-file-opened-after-configured-project.js | 39 +- ...re-jsconfig-creation-watcher-is-invoked.js | 85 +- ...ProjectsFromExternalProject-is-disabled.js | 53 +- ...d-state-is-updated-in-external-projects.js | 71 +- .../externalProjects/load-global-plugins.js | 18 +- .../remove-not-listed-external-projects.js | 115 +- ...non-existing-directories-in-config-file.js | 27 +- ...ose-external-project-with-no-open-files.js | 60 +- .../when-file-name-starts-with-caret.js | 26 +- ...-was-updated-and-no-longer-has-the-file.js | 98 +- ...nging-module-name-with-different-casing.js | 47 +- ...ied-with-a-case-insensitive-file-system.js | 21 +- ...hen-renaming-file-with-different-casing.js | 104 +- ...ied-with-a-case-insensitive-file-system.js | 13 +- .../autoImportCrossPackage_pathsAndSymlink.js | 70 +- .../autoImportCrossProject_baseUrl_toDist.js | 87 +- ...toImportCrossProject_paths_sharedOutDir.js | 157 +- .../autoImportCrossProject_paths_stripSrc.js | 370 +- .../autoImportCrossProject_paths_toDist.js | 370 +- .../autoImportCrossProject_paths_toDist2.js | 87 +- .../autoImportCrossProject_paths_toSrc.js | 370 +- ...utoImportCrossProject_symlinks_stripSrc.js | 239 +- .../autoImportCrossProject_symlinks_toDist.js | 239 +- .../autoImportCrossProject_symlinks_toSrc.js | 239 +- .../autoImportFileExcludePatterns1.js | 74 +- .../autoImportFileExcludePatterns2.js | 74 +- ...oImportFileExcludePatterns_networkPaths.js | 74 +- .../autoImportFileExcludePatterns_symlinks.js | 70 +- ...autoImportFileExcludePatterns_symlinks2.js | 74 +- ...oImportFileExcludePatterns_windowsPaths.js | 74 +- .../autoImportNodeModuleSymlinkRenamed.js | 70 +- .../fourslashServer/autoImportProvider1.js | 143 +- .../fourslashServer/autoImportProvider2.js | 74 +- .../fourslashServer/autoImportProvider3.js | 74 +- .../fourslashServer/autoImportProvider4.js | 220 +- .../fourslashServer/autoImportProvider5.js | 256 +- .../fourslashServer/autoImportProvider6.js | 337 +- .../fourslashServer/autoImportProvider7.js | 168 +- .../fourslashServer/autoImportProvider8.js | 168 +- .../autoImportProvider_exportMap1.js | 110 +- .../autoImportProvider_exportMap2.js | 125 +- .../autoImportProvider_exportMap3.js | 129 +- .../autoImportProvider_exportMap4.js | 106 +- .../autoImportProvider_exportMap5.js | 118 +- .../autoImportProvider_exportMap6.js | 118 +- .../autoImportProvider_exportMap7.js | 130 +- .../autoImportProvider_exportMap8.js | 176 +- .../autoImportProvider_exportMap9.js | 118 +- .../autoImportProvider_globalTypingsCache.js | 75 +- .../autoImportProvider_importsMap1.js | 45 +- .../autoImportProvider_importsMap2.js | 41 +- .../autoImportProvider_importsMap3.js | 41 +- .../autoImportProvider_importsMap4.js | 41 +- .../autoImportProvider_importsMap5.js | 41 +- ...rtProvider_namespaceSameNameAsIntrinsic.js | 74 +- .../autoImportProvider_pnpm.js | 204 +- .../autoImportProvider_referencesCrash.js | 200 +- .../autoImportProvider_wildcardExports1.js | 90 +- .../autoImportProvider_wildcardExports2.js | 70 +- .../autoImportProvider_wildcardExports3.js | 70 +- .../autoImportReExportFromAmbientModule.js | 128 +- ...autoImportRelativePathToMonorepoPackage.js | 79 +- .../autoImportSymlinkedJsPackages.js | 76 +- .../tsserver/fourslashServer/brace01.js | 25 +- .../callHierarchyContainerNameServer.js | 25 +- .../completionEntryDetailAcrossFiles01.js | 61 +- .../completionEntryDetailAcrossFiles02.js | 61 +- .../tsserver/fourslashServer/completions01.js | 210 +- .../tsserver/fourslashServer/completions02.js | 89 +- .../tsserver/fourslashServer/completions03.js | 25 +- ...mport_addToNamedWithDifferentCacheValue.js | 1562 ++++++- .../completionsImport_computedSymbolName.js | 165 +- ...nsImport_defaultAndNamedConflict_server.js | 65 +- ...letionsImport_jsModuleExportsAssignment.js | 180 +- .../completionsImport_mergedReExport.js | 228 +- ...mpletionsImport_sortingModuleSpecifiers.js | 71 +- .../completionsOverridingMethodCrash2.js | 141 +- .../fourslashServer/configurePlugin.js | 63 +- .../convertFunctionToEs6Class-server1.js | 25 +- .../convertFunctionToEs6Class-server2.js | 25 +- .../declarationMapGoToDefinition.js | 96 +- .../declarationMapsEnableMapping_NoInline.js | 151 +- ...rationMapsEnableMapping_NoInlineSources.js | 151 +- ...clarationMapsGeneratedMapsEnableMapping.js | 151 +- ...larationMapsGeneratedMapsEnableMapping2.js | 151 +- ...larationMapsGeneratedMapsEnableMapping3.js | 151 +- ...ionMapsGoToDefinitionRelativeSourceRoot.js | 96 +- ...oToDefinitionSameNameDifferentDirectory.js | 89 +- .../declarationMapsOutOfDateMapping.js | 89 +- .../tsserver/fourslashServer/definition01.js | 29 +- .../fourslashServer/documentHighlights01.js | 25 +- .../fourslashServer/documentHighlights02.js | 61 +- ...ghlightsTypeParameterInHeritageClause01.js | 25 +- .../fixExtractToInnerFunctionDuplicaton.js | 25 +- .../tsserver/fourslashServer/format01.js | 183 +- .../formatBracketInSwitchCase.js | 50 +- .../tsserver/fourslashServer/formatOnEnter.js | 88 +- ...formatSpaceBetweenFunctionAndArrayIndex.js | 50 +- .../tsserver/fourslashServer/formatonkey01.js | 88 +- .../getFileReferences_deduplicate.js | 60 +- .../getFileReferences_server1.js | 49 +- .../getFileReferences_server2.js | 72 +- .../getJavaScriptSyntacticDiagnostics01.js | 25 +- .../getJavaScriptSyntacticDiagnostics02.js | 25 +- .../getOutliningSpansForComments.js | 25 +- .../getOutliningSpansForRegions.js | 25 +- ...tliningSpansForRegionsNoSingleLineFolds.js | 25 +- .../goToDefinitionScriptImportServer.js | 62 +- .../goToImplementation_inDifferentFiles.js | 52 +- .../goToSource10_mapFromAtTypes3.js | 118 +- .../goToSource11_propertyOfAlias.js | 111 +- .../goToSource12_callbackParam.js | 118 +- .../fourslashServer/goToSource13_nodenext.js | 112 +- ...Source14_unresolvedRequireDestructuring.js | 57 +- .../fourslashServer/goToSource15_bundler.js | 115 +- ...goToSource16_callbackParamDifferentFile.js | 136 +- .../goToSource17_AddsFileToProject.js | 138 +- .../goToSource18_reusedFromDifferentFolder.js | 145 +- .../goToSource1_localJsBesideDts.js | 110 +- .../goToSource2_nodeModulesWithTypes.js | 112 +- .../goToSource3_nodeModulesAtTypes.js | 118 +- .../goToSource5_sameAsGoToDef1.js | 62 +- .../goToSource6_sameAsGoToDef2.js | 99 +- .../goToSource7_conditionallyMinified.js | 113 +- .../goToSource8_mapFromAtTypes.js | 132 +- .../goToSource9_mapFromAtTypes2.js | 132 +- .../fourslashServer/implementation01.js | 25 +- .../fourslashServer/impliedNodeFormat.js | 141 +- ...importNameCodeFix_externalNonRelateive2.js | 460 +- .../importNameCodeFix_externalNonRelative1.js | 315 +- .../importNameCodeFix_pnpm1.js | 144 +- .../importStatementCompletions_pnpm1.js | 73 +- ...portStatementCompletions_pnpmTransitive.js | 83 +- .../importSuggestionsCache_ambient.js | 2381 +++++++++- .../importSuggestionsCache_coreNodeModules.js | 1197 ++++- .../importSuggestionsCache_exportUndefined.js | 79 +- ...portSuggestionsCache_invalidPackageJson.js | 73 +- ...portSuggestionsCache_moduleAugmentation.js | 1106 ++++- .../isDefinitionAcrossGlobalProjects.js | 169 +- .../isDefinitionAcrossModuleProjects.js | 258 +- .../fourslashServer/jsdocCallbackTag.js | 25 +- .../jsdocCallbackTagNavigateTo.js | 25 +- .../jsdocCallbackTagRename01.js | 25 +- .../jsdocParamTagSpecialKeywords.js | 25 +- .../fourslashServer/jsdocTypedefTag.js | 25 +- .../fourslashServer/jsdocTypedefTag1.js | 25 +- .../fourslashServer/jsdocTypedefTag2.js | 25 +- .../jsdocTypedefTagGoToDefinition.js | 25 +- .../jsdocTypedefTagNamespace.js | 25 +- .../jsdocTypedefTagNavigateTo.js | 25 +- .../jsdocTypedefTagRename01.js | 25 +- .../jsdocTypedefTagRename02.js | 25 +- .../jsdocTypedefTagRename03.js | 25 +- .../jsdocTypedefTagRename04.js | 108 +- .../moveToFile_emptyTargetFile.js | 29 +- .../tsserver/fourslashServer/navbar01.js | 25 +- .../tsserver/fourslashServer/navto01.js | 25 +- .../fourslashServer/navto_serverExcludeLib.js | 29 +- .../tsserver/fourslashServer/ngProxy1.js | 63 +- .../tsserver/fourslashServer/ngProxy2.js | 63 +- .../tsserver/fourslashServer/ngProxy3.js | 63 +- .../tsserver/fourslashServer/ngProxy4.js | 63 +- .../nodeNextModuleKindCaching1.js | 65 +- .../nodeNextPathCompletions.js | 621 ++- .../nonJsDeclarationFilePathCompletions.js | 61 +- .../tsserver/fourslashServer/occurrences01.js | 25 +- .../tsserver/fourslashServer/occurrences02.js | 25 +- .../tsserver/fourslashServer/openFile.js | 59 +- .../fourslashServer/openFileWithSyntaxKind.js | 60 +- .../tsserver/fourslashServer/projectInfo01.js | 145 +- .../tsserver/fourslashServer/projectInfo02.js | 29 +- .../projectWithNonExistentFiles.js | 29 +- .../tsserver/fourslashServer/quickinfo01.js | 25 +- .../fourslashServer/quickinfoWrongComment.js | 25 +- .../fourslashServer/referenceToEmptyObject.js | 25 +- .../tsserver/fourslashServer/references01.js | 62 +- .../referencesInConfiguredProject.js | 52 +- .../fourslashServer/referencesInEmptyFile.js | 25 +- ...ferencesInEmptyFileWithMultipleProjects.js | 118 +- ...nStringLiteralValueWithMultipleProjects.js | 118 +- ...eferencesToNonPropertyNameStringLiteral.js | 25 +- .../referencesToStringLiteralValue.js | 25 +- .../tsserver/fourslashServer/rename01.js | 25 +- .../renameInConfiguredProject.js | 29 +- .../fourslashServer/renameNamedImport.js | 109 +- .../fourslashServer/renameNamespaceImport.js | 109 +- .../semanticClassificationJs1.js | 25 +- .../fourslashServer/signatureHelp01.js | 25 +- .../signatureHelpJSDocCallbackTag.js | 25 +- .../tripleSlashReferenceResolutionMode.js | 65 +- .../tsconfigComputedPropertyError.js | 33 +- .../fourslashServer/tsxIncrementalServer.js | 467 +- .../fourslashServer/typeReferenceOnServer.js | 25 +- .../fourslashServer/typedefinition01.js | 29 +- .../works-when-taking-position.js | 13 +- ...rks-with-file-moved-to-inferred-project.js | 33 +- .../works-with-multiple-projects.js | 42 +- .../array-destructuring-declaration.js | 28 +- .../const-variable-declaration.js | 28 +- .../nested-object-declaration.js | 28 +- ...nces-that-renames-destructured-property.js | 28 +- .../object-destructuring-declaration.js | 28 +- .../should-get-file-references.js | 82 +- ...ould-skip-lineText-from-file-references.js | 82 +- .../skips-lib.d.ts-files.js | 25 +- ...ggests-only-.js-file-for-a-.js-filepath.js | 29 +- ...ggests-only-.ts-file-for-a-.ts-filepath.js | 37 +- ...excluding-node_modules-within-a-project.js | 33 +- .../does-not-issue-errors-on-jsdoc-in-TS.js | 13 +- .../does-not-issue-errors-on-jsdoc-in-TS2.js | 13 +- .../should-not-crash-in-tsserver.js | 22 +- .../should-not-error.js | 13 +- .../should-not-error.js | 13 +- .../create-inferred-project.js | 21 +- .../disable-inferred-project.js | 13 +- ...oject-root-with-case-insensitive-system.js | 857 +++- ...project-root-with-case-sensitive-system.js | 924 +++- .../inferred-projects-per-project-root.js | 90 +- .../project-settings-for-inferred-projects.js | 66 +- ...or-inferred-projects-when-set-undefined.js | 18 +- ...-project-created-while-opening-the-file.js | 152 +- ...should-support-files-without-extensions.js | 18 +- ...project-if-useOneInferredProject-is-set.js | 102 +- ...ting-inferred-project-has-no-root-files.js | 114 +- ...Open-request-does-not-corrupt-documents.js | 75 +- ...-string-for-a-working-link-in-a-comment.js | 13 +- ...y-parts-for-a-working-link-in-a-comment.js | 13 +- ...-string-for-a-working-link-in-a-comment.js | 13 +- ...y-parts-for-a-working-link-in-a-comment.js | 13 +- ...-string-for-a-working-link-in-a-comment.js | 13 +- ...de-a-string-for-a-working-link-in-a-tag.js | 13 +- ...y-parts-for-a-working-link-in-a-comment.js | 13 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 13 +- ...-string-for-a-working-link-in-a-comment.js | 13 +- ...de-a-string-for-a-working-link-in-a-tag.js | 13 +- ...-a-span-for-a-working-link-in-a-comment.js | 13 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 13 +- ...-string-for-a-working-link-in-a-comment.js | 13 +- ...y-parts-for-a-working-link-in-a-comment.js | 13 +- ...-string-for-a-working-link-in-a-comment.js | 13 +- ...y-parts-for-a-working-link-in-a-comment.js | 13 +- ...ame-file-under-differing-paths-settings.js | 54 +- ...orrectly-on-case-sensitive-file-systems.js | 17 +- .../with-config-with-redirection.js | 591 ++- .../tsserver/libraryResolution/with-config.js | 574 ++- ...when-referencing-file-from-another-file.js | 34 +- ...t-to-2-if-the-project-has-js-root-files.js | 27 +- ...-js-root-files-are-removed-from-project.js | 58 +- ...metadata-when-the-command-returns-array.js | 13 +- ...etadata-when-the-command-returns-object.js | 13 +- .../returns-undefined-correctly.js | 13 +- .../moduleResolution/alternateResult.js | 313 +- ...en-package-json-with-type-module-exists.js | 81 +- .../package-json-file-is-edited.js | 81 +- .../using-referenced-project-built.js | 119 +- .../using-referenced-project.js | 119 +- .../caches-importability-within-a-file.js | 93 +- .../caches-module-specifiers-within-a-file.js | 93 +- ...date-the-cache-when-new-files-are-added.js | 143 +- ...n-in-contained-node_modules-directories.js | 93 +- ...he-cache-when-local-packageJson-changes.js | 102 +- ...-when-module-resolution-settings-change.js | 113 +- ...ache-when-symlinks-are-added-or-removed.js | 139 +- ...-the-cache-when-user-preferences-change.js | 93 +- ...ate-symbols-when-searching-all-projects.js | 42 +- .../navTo/should-de-duplicate-symbols.js | 34 +- .../navTo/should-not-include-type-symbols.js | 22 +- .../navTo/should-work-with-Deprecated.js | 22 +- ...ould-be-marked-if-only-on-string-values.js | 13 +- .../openfile/can-open-same-file-again.js | 34 +- .../different-content-refreshes-sourceFile.js | 124 +- .../openfile/does-not-refresh-sourceFile.js | 111 +- ...ot-refresh-sourceFile-if-contents-match.js | 123 +- ...ile-and-then-close-refreshes-sourceFile.js | 138 +- ...ot-is-used-with-case-insensitive-system.js | 138 +- ...root-is-used-with-case-sensitive-system.js | 124 +- .../openfile/realoaded-with-empty-content.js | 32 +- ...ject-even-if-project-refresh-is-pending.js | 43 +- ...-directives,-they-are-handled-correcrly.js | 51 +- ...re-added,-caches-them,-and-watches-them.js | 34 +- ...ultiple-package.json-files-when-present.js | 34 +- ...r-deletion,-and-removes-them-from-cache.js | 34 +- .../handles-empty-package.json.js | 34 +- ...-errors-in-json-parsing-of-package.json.js | 34 +- .../files-are-added-to-inferred-project.js | 40 +- ...ternal-module-name-resolution-is-reused.js | 77 +- ...oImportProvider-or-handle-package-jsons.js | 20 +- ...-include-auto-type-reference-directives.js | 18 +- ...de-referenced-files-from-unopened-files.js | 18 +- ...t-go-to-definition-on-module-specifiers.js | 18 +- ...-diagnostics-are-returned-with-no-error.js | 18 +- .../throws-unsupported-commands.js | 18 +- .../tsserver/plugins/With-global-plugins.js | 17 +- .../tsserver/plugins/With-local-plugins.js | 17 +- ...ith-session-and-custom-protocol-message.js | 17 +- .../getSupportedCodeFixes-can-be-proxied.js | 63 +- ...-external-files-with-config-file-reload.js | 29 +- ...on-ts-extensions-with-wildcard-matching.js | 112 +- ...LS-to-get-program-and-update-is-pending.js | 43 +- .../pluginsAsync/adds-external-files.js | 24 +- .../plugins-are-not-loaded-immediately.js | 17 +- ...er-even-if-imports-resolve-out-of-order.js | 17 +- ...ect-is-closed-before-plugins-are-loaded.js | 33 +- ...sends-projectsUpdatedInBackground-event.js | 17 +- ...-generated-when-the-config-file-changes.js | 31 +- ...when-the-config-file-doesnt-have-errors.js | 17 +- ...nerated-when-the-config-file-has-errors.js | 17 +- ...-file-opened-and-config-file-has-errors.js | 76 +- ...le-opened-and-doesnt-contain-any-errors.js | 76 +- ...rs-but-suppressDiagnosticEvents-is-true.js | 17 +- ...s-contains-the-project-reference-errors.js | 17 +- ...ts---diagnostics-for-corrupted-config-1.js | 24 +- ...ts---diagnostics-for-corrupted-config-2.js | 24 +- ...rojects---diagnostics-for-missing-files.js | 43 +- ...-same-ambient-module-and-is-also-module.js | 50 +- ...iagnostics-after-noUnusedLabels-changes.js | 20 +- .../document-is-not-contained-in-project.js | 13 +- ...project---diagnostics-for-missing-files.js | 80 +- ...project-structure-and-reports-no-errors.js | 49 +- .../projectErrors/for-external-project.js | 39 +- .../projectErrors/for-inferred-project.js | 34 +- ...-when-timeout-occurs-after-installation.js | 55 +- ...n-timeout-occurs-inbetween-installation.js | 55 +- ...pened-right-after-closing-the-root-file.js | 98 +- ...hen-json-is-root-file-found-by-tsconfig.js | 21 +- ...json-is-not-root-file-found-by-tsconfig.js | 21 +- ...esnt-exist-on-disk-yet-with-projectRoot.js | 17 +- ...t-exist-on-disk-yet-without-projectRoot.js | 17 +- .../projectErrors/when-options-change.js | 24 +- ...-global-error-gerErr-with-sync-commands.js | 17 +- ...or-returns-includes-global-error-getErr.js | 17 +- ...-includes-global-error-geterrForProject.js | 17 +- ...-as-project-build-with-external-project.js | 21 +- ...-on-dependency-and-change-to-dependency.js | 76 +- .../save-on-dependency-and-change-to-usage.js | 74 +- ...pendency-and-local-change-to-dependency.js | 76 +- ...on-dependency-and-local-change-to-usage.js | 74 +- ...y-with-project-and-change-to-dependency.js | 74 +- ...ndency-with-project-and-change-to-usage.js | 72 +- ...-project-and-local-change-to-dependency.js | 74 +- ...-with-project-and-local-change-to-usage.js | 72 +- .../save-on-dependency-with-project.js | 48 +- ...-usage-project-and-change-to-dependency.js | 74 +- ...-with-usage-project-and-change-to-usage.js | 74 +- ...-project-and-local-change-to-dependency.js | 74 +- ...usage-project-and-local-change-to-usage.js | 74 +- .../save-on-dependency-with-usage-project.js | 48 +- .../save-on-dependency.js | 48 +- .../save-on-usage-and-change-to-dependency.js | 76 +- .../save-on-usage-and-change-to-usage.js | 74 +- ...nd-local-change-to-dependency-with-file.js | 74 +- ...on-usage-and-local-change-to-dependency.js | 76 +- ...-and-local-change-to-usage-with-project.js | 74 +- ...save-on-usage-and-local-change-to-usage.js | 74 +- ...e-with-project-and-change-to-dependency.js | 74 +- ...-usage-with-project-and-change-to-usage.js | 74 +- .../save-on-usage-with-project.js | 48 +- .../save-on-usage.js | 48 +- ...-on-dependency-and-change-to-dependency.js | 58 +- ...-save-on-dependency-and-change-to-usage.js | 42 +- ...pendency-and-local-change-to-dependency.js | 58 +- ...on-dependency-and-local-change-to-usage.js | 42 +- ...y-with-project-and-change-to-dependency.js | 58 +- ...ndency-with-project-and-change-to-usage.js | 42 +- ...-project-and-local-change-to-dependency.js | 58 +- ...-with-project-and-local-change-to-usage.js | 42 +- ...pen-and-save-on-dependency-with-project.js | 21 +- ...ject-is-not-open-and-save-on-dependency.js | 21 +- ...save-on-usage-and-change-to-depenedency.js | 58 +- ...n-and-save-on-usage-and-change-to-usage.js | 42 +- ...on-usage-and-local-change-to-dependency.js | 58 +- ...save-on-usage-and-local-change-to-usage.js | 42 +- ...-with-project-and-change-to-depenedency.js | 58 +- ...-usage-with-project-and-change-to-usage.js | 42 +- ...-project-and-local-change-to-dependency.js | 58 +- ...-with-project-and-local-change-to-usage.js | 42 +- ...not-open-and-save-on-usage-with-project.js | 21 +- ...y-project-is-not-open-and-save-on-usage.js | 21 +- ...t-is-not-open-gerErr-with-sync-commands.js | 21 +- ...n-dependency-project-is-not-open-getErr.js | 21 +- ...cy-project-is-not-open-geterrForProject.js | 21 +- ...-file-is-open-gerErr-with-sync-commands.js | 48 +- ...-when-the-depedency-file-is-open-getErr.js | 48 +- ...depedency-file-is-open-geterrForProject.js | 48 +- ...t-is-not-open-gerErr-with-sync-commands.js | 21 +- ...n-dependency-project-is-not-open-getErr.js | 21 +- ...cy-project-is-not-open-geterrForProject.js | 21 +- ...-file-is-open-gerErr-with-sync-commands.js | 48 +- ...-when-the-depedency-file-is-open-getErr.js | 48 +- ...depedency-file-is-open-geterrForProject.js | 48 +- .../ancestor-and-project-ref-management.js | 301 +- ...disableSourceOfProjectReferenceRedirect.js | 28 +- ...port-with-referenced-project-when-built.js | 28 +- .../auto-import-with-referenced-project.js | 28 +- ...ssfully-find-references-with-out-option.js | 66 +- ...indirect-project-but-not-in-another-one.js | 211 +- ...dProjectLoad-is-set-in-indirect-project.js | 235 +- ...-if-disableReferencedProjectLoad-is-set.js | 187 +- ...oes-not-error-on-container-only-project.js | 61 +- ...-are-disabled-and-a-decl-map-is-missing.js | 45 +- ...-are-disabled-and-a-decl-map-is-present.js | 66 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 42 +- ...s-are-enabled-and-a-decl-map-is-present.js | 42 +- ...-are-disabled-and-a-decl-map-is-missing.js | 45 +- ...-are-disabled-and-a-decl-map-is-present.js | 66 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 42 +- ...s-are-enabled-and-a-decl-map-is-present.js | 42 +- ...-are-disabled-and-a-decl-map-is-missing.js | 17 +- ...-are-disabled-and-a-decl-map-is-present.js | 33 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 17 +- ...s-are-enabled-and-a-decl-map-is-present.js | 17 +- ...-are-disabled-and-a-decl-map-is-missing.js | 17 +- ...-are-disabled-and-a-decl-map-is-present.js | 48 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 42 +- ...s-are-enabled-and-a-decl-map-is-present.js | 42 +- .../sibling-projects.js | 60 +- ...ding-references-in-overlapping-projects.js | 80 +- ...solution-is-built-with-preserveSymlinks.js | 50 +- ...-and-has-index.ts-and-solution-is-built.js | 50 +- ...tion-is-not-built-with-preserveSymlinks.js | 50 +- ...-has-index.ts-and-solution-is-not-built.js | 50 +- ...solution-is-built-with-preserveSymlinks.js | 50 +- ...th-scoped-package-and-solution-is-built.js | 50 +- ...tion-is-not-built-with-preserveSymlinks.js | 50 +- ...coped-package-and-solution-is-not-built.js | 50 +- ...solution-is-built-with-preserveSymlinks.js | 50 +- ...le-from-subFolder-and-solution-is-built.js | 50 +- ...tion-is-not-built-with-preserveSymlinks.js | 50 +- ...rom-subFolder-and-solution-is-not-built.js | 50 +- ...solution-is-built-with-preserveSymlinks.js | 50 +- ...th-scoped-package-and-solution-is-built.js | 50 +- ...tion-is-not-built-with-preserveSymlinks.js | 50 +- ...coped-package-and-solution-is-not-built.js | 50 +- ...disableSourceOfProjectReferenceRedirect.js | 123 +- ...ect-when-referenced-project-is-not-open.js | 51 +- ...disableSourceOfProjectReferenceRedirect.js | 228 +- ...project-when-referenced-project-is-open.js | 89 +- ...ject-is-directly-referenced-by-solution.js | 450 +- ...ct-is-indirectly-referenced-by-solution.js | 563 ++- ...om-composite-and-non-composite-projects.js | 100 +- ...nced-project-and-using-declaration-maps.js | 87 +- ...ot-file-is-file-from-referenced-project.js | 55 +- ...indirect-project-but-not-in-another-one.js | 277 +- ...dProjectLoad-is-set-in-indirect-project.js | 283 +- ...-if-disableReferencedProjectLoad-is-set.js | 207 +- ...ces-open-file-through-project-reference.js | 541 ++- ...ct-is-indirectly-referenced-by-solution.js | 691 ++- ...nction-as-object-literal-property-types.js | 66 +- ...row-function-as-object-literal-property.js | 53 +- ...ss-when-using-arrow-function-assignment.js | 66 +- ...s-when-using-method-of-class-expression.js | 66 +- ...ness-when-using-object-literal-property.js | 66 +- ...cts-are-open-and-one-project-references.js | 125 +- ...ts-have-allowJs-and-emitDeclarationOnly.js | 25 +- ...ng-solution-and-siblings-are-not-loaded.js | 21 +- ...dts-changes-with-timeout-before-request.js | 117 +- .../dependency-dts-changes.js | 117 +- .../dependency-dts-created.js | 191 +- .../dependency-dts-deleted.js | 188 +- .../dependency-dts-not-present.js | 130 +- ...Map-changes-with-timeout-before-request.js | 117 +- .../dependency-dtsMap-changes.js | 117 +- .../dependency-dtsMap-created.js | 209 +- .../dependency-dtsMap-deleted.js | 197 +- .../dependency-dtsMap-not-present.js | 163 +- .../configHasNoReference/rename-locations.js | 181 +- ...ile-changes-with-timeout-before-request.js | 94 +- .../usage-file-changes.js | 94 +- ...dts-changes-with-timeout-before-request.js | 117 +- .../dependency-dts-changes.js | 117 +- .../dependency-dts-created.js | 191 +- .../dependency-dts-deleted.js | 188 +- .../dependency-dts-not-present.js | 130 +- ...Map-changes-with-timeout-before-request.js | 117 +- .../dependency-dtsMap-changes.js | 117 +- .../dependency-dtsMap-created.js | 209 +- .../dependency-dtsMap-deleted.js | 197 +- .../dependency-dtsMap-not-present.js | 163 +- ...rce-changes-with-timeout-before-request.js | 94 +- .../dependency-source-changes.js | 94 +- .../configWithReference/rename-locations.js | 181 +- ...ile-changes-with-timeout-before-request.js | 94 +- .../configWithReference/usage-file-changes.js | 94 +- .../when-projects-are-not-built.js | 130 +- ...dts-changes-with-timeout-before-request.js | 117 +- .../dependency-dts-changes.js | 117 +- .../dependency-dts-created.js | 191 +- .../dependency-dts-deleted.js | 188 +- .../dependency-dts-not-present.js | 130 +- ...Map-changes-with-timeout-before-request.js | 117 +- .../dependency-dtsMap-changes.js | 117 +- .../dependency-dtsMap-created.js | 209 +- .../dependency-dtsMap-deleted.js | 197 +- .../dependency-dtsMap-not-present.js | 163 +- .../disabledSourceRef/rename-locations.js | 181 +- ...ile-changes-with-timeout-before-request.js | 94 +- .../disabledSourceRef/usage-file-changes.js | 94 +- ...dts-changes-with-timeout-before-request.js | 185 +- .../dependency-dts-changes.js | 185 +- .../dependency-dts-created.js | 307 +- .../dependency-dts-deleted.js | 310 +- .../dependency-dts-not-present.js | 212 +- ...Map-changes-with-timeout-before-request.js | 185 +- .../dependency-dtsMap-changes.js | 185 +- .../dependency-dtsMap-created.js | 308 +- .../dependency-dtsMap-deleted.js | 317 +- .../dependency-dtsMap-not-present.js | 248 +- .../goToDef-and-rename-locations.js | 293 +- ...ile-changes-with-timeout-before-request.js | 194 +- .../usage-file-changes.js | 194 +- ...dts-changes-with-timeout-before-request.js | 180 +- .../dependency-dts-changes.js | 180 +- .../dependency-dts-created.js | 301 +- .../dependency-dts-deleted.js | 300 +- .../dependency-dts-not-present.js | 225 +- ...Map-changes-with-timeout-before-request.js | 180 +- .../dependency-dtsMap-changes.js | 180 +- .../dependency-dtsMap-created.js | 327 +- .../dependency-dtsMap-deleted.js | 312 +- .../dependency-dtsMap-not-present.js | 267 +- ...rce-changes-with-timeout-before-request.js | 151 +- .../dependency-source-changes.js | 151 +- .../gotoDef-and-rename-locations.js | 288 +- ...ile-changes-with-timeout-before-request.js | 189 +- .../configWithReference/usage-file-changes.js | 189 +- .../when-projects-are-not-built.js | 225 +- ...dts-changes-with-timeout-before-request.js | 185 +- .../dependency-dts-changes.js | 185 +- .../dependency-dts-created.js | 307 +- .../dependency-dts-deleted.js | 310 +- .../dependency-dts-not-present.js | 212 +- ...Map-changes-with-timeout-before-request.js | 185 +- .../dependency-dtsMap-changes.js | 185 +- .../dependency-dtsMap-created.js | 308 +- .../dependency-dtsMap-deleted.js | 317 +- .../dependency-dtsMap-not-present.js | 248 +- .../gotoDef-and-rename-locations.js | 293 +- ...ile-changes-with-timeout-before-request.js | 194 +- .../disabledSourceRef/usage-file-changes.js | 194 +- .../can-go-to-definition-correctly.js | 213 +- ...dts-changes-with-timeout-before-request.js | 137 +- .../dependency-dts-changes.js | 137 +- .../dependency-dts-created.js | 215 +- .../dependency-dts-deleted.js | 218 +- .../dependency-dts-not-present.js | 130 +- ...Map-changes-with-timeout-before-request.js | 137 +- .../dependency-dtsMap-changes.js | 137 +- .../dependency-dtsMap-created.js | 223 +- .../dependency-dtsMap-deleted.js | 224 +- .../dependency-dtsMap-not-present.js | 158 +- ...ile-changes-with-timeout-before-request.js | 110 +- .../usage-file-changes.js | 110 +- .../can-go-to-definition-correctly.js | 158 +- ...dts-changes-with-timeout-before-request.js | 50 +- .../dependency-dts-changes.js | 50 +- .../dependency-dts-created.js | 158 +- .../dependency-dts-deleted.js | 158 +- .../dependency-dts-not-present.js | 158 +- ...Map-changes-with-timeout-before-request.js | 50 +- .../dependency-dtsMap-changes.js | 50 +- .../dependency-dtsMap-created.js | 158 +- .../dependency-dtsMap-deleted.js | 158 +- .../dependency-dtsMap-not-present.js | 158 +- ...rce-changes-with-timeout-before-request.js | 100 +- .../dependency-source-changes.js | 100 +- ...ile-changes-with-timeout-before-request.js | 79 +- .../configWithReference/usage-file-changes.js | 79 +- .../when-projects-are-not-built.js | 158 +- .../can-go-to-definition-correctly.js | 213 +- ...dts-changes-with-timeout-before-request.js | 137 +- .../dependency-dts-changes.js | 137 +- .../dependency-dts-created.js | 215 +- .../dependency-dts-deleted.js | 218 +- .../dependency-dts-not-present.js | 130 +- ...Map-changes-with-timeout-before-request.js | 137 +- .../dependency-dtsMap-changes.js | 137 +- .../dependency-dtsMap-created.js | 223 +- .../dependency-dtsMap-deleted.js | 224 +- .../dependency-dtsMap-not-present.js | 158 +- ...ile-changes-with-timeout-before-request.js | 110 +- .../disabledSourceRef/usage-file-changes.js | 110 +- ...projects-at-opened-and-closed-correctly.js | 83 +- ...-are-handled-correctly-on-watch-trigger.js | 61 +- .../Properly-handle-Windows-style-outDir.js | 13 +- .../projects/assert-when-removing-project.js | 33 +- ...iles-are-reflected-in-project-structure.js | 92 +- .../clear-mixed-content-file-after-closing.js | 101 +- .../projects/config-file-is-deleted.js | 65 +- ...orrectly-migrate-files-between-projects.js | 152 +- ...zyConfiguredProjectsFromExternalProject.js | 14 +- .../deferred-files-in-the-project-context.js | 20 +- .../deleted-files-affect-project-structure.js | 78 +- ...folders-for-default-configured-projects.js | 65 +- .../external-project-including-config-file.js | 18 +- ...configured-project-that-will-be-removed.js | 100 +- ...ith-typeAcquisition-when-safe-type-list.js | 31 +- ...-and-closed-affecting-multiple-projects.js | 105 +- ...ith-mixed-content-are-handled-correctly.js | 50 +- ...getting-project-from-orphan-script-info.js | 28 +- ...directory-watch-invoke-on-file-creation.js | 158 +- ...issing-files-added-with-tripleslash-ref.js | 43 +- ...les-excluded-by-a-custom-safe-type-list.js | 23 +- ...les-excluded-by-a-legacy-safe-type-list.js | 23 +- ...files-excluded-by-the-default-type-list.js | 23 +- ...configured-project-that-will-be-removed.js | 90 +- .../loading-files-with-correct-priority.js | 103 +- ...luded-in-config-file-(applyCodeChanges).js | 13 +- ...ncluded-in-config-file-(openClientFile).js | 13 +- ...irectory-watch-invoke-on-open-file-save.js | 13 +- ...tsconfig-script-block-diagnostic-errors.js | 103 +- ...erred-if-files-are-not-added-or-removed.js | 47 +- ...configured-project-that-will-be-removed.js | 100 +- ...st-for-crash-in-acquireOrUpdateDocument.js | 41 +- .../reload-regular-file-after-closing.js | 101 +- ...Reload-but-has-svc-for-previous-version.js | 74 +- ...iles-excluded-from-a-configured-project.js | 60 +- ...e-features-when-the-files-are-too-large.js | 92 +- ...roject-with-a-disabled-language-service.js | 33 +- ...-from-different-caches-are-incompatible.js | 55 +- ...t-provides-redirect-info-when-requested.js | 43 +- ...updates-to-redirect-info-when-requested.js | 86 +- ...resolved-and-redirect-info-is-requested.js | 17 +- ...e-configuration-file-cannot-be-resolved.js | 17 +- ...che-handles-changes-in-project-settings.js | 32 +- .../projects/tsconfig-script-block-support.js | 86 +- .../projectsWithReferences/sample-project.js | 147 +- ...es-with-deleting-referenced-config-file.js | 97 +- ...ing-transitively-referenced-config-file.js | 53 +- ...ces-with-edit-in-referenced-config-file.js | 105 +- ...ive-references-with-edit-on-config-file.js | 105 +- ...ansitive-references-with-non-local-edit.js | 82 +- ...es-with-deleting-referenced-config-file.js | 97 +- ...ing-transitively-referenced-config-file.js | 53 +- ...les-with-edit-in-referenced-config-file.js | 105 +- ...-without-files-with-edit-on-config-file.js | 105 +- ...ences-without-files-with-non-local-edit.js | 82 +- ...ndles-canonicalization-of-tsconfig-path.js | 13 +- ...es-moving-statement-to-an-existing-file.js | 17 +- ...-that-is-not-included-in-the-TS-project.js | 13 +- ...dles-moving-statements-to-a-non-TS-file.js | 13 +- .../handles-text-changes-in-tsconfig.js | 13 +- .../refactors/use-formatting-options.js | 13 +- ...cript-info-doesnt-have-any-project-open.js | 109 +- .../reload/should-work-with-temp-file.js | 36 +- .../reloadProjects/configured-project.js | 120 +- .../external-project-with-config-file.js | 140 +- .../reloadProjects/external-project.js | 140 +- .../reloadProjects/inferred-project.js | 120 +- ...prefixText-and-suffixText-when-disabled.js | 17 +- .../rename-TS-file-with-js-extension.js | 34 +- ...r-is-based-on-file-of-rename-initiation.js | 34 +- .../with-symlinks-and-case-difference.js | 51 +- .../rename/works-with-fileToRename.js | 17 +- ...-prefixText-and-suffixText-when-enabled.js | 13 +- ...unnecessary-lookup-invalidation-on-save.js | 25 +- ...an-load-typings-that-are-proper-modules.js | 22 +- .../disable-suggestion-diagnostics.js | 18 +- ...le-name-from-files-in-different-folders.js | 115 +- ...e-module-name-from-files-in-same-folder.js | 87 +- ...ative-module-name-from-inferred-project.js | 115 +- .../not-sharing-across-references.js | 25 +- .../npm-install-@types-works.js | 43 +- ...le-name-from-files-in-different-folders.js | 115 +- ...e-module-name-from-files-in-same-folder.js | 87 +- ...tore-the-states-for-configured-projects.js | 81 +- ...estore-the-states-for-inferred-projects.js | 67 +- .../sharing-across-references.js | 25 +- ...ld-property-handle-missing-config-files.js | 40 +- ...hould-remove-the-module-not-found-error.js | 41 +- .../resolutionCache/suggestion-diagnostics.js | 18 +- .../suppressed-diagnostic-events.js | 13 +- ...-from-config-file-path-if-config-exists.js | 17 +- ...exists-but-does-not-specifies-typeRoots.js | 13 +- .../resolutionCache/when-resolution-fails.js | 25 +- .../when-resolves-to-ambient-module.js | 29 +- ...wild-card-directories-in-config-project.js | 21 +- .../closed-script-infos.js | 21 +- ...ectly-when-typings-are-added-or-removed.js | 61 +- ...rnal-project-with-skipLibCheck-as-false.js | 27 +- .../skipLibCheck/jsonly-external-project.js | 27 +- .../skipLibCheck/jsonly-inferred-project.js | 73 +- ...r-in-configured-js-project-with-tscheck.js | 25 +- ...rror-in-configured-project-with-tscheck.js | 25 +- .../reports-semantic-error-with-tscheck.js | 18 +- ...eclaration-files-with-skipLibCheck=true.js | 33 +- .../works-for-simple-JavaScript.js | 22 +- ...tion-when-project-compiles-from-sources.js | 55 +- ...s-in-typings-folder-and-then-recompiles.js | 17 +- ...mpiles-after-deleting-generated-folders.js | 47 +- ...ping-when-project-compiles-from-sources.js | 55 +- ...s-in-typings-folder-and-then-recompiles.js | 43 +- ...mpiles-after-deleting-generated-folders.js | 73 +- ...name-in-common-file-renames-all-project.js | 102 +- .../when-not-symlink-but-differs-in-casing.js | 182 +- ...ences-resolution-after-program-creation.js | 13 +- ...ed-project-and-semantic-operations-fail.js | 121 +- ...-include-auto-type-reference-directives.js | 13 +- ...de-referenced-files-from-unopened-files.js | 49 +- .../throws-on-unsupported-commands.js | 13 +- ...emoved-and-added-with-different-content.js | 126 +- .../telemetry/counts-files-by-extension.js | 33 +- ...s-whether-language-service-was-disabled.js | 13 +- .../telemetry/does-not-expose-paths.js | 13 +- .../does-nothing-for-inferred-project.js | 18 +- ...ven-for-project-with-ts-check-in-config.js | 25 +- .../tsserver/telemetry/not-for-ts-file.js | 13 +- .../telemetry/only-sends-an-event-once.js | 60 +- .../sends-event-for-inferred-project.js | 38 +- ...es,-include,-exclude,-and-compileOnSave.js | 13 +- .../sends-telemetry-for-file-sizes.js | 29 +- ...-telemetry-for-typeAcquisition-settings.js | 25 +- .../telemetry/works-with-external-project.js | 69 +- ...-JS-file-is-too-large-to-load-into-text.js | 18 +- .../tsserver/resolves-the-symlink-path.js | 17 +- .../does-not-depend-on-extension.js | 27 +- .../prefer-typings-in-second-pass.js | 22 +- ...portDefault-exportDefault-importDefault.js | 25 +- ...OnlyNamedImport-namedExport-namedImport.js | 29 +- ...lyExportFrom-exportStarFrom-namedImport.js | 29 +- ...OnlyNamedImport-namedExport-namedImport.js | 25 +- ...spaceImport-exportDefault-importDefault.js | 25 +- ...mespaceImport-exportEquals-importEquals.js | 25 +- ...NamespaceImport-namedExport-namedImport.js | 25 +- ...ortFrom-exportNamespaceFrom-namedImport.js | 29 +- ...enceDirective-contains-UpperCasePackage.js | 70 +- ...s-relative-path-and-in-a-sibling-folder.js | 21 +- ...ted-if-program-structure-did-not-change.js | 31 +- ...projects-discover-from-bower_components.js | 47 +- .../typingsInstaller/configured-projects.js | 40 +- .../typingsInstaller/discover-from-bower.js | 47 +- ...rom-node_modules-empty-types-has-import.js | 54 +- .../discover-from-node_modules-empty-types.js | 41 +- ...scover-from-node_modules-explicit-types.js | 41 +- .../discover-from-node_modules.js | 75 +- .../typingsInstaller/expired-cache-entry.js | 40 +- .../external-projects-autoDiscovery.js | 28 +- .../external-projects-duplicate-package.js | 27 +- .../external-projects-no-auto-typings.js | 18 +- ...s-no-type-acquisition-with-enable-false.js | 18 +- ...ts-no-type-acquisition-with-js-ts-files.js | 22 +- .../external-projects-no-type-acquisition.js | 57 +- ...ith-disableFilenameBasedTypeAcquisition.js | 23 +- .../external-projects-type-acquisition.js | 57 +- .../typingsInstaller/external-projects.js | 18 +- ...ith-disableFilenameBasedTypeAcquisition.js | 18 +- .../typingsInstaller/inferred-projects.js | 40 +- .../install-typings-for-unresolved-imports.js | 46 +- ...date-the-resolutions-with-trimmed-names.js | 103 +- .../invalidate-the-resolutions.js | 94 +- .../local-module-should-not-be-picked-up.js | 22 +- .../typingsInstaller/malformed-packagejson.js | 40 +- .../typingsInstaller/multiple-projects.js | 92 +- .../non-expired-cache-entry.js | 18 +- ...mes-from-nonrelative-unresolved-imports.js | 20 +- .../progress-notification-for-error.js | 18 +- .../typingsInstaller/progress-notification.js | 40 +- ...otPath-is-provided-for-inferred-project.js | 18 +- ...utions-pointing-to-js-on-typing-install.js | 47 +- .../typingsInstaller/scoped-name-discovery.js | 74 +- .../should-handle-node-core-modules.js | 107 +- ...d-not-initialize-invaalid-package-names.js | 18 +- .../typingsInstaller/telemetry-events.js | 40 +- .../throttle-delayed-run-install-requests.js | 108 +- .../throttle-delayed-typings-to-install.js | 61 +- ...n-install-requests-with-defer-refreshed.js | 79 +- ...requests-with-defer-while-queuing-again.js | 111 +- ...heduled-run-install-requests-with-defer.js | 60 +- ...install-requests-without-reaching-limit.js | 57 +- .../external-project-watch-options-errors.js | 49 +- ...ect-watch-options-in-host-configuration.js | 49 +- .../external-project-watch-options.js | 49 +- .../watchEnvironment/files-at-root.js | 21 +- .../files-at-windows-style-root.js | 21 +- .../watchEnvironment/files-not-at-root.js | 21 +- .../files-not-at-windows-style-root.js | 21 +- .../inferred-project-watch-options-errors.js | 25 +- ...ect-watch-options-in-host-configuration.js | 25 +- .../inferred-project-watch-options.js | 25 +- .../perVolumeCasing-and-new-file-addition.js | 43 +- .../project-with-ascii-file-names-with-i.js | 17 +- .../project-with-ascii-file-names.js | 17 +- .../project-with-unicode-file-names.js | 17 +- ...files-starting-with-dot-in-node_modules.js | 21 +- ...polling-when-file-is-added-to-subfolder.js | 51 +- ...rectory-when-file-is-added-to-subfolder.js | 51 +- ...tchFile-when-file-is-added-to-subfolder.js | 51 +- ...watching-files-with-network-style-paths.js | 110 +- ...ere-workspaces-folder-is-hosted-at-root.js | 78 +- ...en-watchFile-is-single-watcher-per-file.js | 21 +- ...excludeDirectories-option-in-configFile.js | 25 +- ...ludeDirectories-option-in-configuration.js | 25 +- ...ackPolling-option-as-host-configuration.js | 21 +- ...th-fallbackPolling-option-in-configFile.js | 21 +- ...hDirectory-option-as-host-configuration.js | 21 +- ...ith-watchDirectory-option-in-configFile.js | 21 +- ...-watchFile-option-as-host-configuration.js | 21 +- .../with-watchFile-option-in-configFile.js | 21 +- 1074 files changed, 103645 insertions(+), 2664 deletions(-) create mode 100644 src/harness/projectServiceStateLogger.ts diff --git a/src/harness/harnessLanguageService.ts b/src/harness/harnessLanguageService.ts index 343fa7e45f828..3bab845bbdd7c 100644 --- a/src/harness/harnessLanguageService.ts +++ b/src/harness/harnessLanguageService.ts @@ -14,6 +14,9 @@ import * as vpath from "./_namespaces/vpath"; import { incrementalVerifier, } from "./incrementalUtils"; +import { + patchServiceForStateBaseline, +} from "./projectServiceStateLogger"; import { createLoggerWithInMemoryLogs, HarnessLSCouldNotResolveModule, @@ -595,6 +598,7 @@ class SessionServerHost implements ts.server.ServerHost { class FourslashSession extends ts.server.Session { constructor(opts: ts.server.SessionOptions, readonly baselineHost: (when: string) => void) { super(opts); + patchServiceForStateBaseline(this.projectService); } getText(fileName: string) { return ts.getSnapshotText(this.projectService.getDefaultProjectForFile(ts.server.toNormalizedPath(fileName), /*ensureProject*/ true)!.getScriptSnapshot(fileName)!); @@ -609,6 +613,10 @@ class FourslashSession extends ts.server.Session { super.onMessage(message); this.baselineHost("After Request"); } + + getProjectService() { + return this.projectService; + } } export class ServerLanguageServiceAdapter implements LanguageServiceAdapter { @@ -642,6 +650,10 @@ export class ServerLanguageServiceAdapter implements LanguageServiceAdapter { if (baseline.length) { this.logger.log(when); baseline.forEach(s => this.logger.log(s)); + this.server.getProjectService().baseline(); + } + else { + this.server.getProjectService().baseline(when); } }); diff --git a/src/harness/projectServiceStateLogger.ts b/src/harness/projectServiceStateLogger.ts new file mode 100644 index 0000000000000..3d5086de862e1 --- /dev/null +++ b/src/harness/projectServiceStateLogger.ts @@ -0,0 +1,251 @@ +import { + arrayFrom, + compareStringsCaseSensitive, + Debug, + noop, +} from "./_namespaces/ts"; +import { + AutoImportProviderProject, + AuxiliaryProject, + LogLevel, + Project, + ProjectKind, + ProjectService, + ScriptInfo, +} from "./_namespaces/ts.server"; +import { + LoggerWithInMemoryLogs, +} from "./tsserverLogger"; + +interface ProjectData { + projectStateVersion: Project["projectStateVersion"]; + projectProgramVersion: Project["projectProgramVersion"]; + autoImportProviderHost: Project["autoImportProviderHost"]; + noDtsResolutionProject: Project["noDtsResolutionProject"]; +} + +interface ScriptInfoData { + open: boolean; + version: string; + pendingReloadFromDisk: boolean; + containingProjects: Set; +} + +enum Diff { + None = "", + New = " *new*", + Change = " *changed*", + Deleted = " *deleted*", +} + +type StateItemLog = [string, string[], string[]?]; + +export function patchServiceForStateBaseline(service: ProjectService) { + if (!service.logger.isTestLogger || !service.logger.hasLevel(LogLevel.verbose)) return; + if (service.baseline !== noop) return; // Already patched + + const projects = new Map(); + const scriptInfos = new Map(); + const allPropertiesOfProjectData: (keyof ProjectData & keyof Project)[] = [ + "projectStateVersion", + "projectProgramVersion", + "autoImportProviderHost", + "noDtsResolutionProject", + ]; + const logger = service.logger as LoggerWithInMemoryLogs; + service.baseline = title => { + const projectLogs = baselineProjects(); + const infoLogs = baselineScriptInfos(); + if (projectLogs?.length || infoLogs?.length) { + if (title) logger.log(title); + sendLogsToLogger("Projects::", projectLogs); + sendLogsToLogger("ScriptInfos::", infoLogs); + } + }; + + function sendLogsToLogger(title: string, logs: StateItemLog[] | undefined) { + if (!logs) return; + logger.log(title); + logs.sort((a, b) => compareStringsCaseSensitive(a[0], b[0])) + .forEach(([title, propertyLogs, additionalPropertyLogs]) => { + logger.log(title); + propertyLogs.forEach(s => logger.log(s)); + additionalPropertyLogs?.forEach(s => logger.log(s)); + }); + logger.log(""); + } + + function baselineProjects() { + const autoImportProviderProjects = [] as AutoImportProviderProject[]; + const auxiliaryProjects = [] as AuxiliaryProject[]; + return baselineState( + [service.externalProjects, service.configuredProjects, service.inferredProjects, autoImportProviderProjects, auxiliaryProjects], + projects, + (logs, project, data) => { + if (project.autoImportProviderHost) autoImportProviderProjects.push(project.autoImportProviderHost); + if (project.noDtsResolutionProject) auxiliaryProjects.push(project.noDtsResolutionProject); + let projectDiff = newOrDeleted(project, projects, data); + const projectPropertyLogs = [] as string[]; + allPropertiesOfProjectData.forEach(key => { + let value: Project[typeof key] | string = project[key]; + if (key === "autoImportProviderHost" || key === "noDtsResolutionProject") { + if (project[key]) value = (project[key] as Project).projectName; + else if (project[key] === undefined && data?.[key] === undefined) return; + } + projectDiff = printProperty(PrintPropertyWhen.Always, data, key, project[key], projectDiff, projectPropertyLogs, value); + }); + logs.push([`${project.projectName} (${ProjectKind[project.projectKind]})${projectDiff}`, projectPropertyLogs]); + return projectDiff; + }, + project => ({ + projectStateVersion: project.projectStateVersion, + projectProgramVersion: project.projectProgramVersion, + autoImportProviderHost: project.autoImportProviderHost, + noDtsResolutionProject: project.noDtsResolutionProject, + }), + ); + } + + function baselineScriptInfos() { + return baselineState( + [service.filenameToScriptInfo], + scriptInfos, + (logs, info, data) => { + let infoDiff = newOrDeleted(info, scriptInfos, data); + const infoPropertyLogs = [] as string[]; + const isOpen = info.isScriptOpen(); + infoDiff = printProperty(PrintPropertyWhen.Changed, data, "open", isOpen, infoDiff, infoPropertyLogs); + infoDiff = printProperty(PrintPropertyWhen.Always, data, "version", info.textStorage.getVersion(), infoDiff, infoPropertyLogs); + infoDiff = printProperty(PrintPropertyWhen.TruthyOrChangedOrNew, data, "pendingReloadFromDisk", info.textStorage.pendingReloadFromDisk, infoDiff, infoPropertyLogs); + const containingProjectsLogs = [] as string[]; + let containingProjectsDiff = Diff.None; + const defaultProject = isOpen && info.containingProjects.length ? info.getDefaultProject() : undefined; + info.containingProjects.forEach(project => + containingProjectsDiff = printPropertyWorker( + PrintPropertyWhen.Always, + ` ${project.projectName}${defaultProject === project ? " *default*" : ""}`, + containingProjectsLogs, + containingProjectsDiff, + !!data && !data.containingProjects.has(project), + Diff.New, + project, + ) + ); + const infoProjects = new Set(info.containingProjects); + data?.containingProjects.forEach(project => { + if (infoProjects.has(project)) return; + containingProjectsDiff = Diff.Change; + containingProjectsLogs.push(` ${project.projectName}${Diff.Deleted}`); + }); + infoDiff = printPropertyWorker( + PrintPropertyWhen.Always, + `containingProjects: ${info.containingProjects.length}`, + infoPropertyLogs, + infoDiff, + !!containingProjectsDiff, + Diff.Change, + info.containingProjects, + ); + logs.push([ + `${info.fileName}${isOpen ? " (Open)" : ""}${infoDiff}`, + infoPropertyLogs, + containingProjectsLogs, + ]); + return infoDiff; + }, + info => ({ + open: info.isScriptOpen(), + version: info.textStorage.getVersion(), + pendingReloadFromDisk: info.textStorage.pendingReloadFromDisk, + containingProjects: new Set(info.containingProjects), + }), + ); + } + + function baselineState( + currentCaches: (T[] | Map)[], + dataMap: Map, + printWorker: (logs: StateItemLog[], current: T, data: Data | undefined) => Diff, + toData: (current: T) => Data, + ) { + const logs = [] as StateItemLog[]; + let hasChange = false; + const currentSet = new Set(); + currentCaches.forEach(currentCache => currentCache.forEach(printCurrent)); + if (currentSet.size !== dataMap.size) { + for (const [key, data] of arrayFrom(dataMap.entries())) { + if (!currentSet.has(key)) { + dataMap.delete(key); + printWorker(logs, key, data); + } + } + hasChange = true; + } + return hasChange ? logs : undefined; + + function printCurrent(current: T) { + if (!current) return; + currentSet.add(current); + if (printWorker(logs, current, dataMap.get(current))) { + hasChange = true; + dataMap.set(current, toData(current)); + } + } + } + + function newOrDeleted(current: T, dataMap: Map, data: Data | undefined) { + return !data ? Diff.New : !dataMap.has(current) ? Diff.Deleted : Diff.None; + } + + enum PrintPropertyWhen { + Always, + TruthyOrChangedOrNew, + Changed, + } + function printProperty( + printWhen: PrintPropertyWhen, + data: Data | undefined, + key: Key, + value: Data[Key], + dataDiff: Diff, + propertyLogs: string[], + stringValue?: Data[Key] | string, + ) { + return printPropertyWorker( + printWhen, + `${key}: ${stringValue === undefined ? value : stringValue}`, + propertyLogs, + dataDiff, + !!data && data[key] !== value, + Diff.Change, + value, + ); + } + + function printPropertyWorker( + printWhen: PrintPropertyWhen, + stringValue: string, + propertyLogs: string[], + dataDiff: Diff, + propertyChanged: boolean, + propertyChangeDiff: Diff.Change | Diff.New, + value: any, + ) { + const propertyDiff = propertyChanged ? propertyChangeDiff : Diff.None; + const result = !dataDiff && propertyDiff ? propertyChangeDiff : dataDiff; + switch (printWhen) { + case PrintPropertyWhen.Changed: + if (!propertyDiff) return result; + break; + case PrintPropertyWhen.TruthyOrChangedOrNew: + if (!value && !propertyDiff) return result; + break; + case PrintPropertyWhen.Always: + break; + default: + Debug.assertNever(printWhen); + } + propertyLogs.push(` ${stringValue}${propertyDiff}`); + return result; + } +} diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index 624360c4fc7e0..0da434421ccb1 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -1139,6 +1139,7 @@ export class ProjectService { private pendingPluginEnablements?: Map[]>; private currentPluginEnablementPromise?: Promise; + /** @internal */ baseline: (title?: string) => void = noop; /** @internal */ verifyDocumentRegistry = noop; /** @internal */ verifyProgram: (project: Project) => void = noop; /** @internal */ onProjectCreation: (project: Project) => void = noop; @@ -3513,6 +3514,9 @@ export class ProjectService { }); this.inferredProjects.forEach(project => this.clearSemanticCache(project)); this.ensureProjectForOpenFiles(); + + this.logger.info("After reloading projects.."); + this.printProjects(); } /** @@ -4195,7 +4199,10 @@ export class ProjectService { } } - closeExternalProject(uncheckedFileName: string): void { + closeExternalProject(uncheckedFileName: string): void; + /** @internal */ + closeExternalProject(uncheckedFileName: string, print: boolean): void; + closeExternalProject(uncheckedFileName: string, print?: boolean): void { const fileName = toNormalizedPath(uncheckedFileName); const configFiles = this.externalProjectToConfiguredProjectMap.get(fileName); if (configFiles) { @@ -4211,6 +4218,7 @@ export class ProjectService { this.removeProject(externalProject); } } + if (print) this.printProjects(); } openExternalProjects(projects: protocol.ExternalProject[]): void { @@ -4221,15 +4229,17 @@ export class ProjectService { }); for (const externalProject of projects) { - this.openExternalProject(externalProject); + this.openExternalProject(externalProject, /*print*/ false); // delete project that is present in input list projectsToClose.delete(externalProject.projectFileName); } // close projects that were missing in the input list forEachKey(projectsToClose, externalProjectName => { - this.closeExternalProject(externalProjectName); + this.closeExternalProject(externalProjectName, /*print*/ false); }); + + this.printProjects(); } /** Makes a filename safe to insert in a RegExp */ @@ -4351,7 +4361,10 @@ export class ProjectService { return excludedFiles; } - openExternalProject(proj: protocol.ExternalProject): void { + openExternalProject(proj: protocol.ExternalProject): void; + /** @internal */ + openExternalProject(proj: protocol.ExternalProject, print: boolean): void; + openExternalProject(proj: protocol.ExternalProject, print?: boolean): void { proj.typeAcquisition = proj.typeAcquisition || {}; proj.typeAcquisition.include = proj.typeAcquisition.include || []; proj.typeAcquisition.exclude = proj.typeAcquisition.exclude || []; @@ -4399,17 +4412,18 @@ export class ProjectService { // The graph update here isnt postponed since any file open operation needs all updated external projects this.updateRootAndOptionsOfNonInferredProject(externalProject, proj.rootFiles, externalFilePropertyReader, compilerOptions, proj.typeAcquisition, proj.options.compileOnSave, watchOptionsAndErrors?.watchOptions); externalProject.updateGraph(); + if (print) this.printProjects(); return; } // some config files were added to external project (that previously were not there) // close existing project and later we'll open a set of configured projects for these files - this.closeExternalProject(proj.projectFileName); + this.closeExternalProject(proj.projectFileName, /*print*/ false); } else if (this.externalProjectToConfiguredProjectMap.get(proj.projectFileName)) { // this project used to include config files if (!tsConfigFiles) { // config files were removed from the project - close existing external project which in turn will close configured projects - this.closeExternalProject(proj.projectFileName); + this.closeExternalProject(proj.projectFileName, /*print*/ false); } else { // project previously had some config files - compare them with new set of files and close all configured projects that correspond to unused files @@ -4464,6 +4478,7 @@ export class ProjectService { const project = this.createExternalProject(proj.projectFileName, rootFiles, proj.options, proj.typeAcquisition, excludedFiles); project.updateGraph(); } + if (print) this.printProjects(); } hasDeferredExtension() { diff --git a/src/server/project.ts b/src/server/project.ts index fbac2fb111c35..109541097f7ca 100644 --- a/src/server/project.ts +++ b/src/server/project.ts @@ -372,15 +372,17 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo /** * Current project's program version. (incremented everytime new program is created that is not complete reuse from the old one) * This property is changed in 'updateGraph' based on the set of files in program + * @internal */ - private projectProgramVersion = 0; + projectProgramVersion = 0; /** * Current version of the project state. It is changed when: * - new root file was added/removed * - edit happen in some file that is currently included in the project. * This property is different from projectStructureVersion since in most cases edits don't affect set of files in the project + * @internal */ - private projectStateVersion = 0; + projectStateVersion = 0; protected projectErrors: Diagnostic[] | undefined; @@ -1664,7 +1666,7 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo ); const elapsed = timestamp() - start; this.sendPerformanceEvent("UpdateGraph", elapsed); - this.writeLog(`Finishing updateGraphWorker: Project: ${this.getProjectName()} Version: ${this.getProjectVersion()} structureChanged: ${hasNewProgram}${this.program ? ` structureIsReused:: ${(ts as any).StructureIsReused[this.program.structureIsReused]}` : ""} Elapsed: ${elapsed}ms`); + this.writeLog(`Finishing updateGraphWorker: Project: ${this.getProjectName()} projectStateVersion: ${this.projectStateVersion} projectProgramVersion: ${this.projectProgramVersion} structureChanged: ${hasNewProgram}${this.program ? ` structureIsReused:: ${(ts as any).StructureIsReused[this.program.structureIsReused]}` : ""} Elapsed: ${elapsed}ms`); if (this.projectService.logger.isTestLogger) { if (this.program !== oldProgram) { this.print(/*writeProjectFileNames*/ true, this.hasAddedorRemovedFiles, /*writeFileVersionAndText*/ true); @@ -1836,6 +1838,7 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo if (this.autoImportProviderHost) { this.autoImportProviderHost.print(/*writeProjectFileNames*/ false, /*writeFileExplaination*/ false, /*writeFileVersionAndText*/ false); } + this.noDtsResolutionProject?.print(/*writeProjectFileNames*/ false, /*writeFileExplaination*/ false, /*writeFileVersionAndText*/ false); } setCompilerOptions(compilerOptions: CompilerOptions) { diff --git a/src/server/scriptInfo.ts b/src/server/scriptInfo.ts index d99a5e88eb06e..1fd6079565297 100644 --- a/src/server/scriptInfo.ts +++ b/src/server/scriptInfo.ts @@ -93,7 +93,7 @@ export class TextStorage { /** * True when reloading contents of file from the disk is pending */ - private pendingReloadFromDisk = false; + pendingReloadFromDisk = false; constructor(private readonly host: ServerHost, private readonly info: ScriptInfo, initialVersion?: number) { this.version = initialVersion || 0; diff --git a/src/server/session.ts b/src/server/session.ts index 116ff92c5d9f9..dc2efe45ee4f2 100644 --- a/src/server/session.ts +++ b/src/server/session.ts @@ -3190,7 +3190,7 @@ export class Session implements EventSender { return this.requiredResponse(response); }, [protocol.CommandTypes.OpenExternalProject]: (request: protocol.OpenExternalProjectRequest) => { - this.projectService.openExternalProject(request.arguments); + this.projectService.openExternalProject(request.arguments, /*print*/ true); // TODO: GH#20447 report errors return this.requiredResponse(/*response*/ true); }, @@ -3200,7 +3200,7 @@ export class Session implements EventSender { return this.requiredResponse(/*response*/ true); }, [protocol.CommandTypes.CloseExternalProject]: (request: protocol.CloseExternalProjectRequest) => { - this.projectService.closeExternalProject(request.arguments.projectFileName); + this.projectService.closeExternalProject(request.arguments.projectFileName, /*print*/ true); // TODO: GH#20447 report errors return this.requiredResponse(/*response*/ true); }, diff --git a/src/testRunner/unittests/helpers/tsserver.ts b/src/testRunner/unittests/helpers/tsserver.ts index 3cc6a9d9c1c35..c66bee402909a 100644 --- a/src/testRunner/unittests/helpers/tsserver.ts +++ b/src/testRunner/unittests/helpers/tsserver.ts @@ -1,6 +1,9 @@ import { incrementalVerifier, } from "../../../harness/incrementalUtils"; +import { + patchServiceForStateBaseline, +} from "../../../harness/projectServiceStateLogger"; import { createLoggerWithInMemoryLogs, LoggerWithInMemoryLogs, @@ -52,9 +55,12 @@ export type TestSessionAndServiceHost = TestServerHostTrackingWrittenFiles & { }; export function patchHostTimeouts( inputHost: TestServerHostTrackingWrittenFiles, + session: TestSession | undefined, logger: LoggerWithInMemoryLogs, ) { const host = inputHost as TestSessionAndServiceHost; + host.service = session?.getProjectService(); + if (session) patchServiceForStateBaseline(session.getProjectService()); if (host.patched) return host; host.patched = true; if (!logger.hasLevel(ts.server.LogLevel.verbose)) { @@ -134,6 +140,7 @@ export class TestSession extends ts.server.Session { this.serverCancellationToken = cancellationToken as TestServerCancellationToken; patchHostTimeouts( changeToHostTrackingWrittenFiles(this.host), + this, this.logger, ); } diff --git a/src/testRunner/unittests/helpers/virtualFileSystemWithWatch.ts b/src/testRunner/unittests/helpers/virtualFileSystemWithWatch.ts index 4c46bc2455849..3a3790f99c3d1 100644 --- a/src/testRunner/unittests/helpers/virtualFileSystemWithWatch.ts +++ b/src/testRunner/unittests/helpers/virtualFileSystemWithWatch.ts @@ -356,6 +356,7 @@ export class TestServerHost implements server.ServerHost, FormatDiagnosticsHost, private inodeWatching: boolean | undefined; private readonly inodes?: Map; watchDirectory: HostWatchDirectory; + service?: server.ProjectService; constructor( fileOrFolderorSymLinkList: FileOrFolderOrSymLinkMap | readonly FileOrFolderOrSymLink[], { @@ -1038,6 +1039,7 @@ export class TestServerHost implements server.ServerHost, FormatDiagnosticsHost, this.timeoutCallbacks.serialize(baseline); this.immediateCallbacks.serialize(baseline); this.pendingInstalls.serialize(baseline); + this.service?.baseline(); } writtenFiles?: Map; diff --git a/src/testRunner/unittests/tsserver/autoImportProvider.ts b/src/testRunner/unittests/tsserver/autoImportProvider.ts index b6cbc6d8c80fc..ee8b44c75f2c5 100644 --- a/src/testRunner/unittests/tsserver/autoImportProvider.ts +++ b/src/testRunner/unittests/tsserver/autoImportProvider.ts @@ -4,6 +4,7 @@ import { } from "../helpers"; import { baselineTsserverLogs, + closeFilesForSession, openFilesForSession, TestSession, } from "../helpers/tsserver"; @@ -52,6 +53,7 @@ describe("unittests:: tsserver:: autoImportProvider", () => { ]); openFilesForSession([indexTs], session); assert.isUndefined(session.getProjectService().configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider()); + session.host.baselineHost("After getAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "without dependencies listed", session); }); @@ -65,6 +67,7 @@ describe("unittests:: tsserver:: autoImportProvider", () => { ]); openFilesForSession([indexTs], session); assert.isUndefined(session.getProjectService().configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider()); + session.host.baselineHost("After getAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "dependencies are already in main program", session); }); @@ -85,6 +88,7 @@ describe("unittests:: tsserver:: autoImportProvider", () => { .getLanguageService() .getAutoImportProvider(), ); + session.host.baselineHost("After getAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "projects already inside node_modules", session); }); @@ -97,6 +101,7 @@ describe("unittests:: tsserver:: autoImportProvider", () => { session.logger.log(`Default Project for ${angularFormsDts.path}:: ${session.getProjectService().getDefaultProjectForFile(angularFormsDts.path as ts.server.NormalizedPath, /*ensureProject*/ true)?.projectName}`); assert.isUndefined(session.getProjectService().configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider()); + session.host.baselineHost("After getAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "Auto-importable file is in inferred project until imported", session); }); @@ -111,9 +116,12 @@ describe("unittests:: tsserver:: autoImportProvider", () => { openFilesForSession([indexTs], session); assert.isUndefined(session.getProjectService().configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider()); + session.host.baselineHost("After getAutoImportProvider"); host.writeFile(packageJson.path, packageJson.content); + session.host.baselineHost("Before getAutoImportProvider"); assert.ok(session.getProjectService().configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider()); + session.host.baselineHost("After getAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "Responds to package_json changes", session); }); @@ -129,12 +137,14 @@ describe("unittests:: tsserver:: autoImportProvider", () => { openFilesForSession([indexTs], session); const autoImportProvider = session.getProjectService().configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider(); assert.ok(autoImportProvider); + session.host.baselineHost("After getAutoImportProvider"); updateFile(indexTs.path, "console.log(0)"); assert.strictEqual( session.getProjectService().configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider(), autoImportProvider, ); + session.host.baselineHost("After getAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "Reuses autoImportProvider when program structure is unchanged", session); }); @@ -152,8 +162,11 @@ describe("unittests:: tsserver:: autoImportProvider", () => { hostProject.getPackageJsonAutoImportProvider(); const autoImportProviderProject = hostProject.autoImportProviderHost; assert.ok(autoImportProviderProject); + session.host.baselineHost("After getPackageJsonAutoImportProvider"); - hostProject.close(); + closeFilesForSession([indexTs], session); + openFilesForSession([{ file: "/random/random.ts", content: "export const y = 10;", projectRootPath: "/random" }], session); + assert.isTrue(hostProject.isClosed()); assert.ok(autoImportProviderProject && autoImportProviderProject.isClosed()); assert.isUndefined(hostProject.autoImportProviderHost); baselineTsserverLogs("autoImportProvider", "Closes AutoImportProviderProject when host project closes", session); @@ -176,8 +189,10 @@ describe("unittests:: tsserver:: autoImportProvider", () => { // Create auto import provider project, ensure still !session.getProjectService().pendingEnsureProjectForOpenFiles host.writeFile(packageJson.path, packageJson.content); + session.host.baselineHost("Before getPackageJsonAutoImportProvider"); hostProject.getPackageJsonAutoImportProvider(); assert.isFalse(session.getProjectService().pendingEnsureProjectForOpenFiles); + session.host.baselineHost("After getPackageJsonAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "Does not schedule ensureProjectForOpenFiles on AutoImportProviderProject creation", session); }); @@ -196,16 +211,20 @@ describe("unittests:: tsserver:: autoImportProvider", () => { const project = session.getProjectService().configuredProjects.get(tsconfig.path)!; const completionsBefore = project.getLanguageService().getCompletionsAtPosition(indexTs.path, 0, { includeCompletionsForModuleExports: true }); assert.isTrue(completionsBefore?.entries.some(c => c.name === "PatternValidator")); + session.host.baselineHost("After completions"); // Directory watchers only fire for add/remove, not change. // This is ok since a real `npm install` will always trigger add/remove events. host.deleteFile(angularFormsDts.path); host.writeFile(angularFormsDts.path, ""); + session.host.baselineHost("Before getAutoImportProvider"); const autoImportProvider = project.getLanguageService().getAutoImportProvider(); + session.host.baselineHost("After getAutoImportProvider"); const completionsAfter = project.getLanguageService().getCompletionsAtPosition(indexTs.path, 0, { includeCompletionsForModuleExports: true }); assert.equal(autoImportProvider!.getSourceFile(angularFormsDts.path)!.getText(), ""); assert.isFalse(completionsAfter?.entries.some(c => c.name === "PatternValidator")); + session.host.baselineHost("After Completions"); baselineTsserverLogs("autoImportProvider", "Responds to automatic changes in node_modules", session); }); @@ -243,9 +262,12 @@ describe("unittests:: tsserver:: autoImportProvider", () => { openFilesForSession([indexTs], session); assert.isUndefined(session.getProjectService().configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider()); + session.host.baselineHost("After getAutoImportProvider"); host.writeFile(packageJson.path, packageJson.content); + session.host.baselineHost("Before getAutoImportProvider"); assert.ok(session.getProjectService().configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider()); + session.host.baselineHost("After getAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "Recovers from an unparseable package_json", session); }); @@ -267,6 +289,7 @@ describe("unittests:: tsserver:: autoImportProvider", () => { openFilesForSession([indexTs], session); const project = session.getProjectService().configuredProjects.get(tsconfig.path)!; assert.isUndefined(project.getPackageJsonAutoImportProvider()); + session.host.baselineHost("After getPackageJsonAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "Does not create an auto import provider if there are too many dependencies", session); }); @@ -291,6 +314,7 @@ describe("unittests:: tsserver:: autoImportProvider", () => { const project = session.getProjectService().configuredProjects.get("/tsconfig.json")!; const autoImportProvider = project.getPackageJsonAutoImportProvider()!; assert.isDefined(autoImportProvider); + session.host.baselineHost("After getPackageJsonAutoImportProvider"); // Trigger completions to ensure export info map is populated triggerCompletions("/index.ts", 0, 0); @@ -336,6 +360,7 @@ describe("unittests:: tsserver:: autoImportProvider - monorepo", () => { // Project for A is created - ensure it doesn't have an autoImportProvider assert.isUndefined(session.getProjectService().configuredProjects.get("/packages/a/tsconfig.json")!.getLanguageService().getAutoImportProvider()); + session.host.baselineHost("After getAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "Does not create auto import providers upon opening projects for find-all-references", session); }); @@ -355,7 +380,9 @@ describe("unittests:: tsserver:: autoImportProvider - monorepo", () => { const { session } = setup(files); openFilesForSession([files[2]], session); assert.isDefined(session.getProjectService().configuredProjects.get("/packages/a/tsconfig.json")!.getPackageJsonAutoImportProvider()); + session.host.baselineHost("After getPackageJsonAutoImportProvider"); assert.isDefined(session.getProjectService().configuredProjects.get("/packages/a/tsconfig.json")!.getPackageJsonAutoImportProvider()); + session.host.baselineHost("After getPackageJsonAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "Does not close when root files are redirects that dont actually exist", session); }); diff --git a/src/testRunner/unittests/tsserver/exportMapCache.ts b/src/testRunner/unittests/tsserver/exportMapCache.ts index e3f27e963701c..bcb719106d30f 100644 --- a/src/testRunner/unittests/tsserver/exportMapCache.ts +++ b/src/testRunner/unittests/tsserver/exportMapCache.ts @@ -83,6 +83,7 @@ describe("unittests:: tsserver:: exportMapCache", () => { project.getPackageJsonAutoImportProvider(); assert.ok(exportMapCache.isUsableByFile(bTs.path as ts.Path)); assert.ok(!exportMapCache.isEmpty()); + session.host.baselineHost("After getPackageJsonAutoImportProvider"); baselineTsserverLogs("exportMapCache", "does not invalidate the cache when package.json is changed inconsequentially", session); }); @@ -93,6 +94,7 @@ describe("unittests:: tsserver:: exportMapCache", () => { project.getPackageJsonAutoImportProvider(); assert.ok(!exportMapCache.isUsableByFile(bTs.path as ts.Path)); assert.ok(exportMapCache.isEmpty()); + session.host.baselineHost("After getPackageJsonAutoImportProvider"); baselineTsserverLogs("exportMapCache", "invalidates the cache when package.json change results in AutoImportProvider change", session); }); @@ -206,6 +208,7 @@ describe("unittests:: tsserver:: exportMapCache", () => { host.runQueuedTimeoutCallbacks(); project.getPackageJsonAutoImportProvider(); + session.host.baselineHost("After getPackageJsonAutoImportProvider"); // Cache is invalidated because other file has changed assert.ok(!exportMapCache.isUsableByFile(classesTs.path as ts.Path)); diff --git a/src/testRunner/unittests/tsserver/partialSemanticServer.ts b/src/testRunner/unittests/tsserver/partialSemanticServer.ts index af475acc63309..23264937e22ed 100644 --- a/src/testRunner/unittests/tsserver/partialSemanticServer.ts +++ b/src/testRunner/unittests/tsserver/partialSemanticServer.ts @@ -217,6 +217,7 @@ function fooB() { }`, const project = service.inferredProjects[0]; assert.isFalse(project.autoImportProviderHost); assert.isUndefined(project.getPackageJsonAutoImportProvider()); + session.host.baselineHost("After getPackageJsonAutoImportProvider"); assert.deepEqual(project.getPackageJsonsForAutoImport(), ts.emptyArray); baselineTsserverLogs("partialSemanticServer", "should not create autoImportProvider or handle package jsons", session); }); diff --git a/src/testRunner/unittests/tsserver/projects.ts b/src/testRunner/unittests/tsserver/projects.ts index 082e16efc208b..fea6d91e0c0b9 100644 --- a/src/testRunner/unittests/tsserver/projects.ts +++ b/src/testRunner/unittests/tsserver/projects.ts @@ -185,7 +185,7 @@ describe("unittests:: tsserver:: projects::", () => { }; session.host.baselineHost("Before request"); session.logger.info(`request:${ts.server.stringifyIndented(request)}`); - session.getProjectService().openExternalProject(request.arguments); + session.getProjectService().openExternalProject(request.arguments, /*print*/ true); session.host.baselineHost("After request"); baselineTsserverLogs("projects", "external project including config file", session); }); diff --git a/src/testRunner/unittests/tsserver/typingsInstaller.ts b/src/testRunner/unittests/tsserver/typingsInstaller.ts index a7174a4e8d802..9a869bd70ff4f 100644 --- a/src/testRunner/unittests/tsserver/typingsInstaller.ts +++ b/src/testRunner/unittests/tsserver/typingsInstaller.ts @@ -1667,6 +1667,7 @@ describe("unittests:: tsserver:: typingsInstaller:: discover typings", () => { const log = loggerToTypingsInstallerLog(logger); const testhost = patchHostTimeouts( changeToHostTrackingWrittenFiles(host), + /*session*/ undefined, logger, ); testhost.baselineHost(""); diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 100081fb8cccf..63d75271b18d4 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -3332,18 +3332,6 @@ declare namespace ts { * Last version that was reported. */ private lastReportedVersion; - /** - * Current project's program version. (incremented everytime new program is created that is not complete reuse from the old one) - * This property is changed in 'updateGraph' based on the set of files in program - */ - private projectProgramVersion; - /** - * Current version of the project state. It is changed when: - * - new root file was added/removed - * - edit happen in some file that is currently included in the project. - * This property is different from projectStructureVersion since in most cases edits don't affect set of files in the project - */ - private projectStateVersion; protected projectErrors: Diagnostic[] | undefined; protected isInitialLoadPending: () => boolean; private readonly cancellationToken; diff --git a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js index e179eb554b36a..523d656ff4939 100644 --- a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js +++ b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 50 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -183,6 +183,33 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -199,7 +226,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/file3.ts 500 unde Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/file3.ts :: Config file name: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -242,6 +269,34 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/commonFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file3.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -292,7 +347,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.ts 500 unde Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/commonFile1.ts :: Config file name: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -340,6 +395,36 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file3.ts *changed* + open: false *changed* + version: Text-3 *changed* + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -357,7 +442,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -384,3 +469,30 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts (Open) *changed* + version: SVC-3-0 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file3.ts + version: Text-3 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js index 3fe182e519319..833afa080870f 100644 --- a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js +++ b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 50 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -183,6 +183,33 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -199,7 +226,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/file3.ts 500 unde Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/file3.ts :: Config file name: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -242,6 +269,34 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/commonFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file3.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -300,7 +355,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.ts 500 unde Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/commonFile1.ts :: Config file name: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -348,6 +403,36 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file3.ts *changed* + open: false *changed* + version: Text-3 *changed* + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -365,7 +450,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -392,3 +477,30 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts (Open) *changed* + version: SVC-3-0 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file3.ts + version: Text-3 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js index 589ed4cc7373a..d991d88d6f8e6 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js @@ -32,7 +32,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts SVC-1-0 "export declare class PatternValidator {}" @@ -50,6 +50,17 @@ PolledWatches:: /node_modules/@angular/forms/node_modules/@types: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/node_modules/@angular/forms/forms.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -191,6 +202,11 @@ FsWatches:: /node_modules/@angular/forms/package.json: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Default Project for /node_modules/@angular/forms/forms.d.ts:: /dev/null/inferredProject1* Before request @@ -236,7 +252,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /node_modules/@angular/forms/forms.d.ts SVC-1-0 "export declare class PatternValidator {}" @@ -401,4 +417,24 @@ FsWatchesRecursive:: /: *new* {} -Default Project for /node_modules/@angular/forms/forms.d.ts:: /tsconfig.json \ No newline at end of file +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/forms/forms.d.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *default* *new* + +Default Project for /node_modules/@angular/forms/forms.d.ts:: /tsconfig.json +After getAutoImportProvider diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js index 3dda2c89d4d56..efacf6ee41e4c 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /index.ts SVC-1-0 "" @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" @@ -220,8 +220,207 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + +After getPackageJsonAutoImportProvider + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/index.ts" + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /index.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] response: + { + "responseRequired": false + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/index.ts: *new* + {} +/package.json: + {} +/tsconfig.json: + {} + +FsWatchesRecursive:: +/: + {} +/node_modules: + {} + +ScriptInfos:: +/index.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json +/node_modules/@angular/forms/forms.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/random/random.ts", + "projectRootPath": "/random", + "fileContent": "export const y = 10;" + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] Search path: /random +Info seq [hh:mm:ss:mss] For info: /random/random.ts :: No config files found. +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (1) + /random/random.ts SVC-1-0 "export const y = 10;" + + + random.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" + + + ../node_modules/@angular/forms/forms.d.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + /index.ts + + + index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file \ No newline at end of file +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /index.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: /random +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] response: + { + "responseRequired": false + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/package.json: + {} + +FsWatches *deleted*:: +/index.ts: + {} +/tsconfig.json: + {} + +FsWatchesRecursive:: +/node_modules: + {} + +FsWatchesRecursive *deleted*:: +/: + {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* +/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: undefined *changed* + +ScriptInfos:: +/index.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /tsconfig.json *deleted* +/node_modules/@angular/forms/forms.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/autoImportProviderProject2* *new* + /dev/null/autoImportProviderProject1* *deleted* +/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js index ac2a8a57be9ba..65167f2f9f413 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/a/node_modul Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/a/node_modules/b 1 undefined Config: /packages/a/node_modules/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/a/node_modules/b 1 undefined Config: /packages/a/node_modules/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /packages/a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /packages/a/index.ts SVC-1-0 "" @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /packages/a/node_modules/b/index.ts Text-1 "export class B {}" @@ -247,3 +247,26 @@ FsWatchesRecursive:: {} /packages/a/node_modules/b: *new* {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/packages/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/a/tsconfig.json *default* +/packages/a/node_modules/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + +After getPackageJsonAutoImportProvider + +After getPackageJsonAutoImportProvider diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js index 7870e6fa937ff..4a1471af6fe22 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /index.ts SVC-1-0 "" @@ -271,3 +271,16 @@ FsWatches:: FsWatchesRecursive:: /: *new* {} + +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + +After getPackageJsonAutoImportProvider diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js index b5abf05f7c651..8e8e35e2e12b8 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/b 1 und Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/b 1 undefined Config: /packages/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /packages/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /packages/b/index.ts SVC-1-0 "export class B {}" @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" @@ -250,6 +250,28 @@ FsWatchesRecursive:: /packages/b: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/packages/b/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -317,7 +339,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/a/tsconfig.j Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/a 1 undefined Config: /packages/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/a 1 undefined Config: /packages/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /packages/b/index.ts SVC-1-0 "export class B {}" @@ -451,7 +473,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /packages/a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /packages/b/index.ts SVC-1-0 "export class B {}" @@ -614,3 +636,37 @@ FsWatchesRecursive:: {} /packages/b: {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/node_modules/@angular/forms/forms.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/packages/a/index.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /packages/a/tsconfig.json +/packages/b/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 3 *changed* + /packages/b/tsconfig.json *default* + /tsconfig.json *new* + /packages/a/tsconfig.json *new* + +After getAutoImportProvider diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js index 59436a2289901..4e65406b1207f 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /index.ts SVC-1-0 "" @@ -194,6 +194,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* @@ -238,11 +249,30 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json Detected new package.json: /pack Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] Project: /tsconfig.json Detected file add/remove of non supported extension: package.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with package.json :: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory +Before getPackageJsonAutoImportProvider +//// [/package.json] +{ "dependencies": { "@angular/forms": "*", "@angular/core": "*" } } + + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/package.json: *new* + {} +/tsconfig.json: + {} + +FsWatchesRecursive:: +/: + {} + Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" @@ -251,4 +281,40 @@ Info seq [hh:mm:ss:mss] Files (1) node_modules/@angular/forms/forms.d.ts Root file specified for compilation -Info seq [hh:mm:ss:mss] ----------------------------------------------- \ No newline at end of file +Info seq [hh:mm:ss:mss] ----------------------------------------------- +After getPackageJsonAutoImportProvider + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/package.json: + {} +/tsconfig.json: + {} + +FsWatchesRecursive:: +/: + {} +/node_modules: *new* + {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js b/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js index 1f5a8ab0d9156..e2ad22e98adba 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /index.ts SVC-1-0 "" @@ -200,13 +200,31 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + +After getAutoImportProvider + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /package.json 1:: WatchInfo: /package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /package.json 1:: WatchInfo: /package.json 250 undefined WatchType: package.json file +Before getAutoImportProvider +//// [/package.json] +{ "dependencies": { "@angular/forms": "*", "@angular/core": "*" } } + + Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" @@ -215,4 +233,40 @@ Info seq [hh:mm:ss:mss] Files (1) node_modules/@angular/forms/forms.d.ts Root file specified for compilation -Info seq [hh:mm:ss:mss] ----------------------------------------------- \ No newline at end of file +Info seq [hh:mm:ss:mss] ----------------------------------------------- +After getAutoImportProvider + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/package.json: + {} +/tsconfig.json: + {} + +FsWatchesRecursive:: +/: + {} +/node_modules: *new* + {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js index 6204ef094a09d..0a023fa046ddc 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /index.ts SVC-1-0 "" @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" @@ -229,6 +229,29 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/core/core.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * @@ -240,6 +263,8 @@ Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * +After completions + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /node_modules/@angular/forms/forms.d.ts :: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /node_modules/@angular/forms/forms.d.ts :: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -253,12 +278,44 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with node_modules/@angular Info seq [hh:mm:ss:mss] Scheduled: /tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with node_modules/@angular/forms/forms.d.ts :: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory +Before getAutoImportProvider +//// [/node_modules/@angular/forms/forms.d.ts] + + + +Timeout callback:: count: 2 +4: /tsconfig.json *new* +5: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/core/core.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@angular/forms/forms.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/autoImportProviderProject1* *deleted* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/@angular/forms/forms.d.ts Text-2 "" @@ -271,6 +328,22 @@ Info seq [hh:mm:ss:mss] Files (2) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +After getAutoImportProvider + +ScriptInfos:: +/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/core/core.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-2 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * @@ -281,4 +354,5 @@ Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * -Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * \ No newline at end of file +Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * +After Completions diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js index a1385096de1c6..5fd213afe5a77 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /index.ts SVC-1-0 "" @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" @@ -229,6 +229,29 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/core/core.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -246,7 +269,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" @@ -276,6 +299,34 @@ FsWatchesRecursive:: /node_modules: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/core/core.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@angular/forms/forms.d.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* *default* *new* + /dev/null/autoImportProviderProject1* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -343,6 +394,18 @@ Timeout callback:: count: 2 7: /tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", @@ -487,8 +550,20 @@ FsWatchesRecursive:: /node_modules: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * @@ -518,7 +593,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts SVC-2-0 "export class ValidatorPattern {}" @@ -526,7 +601,7 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/@angular/forms/forms.d.ts SVC-2-0 "export class ValidatorPattern {}" @@ -557,6 +632,33 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/core/core.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@angular/forms/forms.d.ts (Open) *changed* + version: SVC-2-0 *changed* + containingProjects: 2 + /dev/null/inferredProject1* *default* + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js index b1a54d54d1eb9..b2466a810c339 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /index.ts SVC-1-0 "" @@ -200,13 +200,31 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + +After getAutoImportProvider + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /package.json 1:: WatchInfo: /package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /package.json 1:: WatchInfo: /package.json 250 undefined WatchType: package.json file +Before getAutoImportProvider +//// [/package.json] +{ "dependencies": { "@angular/forms": "*", "@angular/core": "*" } } + + Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" @@ -215,4 +233,40 @@ Info seq [hh:mm:ss:mss] Files (1) node_modules/@angular/forms/forms.d.ts Root file specified for compilation -Info seq [hh:mm:ss:mss] ----------------------------------------------- \ No newline at end of file +Info seq [hh:mm:ss:mss] ----------------------------------------------- +After getAutoImportProvider + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/package.json: + {} +/tsconfig.json: + {} + +FsWatchesRecursive:: +/: + {} +/node_modules: *new* + {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js b/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js index 8e87b876cc6fe..d83ca3496e1b0 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /index.ts SVC-1-0 "" @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" @@ -220,6 +220,27 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + +After getAutoImportProvider + Before request Info seq [hh:mm:ss:mss] request: @@ -237,7 +258,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /index.ts SVC-2-0 "console.log(0)" @@ -264,3 +285,24 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/forms/forms.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + +After getAutoImportProvider diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js index b55ae0c646977..370077587b365 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/n Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /index.ts SVC-1-0 "export {};" @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/@types/node/index.d.ts Text-1 "export declare class Stats {}" @@ -280,6 +280,32 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@types/node/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/node_modules/memfs/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + +After getPackageJsonAutoImportProvider + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js index d5b160c08f9e7..40f7594f6b66d 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 u Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /node_modules/@angular/forms/forms.d.ts Text-1 "export declare class PatternValidator {}" @@ -209,3 +209,20 @@ FsWatchesRecursive:: {} /node_modules: *new* {} + +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + +After getAutoImportProvider diff --git a/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js index 80b87e8f724f6..ebd5fbf154a56 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js @@ -29,7 +29,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts SVC-1-0 "export declare class PatternValidator {}" @@ -47,6 +47,17 @@ PolledWatches:: /node_modules/@angular/forms/node_modules/@types: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/node_modules/@angular/forms/forms.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -191,3 +202,10 @@ PolledWatches:: FsWatches:: /node_modules/@angular/forms/package.json: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +After getAutoImportProvider diff --git a/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js b/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js index d143b90fa7705..1070734aacd2e 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /index.ts SVC-1-0 "" @@ -199,3 +199,16 @@ FsWatches:: FsWatchesRecursive:: /: *new* {} + +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + +After getAutoImportProvider diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js b/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js index 677d1199f3879..e5ff048dfe8b9 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js @@ -25,7 +25,7 @@ Info seq [hh:mm:ss:mss] For info: /a.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /b.d.ts Text-1 "export declare class B {}" @@ -59,6 +59,21 @@ FsWatches:: /b.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -74,7 +89,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /b.js Text-1 "export class B {}" @@ -124,6 +139,30 @@ FsWatches:: /b.js: *new* {} +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject1* *default* + /dev/null/auxiliaryProject1* *new* +/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -140,7 +179,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /b.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b.js Text-1 "export class B {}" @@ -164,6 +203,35 @@ FsWatches *deleted*:: /b.js: {} +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /dev/null/inferredProject1* *default* + /dev/null/auxiliaryProject1* +/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.js (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/auxiliaryProject1* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -280,6 +348,10 @@ TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discove Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) @@ -307,3 +379,15 @@ PolledWatches:: FsWatches:: /b.d.ts: {} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js index 31ad1bc6d1d02..6ad9717631e0a 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/proje Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -135,6 +135,29 @@ FsWatchesRecursive:: /user/users/projects/myproject/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/node_modules/@types/yargs/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -154,7 +177,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /user/users/projects/myproject/node_modules/yargs/index.js Text-1 "// Specifically didnt have ./callback import to ensure that resolving module sepcifier adds the file to project at later stage\nexport function command(cmd, cb) { cb(Yargs) }\n" @@ -168,7 +191,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (3) /user/users/projects/myproject/node_modules/yargs/index.js Text-1 "// Specifically didnt have ./callback import to ensure that resolving module sepcifier adds the file to project at later stage\nexport function command(cmd, cb) { cb(Yargs) }\n" @@ -236,6 +259,42 @@ FsWatchesRecursive:: /user/users/projects/myproject/node_modules/@types: {} +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject1* *default* + /dev/null/auxiliaryProject1* *new* +/user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/node_modules/@types/yargs/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/node_modules/yargs/callback.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/user/users/projects/myproject/node_modules/yargs/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js index f1f82664e1f65..a4e4a2b4fbb38 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/proje Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -165,6 +165,33 @@ FsWatchesRecursive:: /user/users/projects/myproject/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/folder/random.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/node_modules/@types/yargs/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/some/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -188,7 +215,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (4) /user/users/projects/myproject/node_modules/yargs/callback.js Text-1 "export class Yargs { positional() { } }\n" @@ -270,3 +297,44 @@ FsWatchesRecursive:: {} /user/users/projects/myproject/node_modules/@types: {} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/folder/random.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/auxiliaryProject1* *new* +/user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/node_modules/@types/yargs/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/node_modules/yargs/callback.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/user/users/projects/myproject/node_modules/yargs/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/user/users/projects/myproject/some/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject1* *default* + /dev/null/auxiliaryProject1* *new* diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js index c0666f7d642e6..078997811184d 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/proj/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -202,6 +202,25 @@ FsWatchesRecursive:: /users/username/projects/proj/foo: *new* {} +Projects:: +/users/username/projects/proj/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json +/users/username/projects/proj/foo/boo/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json *default* +/users/username/projects/proj/foo/boo/moo/app.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json + Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /users/username/projects/proj/foo/boo/app.ts:: 1 Info seq [hh:mm:ss:mss] foo/boo/app.ts(1,24): error TS2307: Cannot find module 'debug' or its corresponding type declarations. @@ -264,6 +283,11 @@ Timeout callback:: count: 2 5: /users/username/projects/proj/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/proj/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 5: /users/username/projects/proj/tsconfig.json 6: *ensureProjectForOpenFiles* @@ -274,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/proj/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -349,5 +373,28 @@ FsWatchesRecursive:: /users/username/projects/proj/node_modules: {} +Projects:: +/users/username/projects/proj/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json +/users/username/projects/proj/foo/boo/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json *default* +/users/username/projects/proj/foo/boo/moo/app.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json +/users/username/projects/proj/node_modules/debug/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json + Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /users/username/projects/proj/foo/boo/app.ts:: 0 Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /users/username/projects/proj/foo/boo/moo/app.ts:: 0 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js index 9f1e58be96192..e39053e4aa42a 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/proj/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -202,6 +202,25 @@ FsWatchesRecursive:: /users/username/projects/proj/foo: *new* {} +Projects:: +/users/username/projects/proj/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json +/users/username/projects/proj/foo/boo/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json *default* +/users/username/projects/proj/foo/boo/moo/app.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json + Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /users/username/projects/proj/foo/boo/app.ts:: 1 Info seq [hh:mm:ss:mss] foo/boo/app.ts(1,24): error TS2307: Cannot find module 'debug' or its corresponding type declarations. @@ -264,6 +283,11 @@ Timeout callback:: count: 2 5: /users/username/projects/proj/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/proj/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 5: /users/username/projects/proj/tsconfig.json 6: *ensureProjectForOpenFiles* @@ -274,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/proj/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -349,5 +373,28 @@ FsWatchesRecursive:: /users/username/projects/proj/node_modules: {} +Projects:: +/users/username/projects/proj/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json +/users/username/projects/proj/foo/boo/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json *default* +/users/username/projects/proj/foo/boo/moo/app.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json +/users/username/projects/proj/node_modules/debug/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/proj/tsconfig.json + Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /users/username/projects/proj/foo/boo/app.ts:: 0 Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /users/username/projects/proj/foo/boo/moo/app.ts:: 0 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js index ab9ded148eaff..84abc322e0418 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/foo.ts SVC-1-0 "import {y} from \"bar\"" @@ -95,6 +95,17 @@ FsWatches:: /users/username/projects/project: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /users/username/projects/project/foo.ts:: 1 Info seq [hh:mm:ss:mss] foo.ts(1,17): error TS2792: Cannot find module 'bar'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? @@ -351,6 +362,11 @@ Timeout callback:: count: 2 2: /dev/null/inferredProject1* *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/bar.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -359,7 +375,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /users/username/projects/project/bar.d.ts Text-1 "export var y = 1" diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js index 7e387382d5e79..1b6be335722db 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -238,6 +238,21 @@ FsWatchesRecursive:: /user/username/rootfolder/otherfolder/a/b: *new* {} +Projects:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations @@ -710,6 +725,11 @@ Timeout callback:: count: 3 6: /user/username/rootfolder/otherfolder/a/b/tsconfig.json *new* 7: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -2010,7 +2030,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2091,3 +2111,22 @@ FsWatchesRecursive:: {} /user/username/rootfolder/otherfolder/a/b/node_modules/@types: {} + +Projects:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/node_modules/@types/lodash/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js index d7784e19bae89..fe03ea8d0d858 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -238,6 +238,21 @@ FsWatchesRecursive:: /user/username/rootfolder/otherfolder/a/b: *new* {} +Projects:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations @@ -713,6 +728,11 @@ Timeout callback:: count: 3 6: /user/username/rootfolder/otherfolder/a/b/tsconfig.json *new* 7: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -730,7 +750,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -768,6 +788,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -1301,6 +1326,11 @@ Timeout callback:: count: 3 35: /user/username/rootfolder/otherfolder/a/b/tsconfig.json *new* 36: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -1318,7 +1348,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1356,6 +1386,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -2117,6 +2152,11 @@ Timeout callback:: count: 3 105: /user/username/rootfolder/otherfolder/a/b/tsconfig.json *new* 106: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -2144,7 +2184,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2225,3 +2265,22 @@ FsWatchesRecursive:: {} /user/username/rootfolder/otherfolder/a/b/node_modules/@types: {} + +Projects:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/node_modules/@types/lodash/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js index 3e5b7cd94aab6..292ad7b4429d4 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/node_modules 1 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/node_modules 1 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Users/someuser/work/applications/frontend/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -303,6 +303,25 @@ FsWatchesRecursive:: /Users/someuser/work/applications/frontend/src: *new* {} +Projects:: +/Users/someuser/work/applications/frontend/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts *new* + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json +/Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json *default* +/a/lib/lib.es2016.full.d.ts *new* + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts :: WatchInfo: /Users/someuser/work/applications/frontend/src 1 undefined Config: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /Users/someuser/work/applications/frontend/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -318,10 +337,15 @@ Timeout callback:: count: 2 1: /Users/someuser/work/applications/frontend/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/Users/someuser/work/applications/frontend/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /Users/someuser/work/applications/frontend/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Users/someuser/work/applications/frontend/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -391,6 +415,29 @@ FsWatchesRecursive:: /Users/someuser/work/applications/frontend/src: {} +Projects:: +/Users/someuser/work/applications/frontend/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json +/Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json *default* +/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts *new* + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json +/a/lib/lib.es2016.full.d.ts + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json + Info seq [hh:mm:ss:mss] fileExists:: [ { "key": "/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts", @@ -462,6 +509,25 @@ FsWatchesRecursive:: /Users/someuser/work/applications/frontend/src: {} +ScriptInfos:: +/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json +/Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json *default* +/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json *default* +/a/lib/lib.es2016.full.d.ts + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json + Info seq [hh:mm:ss:mss] fileExists:: [] Info seq [hh:mm:ss:mss] directoryExists:: [] Info seq [hh:mm:ss:mss] getDirectories:: [] diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js index 15ade3144d8ea..3b1d14cb3d5a7 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/node_modules 1 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/node_modules 1 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Users/someuser/work/applications/frontend/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -303,6 +303,25 @@ FsWatchesRecursive:: /Users/someuser/work/applications/frontend/src: *new* {} +Projects:: +/Users/someuser/work/applications/frontend/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts *new* + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json +/Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json *default* +/a/lib/lib.es2016.full.d.ts *new* + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts :: WatchInfo: /Users/someuser/work/applications/frontend/src 1 undefined Config: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /Users/someuser/work/applications/frontend/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -318,10 +337,15 @@ Timeout callback:: count: 2 1: /Users/someuser/work/applications/frontend/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/Users/someuser/work/applications/frontend/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /Users/someuser/work/applications/frontend/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Users/someuser/work/applications/frontend/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -391,6 +415,29 @@ FsWatchesRecursive:: /Users/someuser/work/applications/frontend/src: {} +Projects:: +/Users/someuser/work/applications/frontend/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json +/Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json *default* +/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts *new* + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json +/a/lib/lib.es2016.full.d.ts + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json + Info seq [hh:mm:ss:mss] fileExists:: [ { "key": "/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts", @@ -462,6 +509,25 @@ FsWatchesRecursive:: /Users/someuser/work/applications/frontend/src: {} +ScriptInfos:: +/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json +/Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json *default* +/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json *default* +/a/lib/lib.es2016.full.d.ts + version: Text-1 + containingProjects: 1 + /Users/someuser/work/applications/frontend/tsconfig.json + Info seq [hh:mm:ss:mss] fileExists:: [] Info seq [hh:mm:ss:mss] directoryExists:: [] Info seq [hh:mm:ss:mss] getDirectories:: [] diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js index 01776a160bbe1..3c2a424e85a7e 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/models/vessel.ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/utils/db.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/b/utils/db.ts Text-1 "export class Bookshelf { }" @@ -265,6 +265,25 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/controllers/vessels/client.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/models/vessel.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/utils/db.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -348,6 +367,21 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/controllers/vessels/client.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/models/vessel.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/utils/db.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Info seq [hh:mm:ss:mss] fileExists:: [ { "key": "/a/b/models/tsconfig.json", diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js index 722f9decb2aa3..0c20d1f25215b 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -202,6 +202,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/folder2: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/client/folder1/module1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/client/linktofolder2/module2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/folder2/module3.ts :: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -217,10 +236,15 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/linktofolder2/module3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -293,3 +317,26 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/folder2: {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/client/folder1/module1.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/client/linktofolder2/module2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/client/linktofolder2/module3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js index ed782f6e37283..ead6513853f2f 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/fo Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/folder/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -171,6 +171,21 @@ FsWatchesRecursive:: /user/username/folder/myproject: *new* {} +Projects:: +/user/username/folder/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/folder/myproject/tsconfig.json +/user/username/folder/myproject/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/folder/myproject/tsconfig.json *default* + Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /user/username/folder/myproject/app.ts:: 1 Info seq [hh:mm:ss:mss] app.ts(1,24): error TS2307: Cannot find module 'debug' or its corresponding type declarations. @@ -236,6 +251,11 @@ Timeout callback:: count: 3 12: *ensureProjectForOpenFiles* *new* 13: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/folder/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/folder/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json @@ -243,7 +263,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/fo Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/folder/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/folder/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/folder/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -289,4 +309,23 @@ Timeout callback:: count: 1 13: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation *deleted* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/folder/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/folder/myproject/tsconfig.json +/user/username/folder/myproject/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/folder/myproject/tsconfig.json *default* +/user/username/folder/myproject/node_modules/@types/debug/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/folder/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /user/username/folder/myproject/app.ts:: 0 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js index 5e7aa2b684498..a4579570be9ac 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] Search path: /c/d Info seq [hh:mm:ss:mss] For info: /c/d/f0.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c/f1.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /c/f1.ts Text-1 "foo()" @@ -72,11 +72,26 @@ FsWatches:: /c/f1.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/c/d/f0.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/c/f1.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /c/f1.ts:: 1 Info seq [hh:mm:ss:mss] ../f1.ts(1,1): error TS2304: Cannot find name 'foo'. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /c/f1.ts Text-1 "foo()" @@ -92,7 +107,7 @@ Info seq [hh:mm:ss:mss] getDirectories:: [] Info seq [hh:mm:ss:mss] readFile:: [] Info seq [hh:mm:ss:mss] readDirectory:: [] Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c/d/f0.ts SVC-1-2 "import {x} from \"f2\"" @@ -207,7 +222,7 @@ Info seq [hh:mm:ss:mss] getDirectories:: [] Info seq [hh:mm:ss:mss] readFile:: [] Info seq [hh:mm:ss:mss] readDirectory:: [] Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /c/f1.ts Text-1 "foo()" @@ -268,6 +283,21 @@ Info seq [hh:mm:ss:mss] readFile:: [] Info seq [hh:mm:ss:mss] readDirectory:: [] Before request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/c/d/f0.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* +/c/f1.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "command": "compilerOptionsForInferredProjects", @@ -294,8 +324,13 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 3 + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /c/f1.ts Text-1 "foo()" diff --git a/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js b/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js index fa6388d1906d9..d1b60c61b0d87 100644 --- a/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js +++ b/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/app.ts SVC-1-0 "let x = 1" @@ -189,6 +189,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js b/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js index 12a9b3aaf7f95..b7f228e7f80ca 100644 --- a/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js +++ b/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/app.ts SVC-1-0 "{ let x = 1; } var foo = \"foo\"; var bar = \"bar\"; var fooBar = \"fooBar\";" @@ -189,6 +189,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/cancellationT/is-attached-to-request.js b/tests/baselines/reference/tsserver/cancellationT/is-attached-to-request.js index 6c056e9a51314..b4550d8ea8efe 100644 --- a/tests/baselines/reference/tsserver/cancellationT/is-attached-to-request.js +++ b/tests/baselines/reference/tsserver/cancellationT/is-attached-to-request.js @@ -19,7 +19,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-1-0 "let xyz = 1;" @@ -47,6 +47,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js index 9faded93a5159..53f8b10fc07b2 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -181,6 +181,21 @@ FsWatchesRecursive:: /home/src/projects/project/src: *new* {} +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/src/file.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/codeFix/install-package.js b/tests/baselines/reference/tsserver/codeFix/install-package.js index 397bc5c63a8c0..a26de2d7ec39c 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -181,6 +181,21 @@ FsWatchesRecursive:: /home/src/projects/project/src: *new* {} +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/src/file.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js index 963228e0569b2..5d635caccb2f8 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js +++ b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -198,6 +198,25 @@ FsWatches:: /user/username/projects/myproject/core/core.ts: *new* {} +Projects:: +/user/username/projects/myproject/app1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json +/user/username/projects/myproject/app1/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json *default* +/user/username/projects/myproject/core/core.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -240,7 +259,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app2/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -358,6 +377,34 @@ FsWatches:: /user/username/projects/myproject/core/core.ts: {} +Projects:: +/user/username/projects/myproject/app1/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/app2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/app1/tsconfig.json + /user/username/projects/myproject/app2/tsconfig.json *new* +/user/username/projects/myproject/app1/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json *default* +/user/username/projects/myproject/app2/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app2/tsconfig.json *default* +/user/username/projects/myproject/core/core.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/app1/tsconfig.json + /user/username/projects/myproject/app2/tsconfig.json *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -415,6 +462,27 @@ FsWatches *deleted*:: /user/username/projects/myproject/core/core.ts: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json + /user/username/projects/myproject/app2/tsconfig.json +/user/username/projects/myproject/app1/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json *default* +/user/username/projects/myproject/app2/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app2/tsconfig.json *default* +/user/username/projects/myproject/core/core.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json *default* + /user/username/projects/myproject/app2/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -437,6 +505,34 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/app1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/app2/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json + /user/username/projects/myproject/app2/tsconfig.json +/user/username/projects/myproject/app1/app.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json *default* +/user/username/projects/myproject/app2/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app2/tsconfig.json *default* +/user/username/projects/myproject/core/core.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json *default* + /user/username/projects/myproject/app2/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -459,6 +555,34 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/app1/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/app2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json + /user/username/projects/myproject/app2/tsconfig.json +/user/username/projects/myproject/app1/app.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json *default* +/user/username/projects/myproject/app2/app.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/app2/tsconfig.json *default* +/user/username/projects/myproject/core/core.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json *default* + /user/username/projects/myproject/app2/tsconfig.json + Project1 is dirty: true Project2 is dirty: true Before request @@ -473,7 +597,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -482,7 +606,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js index 3b238e542213f..af1471b0a5ed9 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js +++ b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -198,6 +198,25 @@ FsWatches:: /user/username/projects/myproject/core/core.ts: *new* {} +Projects:: +/user/username/projects/myproject/app1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json +/user/username/projects/myproject/app1/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json *default* +/user/username/projects/myproject/core/core.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -240,7 +259,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app2/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -358,6 +377,34 @@ FsWatches:: /user/username/projects/myproject/core/core.ts: {} +Projects:: +/user/username/projects/myproject/app1/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/app2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/app1/tsconfig.json + /user/username/projects/myproject/app2/tsconfig.json *new* +/user/username/projects/myproject/app1/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json *default* +/user/username/projects/myproject/app2/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app2/tsconfig.json *default* +/user/username/projects/myproject/core/core.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/app1/tsconfig.json + /user/username/projects/myproject/app2/tsconfig.json *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -415,6 +462,27 @@ FsWatches *deleted*:: /user/username/projects/myproject/core/core.ts: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json + /user/username/projects/myproject/app2/tsconfig.json +/user/username/projects/myproject/app1/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json *default* +/user/username/projects/myproject/app2/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app2/tsconfig.json *default* +/user/username/projects/myproject/core/core.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json *default* + /user/username/projects/myproject/app2/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -437,6 +505,34 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/app1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/app2/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json + /user/username/projects/myproject/app2/tsconfig.json +/user/username/projects/myproject/app1/app.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json *default* +/user/username/projects/myproject/app2/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app2/tsconfig.json *default* +/user/username/projects/myproject/core/core.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json *default* + /user/username/projects/myproject/app2/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -459,6 +555,34 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/app1/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/app2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json + /user/username/projects/myproject/app2/tsconfig.json +/user/username/projects/myproject/app1/app.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/app1/tsconfig.json *default* +/user/username/projects/myproject/app2/app.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/app2/tsconfig.json *default* +/user/username/projects/myproject/core/core.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/app1/tsconfig.json *default* + /user/username/projects/myproject/app2/tsconfig.json + Project1 is dirty: true Project2 is dirty: true Before request @@ -474,7 +598,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-out-is-set.js b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-out-is-set.js index 62d06a7d4cc0a..b3f882fb3d673 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-out-is-set.js +++ b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-out-is-set.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/a.ts SVC-1-0 "let x = 1" @@ -217,6 +217,21 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/b.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js index 35aa3f81ec55b..c14a0933a53da 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js +++ b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/a.ts SVC-1-0 "let x = 1" @@ -203,6 +203,21 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/b.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js index 3f4d8a082a2be..46c52c8b2f4a7 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js +++ b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/a.ts SVC-1-0 "let x = 1" @@ -198,6 +198,21 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/b.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js index bc59d2c583985..965f782b7cd2d 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/file1.ts SVC-1-0 "export var t = 10;" @@ -202,6 +202,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -247,6 +262,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -284,7 +310,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/c 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/c 1 undefined Config: /a/c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/c/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/file1.ts SVC-1-0 "export var t = 10;" @@ -441,6 +467,29 @@ FsWatchesRecursive:: /a/c: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /a/b/tsconfig.json *default* + /a/c/tsconfig.json *new* +/a/b/file2.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/c/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/c/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js index 6592d311b4a38..4f1294fd17291 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer1Con Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/globalFile3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -187,6 +187,33 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -234,6 +261,29 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -285,6 +335,33 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -307,6 +384,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -320,7 +419,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js index d876d54603c27..f2f01c5103a4f 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/file2.ts Text-1 "\n /// \n export var t2 = 10;" @@ -203,6 +203,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -248,6 +263,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js index 2510784169bc6..74aa522000a6d 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer1.ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -175,6 +175,29 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js index 5bb8c7cbe52ac..9a2c663dc71ef 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer1.ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -185,6 +185,29 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -232,6 +255,25 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js index 555f1a439a387..c39bf29aa5c9f 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -159,6 +159,25 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -198,6 +217,21 @@ FsWatches *deleted*:: /a/b/file1Consumer1.ts: {} +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -248,6 +282,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -261,7 +314,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -307,6 +360,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -320,7 +392,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js index a36d5037a3887..c969272e7405d 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/moduleFile1.ts 50 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -197,6 +197,37 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -219,6 +250,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -231,7 +293,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js index a25326bb9d002..4339f3507c978 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -172,6 +172,25 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -194,6 +213,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -207,7 +245,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js index 8d2f56ca631e3..05d6765f425a8 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/globalFile3.ts 50 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -197,6 +197,37 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -246,6 +277,33 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -297,6 +355,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -310,7 +399,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -360,6 +449,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -373,7 +493,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js index a46d969d10916..b69ae2eb5015f 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer1.ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -183,6 +183,29 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js index 2dafbe79948ad..bde021e9423fe 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/moduleFile2.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" @@ -192,6 +192,17 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/referenceFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js index 28719544ae528..0af66908c9c34 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -175,6 +175,25 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -197,6 +216,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -210,7 +248,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js index 7dd0915f5f2f9..6f648fdbc66f9 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/moduleFile1.ts Text-1 "export function Foo() { };" @@ -200,6 +200,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/referenceFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/moduleFile1.ts 2:: WatchInfo: /a/b/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json @@ -232,6 +247,21 @@ Timeout callback:: count: 2 3: /a/b/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/moduleFile1.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* +/a/b/referenceFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "compileOnSaveAffectedFileList", @@ -243,7 +273,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/moduleFile1.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" @@ -298,6 +328,11 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js index cfaad8d2194f7..732acdd222c2d 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/globalFile3.ts 50 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -197,6 +197,37 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -239,6 +270,38 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "command": "change", @@ -259,6 +322,33 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/file1Consumer1.ts + version: Text-1 + pendingReloadFromDisk: true + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -272,7 +362,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -298,3 +388,35 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/file1Consumer1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js index dc18013c42936..2b6dbf0e17264 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/globalFile3.ts 50 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -197,6 +197,37 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -248,6 +279,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/file1Consumer2.ts 2:: WatchInfo: /a/b/file1Consumer2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/file1Consumer2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json @@ -284,6 +346,32 @@ Timeout callback:: count: 2 3: /a/b/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/b/file1Consumer1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "command": "compileOnSaveAffectedFileList", @@ -295,7 +383,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -333,3 +421,8 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js index 17c2bfb71d61b..4204ac7eaa6ba 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/globalFile3.ts 50 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -197,6 +197,37 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -241,10 +272,15 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -326,6 +362,41 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/file1Consumer1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -348,6 +419,41 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/b/file1Consumer1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -361,7 +467,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js index 4257b77c20040..9e5b2934f4555 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/globalFile3.ts 50 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -197,6 +197,37 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -246,6 +277,33 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -297,6 +355,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -319,6 +408,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) + version: SVC-2-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -332,7 +447,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -359,6 +474,11 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -381,6 +501,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -403,6 +554,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/file1Consumer1.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/globalFile3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/moduleFile1.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -416,7 +593,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -443,3 +620,8 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js index a377c4aafe16a..8e75b47c325b9 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b.ts Text-1 "var y = 1;" @@ -205,6 +205,21 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/runtime/a.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -252,6 +267,17 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/runtime/a.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js index 68f8ad62319c2..facf8777eac6f 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b.ts Text-1 "var y = 1;" @@ -206,6 +206,21 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/runtime/a.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -251,6 +266,17 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/runtime/a.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js index a01908b51526a..3ee2a97f29e91 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b.ts Text-1 "var y = 1;" @@ -203,6 +203,21 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/runtime/a.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -248,6 +263,17 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/runtime/a.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js index 5bd37d19753cf..b0605d1836458 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b.ts Text-1 "var y = 1;" @@ -198,6 +198,21 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/runtime/a.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -243,6 +258,17 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/runtime/a.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js index b6a854cffe0a1..e772fdd32a8e0 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/runtime/a; 1 undefined Project: /a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/runtime/a; 1 undefined Project: /a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b.ts Text-1 "import { x } from './runtime/a;" @@ -202,6 +202,21 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/runtime/a.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -249,6 +264,17 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/runtime/a.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js index 4ffb62cd78733..e558c830d6148 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -200,6 +200,29 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -251,6 +274,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -438,6 +480,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -450,7 +515,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -555,6 +620,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -567,7 +655,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js index 903cebb561bde..d95b652ef47c3 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -207,6 +207,33 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -260,6 +287,29 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -483,6 +533,33 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -495,7 +572,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -601,6 +678,33 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -613,7 +717,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js index 7069acfd11053..f596e7f72123e 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -207,6 +207,33 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -260,6 +287,29 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -453,6 +503,33 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -465,7 +542,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -570,6 +647,33 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -582,7 +686,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js index cada8d90f74cf..601b1178a3fb4 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -200,6 +200,29 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -251,6 +274,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -415,6 +457,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +492,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -531,6 +596,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -543,7 +631,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js b/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js index a9b58481d0276..d614f6cd2fcea 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -164,6 +164,25 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -207,6 +226,21 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js index d4ec47419ffa8..ff8757a58022b 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -190,6 +190,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -275,6 +294,11 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -289,7 +313,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/file1.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -334,3 +358,26 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject: {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/test/file1.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js index 6b943ece9cc04..131ed02bfc43a 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -190,6 +190,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -278,6 +297,11 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -292,7 +316,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/file1.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -346,3 +370,26 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject: {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/test/file1.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js index 78439c46ceed1..05b7c2c3b0174 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -190,6 +190,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -274,6 +293,11 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -287,7 +311,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/file1.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -332,3 +356,26 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject: {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/test/file1.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/compileOnSave/line-endings.js b/tests/baselines/reference/tsserver/compileOnSave/line-endings.js index d1fca9adc76a8..8d9b1b6816aaa 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/line-endings.js +++ b/tests/baselines/reference/tsserver/compileOnSave/line-endings.js @@ -20,7 +20,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/app.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/app.ts SVC-1-0 "var x = 1;\nvar y = 2;" @@ -47,6 +47,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -92,7 +103,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/app.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/app.ts SVC-1-0 "var x = 1;\r\nvar y = 2;" @@ -119,6 +130,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js b/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js index 9854ea486adca..15c127a0ec5f8 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js +++ b/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1.ts 500 unde Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file2.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/externalproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/externalproject Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/externalproject projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/externalproject' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -106,6 +106,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/externalproject' (External) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -121,6 +126,25 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/b/externalproject (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/externalproject +/a/b/file2.js *new* + version: Text-1 + containingProjects: 1 + /a/b/externalproject +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/externalproject + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js b/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js index 1d48242dd1a35..edb910f6614a9 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js +++ b/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /root/TypeScriptPr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /root/TypeScriptProject3/TypeScriptProject3/node_modules/@types 1 undefined Project: /root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /root/TypeScriptProject3/TypeScriptProject3/node_modules/@types 1 undefined Project: /root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -95,6 +95,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -112,6 +117,21 @@ FsWatches:: /root/TypeScriptProject3/TypeScriptProject3/Foo.ts: *new* {} +Projects:: +/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj +/root/TypeScriptProject3/TypeScriptProject3/Foo.ts *new* + version: Text-1 + containingProjects: 1 + /root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js index dc222d2907304..b9a5648805aa0 100644 --- a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js +++ b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/myproject/src/ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) c:/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -187,6 +187,37 @@ e:/myproject/node_modules: *new* e:/myproject/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +c:/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +c:/typescript/node_modules/@types/react-router-dom/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +c:/typescript/node_modules/@types/react/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +e:/myproject/node_modules/@types/prop-types/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +e:/myproject/node_modules/@types/react/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +e:/myproject/src/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location 'c:/typescript', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location 'c:/typescript' TI:: [hh:mm:ss:mss] Trying to find 'c:/typescript/package.json'... @@ -360,6 +391,11 @@ e:/myproject/node_modules: e:/myproject/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/completions/works.js b/tests/baselines/reference/tsserver/completions/works.js index 0a8b7f2a2972e..b09189688af40 100644 --- a/tests/baselines/reference/tsserver/completions/works.js +++ b/tests/baselines/reference/tsserver/completions/works.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a.ts SVC-1-0 "export const foo = 0;" @@ -195,6 +195,21 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -240,6 +255,17 @@ FsWatchesRecursive:: /: {} +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js index 5db92923b0b0e..50bfcaacac978 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js @@ -1475,7 +1475,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/ambient_98.ts 500 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/ambient_99.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (201) /index.ts SVC-1-0 "" @@ -2619,6 +2619,817 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_0.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_1.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_10.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_11.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_12.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_13.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_14.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_15.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_16.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_17.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_18.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_19.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_20.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_21.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_22.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_23.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_24.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_25.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_26.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_27.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_28.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_29.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_3.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_30.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_31.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_32.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_33.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_34.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_35.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_36.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_37.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_38.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_39.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_4.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_40.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_41.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_42.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_43.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_44.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_45.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_46.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_47.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_48.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_49.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_5.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_50.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_51.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_52.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_53.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_54.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_55.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_56.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_57.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_58.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_59.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_6.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_60.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_61.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_62.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_63.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_64.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_65.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_66.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_67.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_68.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_69.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_7.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_70.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_71.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_72.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_73.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_74.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_75.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_76.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_77.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_78.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_79.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_8.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_80.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_81.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_82.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_83.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_84.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_85.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_86.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_87.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_88.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_89.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_9.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_90.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_91.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_92.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_93.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_94.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_95.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_96.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_97.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_98.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_99.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2654,6 +3465,817 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/ambient_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2668,7 +4290,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (201) /index.ts SVC-1-1 "a" diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js index b452497944a64..debd6c7931097 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js @@ -2775,7 +2775,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/a_8.ts 500 undefi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/a_9.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (51) /index.ts SVC-1-0 "" @@ -3169,6 +3169,217 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -3204,6 +3415,217 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -3218,7 +3640,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (51) /index.ts SVC-1-1 "a" diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js index 952136ece6671..93cd92da2bb8f 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js @@ -825,7 +825,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/a_98.ts 500 undef Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/a_99.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (151) /index.ts SVC-1-0 "" @@ -1719,6 +1719,617 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_100.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_101.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_102.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_103.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_104.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_105.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_106.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_107.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_108.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_109.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_110.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_111.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_112.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_113.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_114.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_115.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_116.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_117.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_118.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_119.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_120.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_121.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_122.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_123.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_124.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_125.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_126.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_127.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_128.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_129.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_130.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_131.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_132.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_133.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_134.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_135.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_136.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_137.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_138.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_139.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_140.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_141.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_142.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_143.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_144.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_145.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_146.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_147.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_148.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_149.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1754,6 +2365,617 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_100.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_101.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_102.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_103.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_104.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_105.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_106.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_107.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_108.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_109.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_110.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_111.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_112.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_113.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_114.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_115.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_116.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_117.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_118.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_119.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_120.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_121.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_122.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_123.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_124.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_125.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_126.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_127.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_128.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_129.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_130.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_131.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_132.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_133.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_134.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_135.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_136.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_137.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_138.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_139.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_140.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_141.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_142.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_143.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_144.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_145.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_146.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_147.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_148.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_149.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1768,7 +2990,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (151) /index.ts SVC-1-1 "a" @@ -5040,8 +6262,619 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_100.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_101.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_102.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_103.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_104.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_105.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_106.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_107.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_108.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_109.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_110.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_111.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_112.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_113.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_114.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_115.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_116.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_117.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_118.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_119.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_120.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_121.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_122.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_123.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_124.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_125.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_126.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_127.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_128.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_129.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_130.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_131.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_132.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_133.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_134.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_135.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_136.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_137.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_138.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_139.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_140.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_141.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_142.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_143.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_144.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_145.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_146.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_147.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_148.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_149.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (151) /index.ts SVC-1-2 "" @@ -5232,6 +7065,617 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_100.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_101.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_102.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_103.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_104.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_105.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_106.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_107.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_108.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_109.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_110.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_111.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_112.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_113.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_114.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_115.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_116.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_117.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_118.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_119.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_120.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_121.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_122.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_123.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_124.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_125.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_126.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_127.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_128.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_129.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_130.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_131.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_132.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_133.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_134.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_135.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_136.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_137.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_138.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_139.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_140.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_141.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_142.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_143.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_144.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_145.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_146.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_147.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_148.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_149.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -5246,7 +7690,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (151) /index.ts SVC-1-3 "a" diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js index 1e62d94665113..0208e5fc6c8d3 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js @@ -583,7 +583,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/a_99.ts 500 undef Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (102) /index.ts SVC-1-0 "" @@ -1232,6 +1232,421 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/foo/constants.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1267,6 +1682,421 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1281,7 +2111,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (102) /index.ts SVC-1-1 "s" @@ -3893,6 +4723,421 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -3908,7 +5153,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (102) /index.ts SVC-1-2 "si" diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js index a25d4ed6aacc2..d3deb9c7b0142 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js @@ -784,7 +784,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/a_98.ts 500 undef Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/a_99.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (101) /index.ts SVC-1-0 "" @@ -1099,7 +1099,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (51) /node_modules/dep-a/file_0.ts Text-1 "export const depA_0__0 = 0;" @@ -1601,6 +1601,625 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/dep-a/file_0.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_1.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_10.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_11.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_12.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_13.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_14.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_15.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_16.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_17.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_18.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_19.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_2.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_20.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_21.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_22.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_23.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_24.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_25.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_26.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_27.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_28.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_29.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_3.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_30.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_31.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_32.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_33.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_34.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_35.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_36.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_37.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_38.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_39.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_4.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_40.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_41.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_42.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_43.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_44.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_45.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_46.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_47.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_48.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_49.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_5.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_6.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_7.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_8.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_9.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -1636,6 +2255,625 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/dep-a/file_0.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_1.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_10.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_11.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_12.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_13.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_14.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_15.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_16.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_17.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_18.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_19.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_2.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_20.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_21.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_22.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_23.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_24.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_25.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_26.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_27.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_28.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_29.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_3.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_30.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_31.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_32.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_33.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_34.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_35.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_36.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_37.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_38.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_39.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_4.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_40.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_41.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_42.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_43.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_44.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_45.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_46.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_47.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_48.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_49.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_5.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_6.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_7.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_8.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_9.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -1650,7 +2888,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (101) /index.ts SVC-1-1 "a" @@ -4992,6 +6230,625 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/dep-a/file_0.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_1.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_10.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_11.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_12.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_13.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_14.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_15.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_16.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_17.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_18.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_19.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_2.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_20.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_21.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_22.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_23.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_24.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_25.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_26.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_27.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_28.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_29.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_3.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_30.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_31.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_32.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_33.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_34.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_35.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_36.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_37.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_38.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_39.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_4.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_40.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_41.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_42.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_43.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_44.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_45.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_46.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_47.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_48.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_49.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_5.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_6.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_7.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_8.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/file_9.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dep-a/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -5007,7 +6864,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (101) /index.ts SVC-1-2 "a_" diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works.js b/tests/baselines/reference/tsserver/completionsIncomplete/works.js index 626b953d74163..c9f76a5af9055 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works.js @@ -1325,7 +1325,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/a_98.ts 500 undef Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/a_99.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (251) /index.ts SVC-1-0 "" @@ -2719,6 +2719,1017 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_100.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_101.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_102.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_103.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_104.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_105.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_106.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_107.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_108.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_109.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_110.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_111.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_112.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_113.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_114.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_115.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_116.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_117.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_118.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_119.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_120.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_121.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_122.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_123.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_124.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_125.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_126.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_127.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_128.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_129.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_130.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_131.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_132.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_133.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_134.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_135.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_136.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_137.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_138.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_139.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_140.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_141.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_142.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_143.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_144.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_145.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_146.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_147.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_148.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_149.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_150.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_151.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_152.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_153.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_154.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_155.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_156.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_157.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_158.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_159.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_160.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_161.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_162.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_163.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_164.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_165.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_166.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_167.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_168.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_169.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_170.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_171.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_172.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_173.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_174.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_175.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_176.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_177.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_178.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_179.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_180.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_181.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_182.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_183.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_184.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_185.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_186.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_187.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_188.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_189.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_190.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_191.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_192.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_193.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_194.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_195.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_196.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_197.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_198.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_199.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_200.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_201.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_202.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_203.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_204.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_205.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_206.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_207.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_208.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_209.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_210.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_211.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_212.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_213.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_214.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_215.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_216.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_217.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_218.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_219.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_220.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_221.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_222.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_223.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_224.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_225.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_226.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_227.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_228.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_229.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_230.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_231.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_232.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_233.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_234.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_235.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_236.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_237.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_238.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_239.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_240.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_241.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_242.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_243.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_244.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_245.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_246.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_247.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_248.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_249.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2754,6 +3765,1017 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_100.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_101.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_102.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_103.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_104.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_105.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_106.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_107.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_108.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_109.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_110.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_111.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_112.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_113.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_114.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_115.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_116.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_117.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_118.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_119.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_120.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_121.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_122.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_123.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_124.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_125.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_126.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_127.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_128.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_129.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_130.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_131.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_132.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_133.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_134.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_135.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_136.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_137.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_138.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_139.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_140.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_141.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_142.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_143.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_144.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_145.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_146.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_147.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_148.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_149.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_150.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_151.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_152.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_153.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_154.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_155.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_156.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_157.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_158.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_159.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_160.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_161.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_162.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_163.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_164.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_165.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_166.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_167.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_168.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_169.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_170.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_171.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_172.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_173.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_174.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_175.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_176.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_177.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_178.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_179.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_180.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_181.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_182.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_183.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_184.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_185.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_186.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_187.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_188.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_189.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_190.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_191.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_192.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_193.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_194.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_195.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_196.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_197.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_198.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_199.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_200.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_201.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_202.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_203.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_204.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_205.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_206.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_207.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_208.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_209.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_210.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_211.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_212.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_213.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_214.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_215.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_216.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_217.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_218.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_219.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_220.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_221.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_222.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_223.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_224.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_225.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_226.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_227.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_228.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_229.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_230.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_231.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_232.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_233.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_234.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_235.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_236.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_237.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_238.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_239.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_240.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_241.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_242.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_243.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_244.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_245.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_246.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_247.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_248.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_249.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2768,7 +4790,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (251) /index.ts SVC-1-1 "a" @@ -7440,6 +9462,1017 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_100.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_101.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_102.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_103.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_104.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_105.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_106.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_107.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_108.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_109.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_110.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_111.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_112.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_113.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_114.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_115.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_116.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_117.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_118.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_119.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_120.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_121.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_122.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_123.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_124.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_125.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_126.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_127.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_128.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_129.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_130.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_131.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_132.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_133.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_134.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_135.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_136.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_137.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_138.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_139.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_140.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_141.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_142.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_143.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_144.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_145.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_146.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_147.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_148.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_149.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_150.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_151.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_152.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_153.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_154.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_155.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_156.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_157.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_158.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_159.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_160.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_161.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_162.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_163.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_164.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_165.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_166.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_167.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_168.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_169.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_170.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_171.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_172.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_173.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_174.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_175.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_176.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_177.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_178.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_179.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_180.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_181.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_182.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_183.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_184.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_185.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_186.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_187.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_188.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_189.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_190.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_191.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_192.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_193.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_194.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_195.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_196.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_197.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_198.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_199.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_200.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_201.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_202.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_203.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_204.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_205.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_206.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_207.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_208.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_209.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_210.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_211.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_212.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_213.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_214.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_215.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_216.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_217.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_218.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_219.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_220.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_221.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_222.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_223.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_224.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_225.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_226.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_227.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_228.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_229.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_230.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_231.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_232.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_233.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_234.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_235.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_236.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_237.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_238.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_239.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_240.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_241.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_242.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_243.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_244.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_245.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_246.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_247.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_248.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_249.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -7455,7 +10488,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (251) /index.ts SVC-1-2 "aa" @@ -12821,6 +15854,1017 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/a_0.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_1.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_10.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_100.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_101.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_102.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_103.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_104.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_105.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_106.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_107.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_108.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_109.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_11.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_110.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_111.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_112.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_113.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_114.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_115.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_116.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_117.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_118.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_119.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_12.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_120.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_121.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_122.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_123.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_124.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_125.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_126.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_127.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_128.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_129.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_13.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_130.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_131.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_132.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_133.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_134.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_135.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_136.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_137.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_138.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_139.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_14.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_140.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_141.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_142.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_143.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_144.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_145.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_146.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_147.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_148.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_149.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_15.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_150.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_151.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_152.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_153.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_154.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_155.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_156.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_157.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_158.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_159.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_16.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_160.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_161.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_162.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_163.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_164.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_165.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_166.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_167.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_168.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_169.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_17.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_170.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_171.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_172.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_173.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_174.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_175.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_176.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_177.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_178.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_179.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_18.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_180.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_181.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_182.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_183.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_184.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_185.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_186.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_187.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_188.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_189.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_19.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_190.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_191.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_192.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_193.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_194.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_195.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_196.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_197.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_198.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_199.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_20.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_200.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_201.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_202.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_203.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_204.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_205.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_206.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_207.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_208.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_209.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_21.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_210.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_211.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_212.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_213.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_214.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_215.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_216.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_217.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_218.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_219.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_22.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_220.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_221.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_222.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_223.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_224.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_225.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_226.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_227.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_228.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_229.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_23.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_230.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_231.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_232.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_233.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_234.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_235.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_236.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_237.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_238.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_239.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_24.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_240.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_241.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_242.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_243.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_244.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_245.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_246.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_247.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_248.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_249.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_25.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_26.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_27.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_28.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_29.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_3.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_30.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_31.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_32.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_33.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_34.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_35.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_36.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_37.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_38.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_39.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_4.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_40.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_41.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_42.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_43.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_44.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_45.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_46.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_47.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_48.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_49.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_5.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_50.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_51.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_52.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_53.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_54.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_55.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_56.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_57.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_58.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_59.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_6.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_60.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_61.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_62.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_63.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_64.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_65.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_66.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_67.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_68.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_69.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_7.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_70.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_71.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_72.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_73.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_74.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_75.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_76.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_77.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_78.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_79.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_8.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_80.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_81.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_82.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_83.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_84.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_85.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_86.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_87.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_88.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_89.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_9.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_90.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_91.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_92.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_93.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_94.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_95.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_96.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_97.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_98.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/a_99.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -12836,7 +16880,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (251) /index.ts SVC-1-3 "aa_" diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js b/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js index 5e9764d4a523c..f6f80c72739f5 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js @@ -22,7 +22,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "" @@ -49,6 +49,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -80,6 +91,18 @@ FsWatches:: /a/file1.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -118,7 +141,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "" @@ -274,3 +297,18 @@ FsWatches *deleted*:: FsWatchesRecursive:: /: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/file1.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /tsconfig.json *default* *new* diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js index 5a5b644fab31b..6c677072c6f1a 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /a/b/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -171,6 +171,21 @@ FsWatchesRecursive:: /a/b/projects/project/src: *new* {} +Projects:: +/a/b/projects/project/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/project/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/projects/project/src/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/projects/project/src/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/projects/project/src/tsconfig.json 2:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined Project: /a/b/projects/project/src/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/src/tsconfig.json' (Configured) @@ -225,6 +240,21 @@ FsWatchesRecursive *deleted*:: Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/projects/project/src/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/project/src/file1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/projects/project/src/tsconfig.json *deleted* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/projects/project/src/tsconfig.json *deleted* + Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -240,7 +270,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -292,3 +322,18 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/project/src/file1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js index 463a9f735aac5..aec06d59211ab 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /a/b/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -171,6 +171,21 @@ FsWatchesRecursive:: /a/b/projects/project/src: *new* {} +Projects:: +/a/b/projects/project/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/project/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/projects/project/src/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/projects/project/src/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/projects/project/src/tsconfig.json 2:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined Project: /a/b/projects/project/src/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/src/tsconfig.json' (Configured) @@ -225,6 +240,21 @@ FsWatchesRecursive *deleted*:: Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/projects/project/src/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/project/src/file1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/projects/project/src/tsconfig.json *deleted* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/projects/project/src/tsconfig.json *deleted* + Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -242,7 +272,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -296,3 +326,18 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/project/src/file1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js index c1bccabaeb898..e09216c897bd0 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -88,6 +88,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/project/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 0:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Search path: /a/b/projects/project/src Info seq [hh:mm:ss:mss] For info: /a/b/projects/project/src/index.ts :: Config file name: /a/b/projects/project/tsconfig.json @@ -136,6 +151,14 @@ Timeout callback:: count: 2 3: /a/b/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Loading configured project /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -166,7 +189,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -254,7 +277,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj Info seq [hh:mm:ss:mss] Projects: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -313,6 +336,26 @@ FsWatchesRecursive:: /a/b/projects/project: *new* {} +Projects:: +/a/b/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/projects/project/src/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /a/b/projects/project/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/projects/project/tsconfig.json *new* + /dev/null/inferredProject1* *deleted* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 2:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/tsconfig.json' (Configured) @@ -365,6 +408,24 @@ FsWatchesRecursive *deleted*:: Timeout callback:: count: 1 5: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/projects/project/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/b/projects/project/src/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/projects/project/tsconfig.json *deleted* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/projects/project/tsconfig.json *deleted* + Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -380,7 +441,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -434,3 +495,18 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/b/projects/project/src/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js index 7487172801f42..e0c827428b83c 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -164,6 +164,21 @@ FsWatchesRecursive:: /a/b/projects/project: *new* {} +Projects:: +/a/b/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/project/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/projects/project/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 2:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/tsconfig.json' (Configured) @@ -214,6 +229,21 @@ FsWatchesRecursive *deleted*:: Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/projects/project/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/project/src/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/projects/project/tsconfig.json *deleted* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/projects/project/tsconfig.json *deleted* + Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -231,7 +261,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -286,6 +316,21 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/project/src/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *new* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 0:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Search path: /a/b/projects/project/src Info seq [hh:mm:ss:mss] For info: /a/b/projects/project/src/index.ts :: Config file name: /a/b/projects/project/tsconfig.json @@ -334,6 +379,14 @@ Timeout callback:: count: 2 4: /a/b/projects/project/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Loading configured project /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -364,7 +417,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -411,7 +464,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj Info seq [hh:mm:ss:mss] Projects: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -469,3 +522,23 @@ FsWatches:: FsWatchesRecursive:: /a/b/projects/project: *new* {} + +Projects:: +/a/b/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/projects/project/src/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /a/b/projects/project/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/projects/project/tsconfig.json *new* + /dev/null/inferredProject1* *deleted* diff --git a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js index 469382e7308b4..fdd98ec4a3255 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js +++ b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCod Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -86,6 +86,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -242,3 +257,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js index 205b216477a36..8703d7c691ce3 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js +++ b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCod Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /root/teams/VSCode68/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -87,6 +87,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -243,3 +258,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js index 0fda394d59abd..fad0f47385991 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/src/file1.ts SVC-1-0 "let x = 1;" @@ -200,6 +200,21 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -274,7 +289,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/src/file2.ts SVC-1-0 "let y = 1;" @@ -315,6 +330,28 @@ FsWatches:: /a/b/tsconfig.json: {} +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -364,6 +401,21 @@ FsWatches *deleted*:: /a/b/file3.ts: {} +ScriptInfos:: +/a/b/file3.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request @@ -408,6 +460,21 @@ FsWatches:: /a/b/tsconfig.json: {} +ScriptInfos:: +/a/b/file3.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,6 +518,21 @@ FsWatches:: /a/b/tsconfig.json: {} +ScriptInfos:: +/a/b/file3.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file1.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Configured project: /a/b/tsconfig.json hasOpenRef:: false isClosed: false Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json @@ -468,6 +550,14 @@ Timeout callback:: count: 2 2: /a/b/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request @@ -484,7 +574,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file4.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file4.ts SVC-1-0 "let z = 1;" @@ -517,6 +607,35 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file1.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file4.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before running Timeout callback:: count: 2 2: /a/b/tsconfig.json @@ -547,7 +666,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/b/src/file1.ts SVC-1-0 "let x = 1;" @@ -650,7 +769,7 @@ Info seq [hh:mm:ss:mss] FileName: /a/file4.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -708,6 +827,36 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file1.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file2.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /a/b/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* +/a/file4.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false Inferred project: /dev/null/inferredProject2* isOrphan:: false isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js index 90ca74b2189ee..8b6743a55f46c 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/src/file1.ts SVC-1-0 "let x = 1;" @@ -200,6 +200,21 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -274,7 +289,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/src/file2.ts SVC-1-0 "let y = 1;" @@ -315,6 +330,28 @@ FsWatches:: /a/b/tsconfig.json: {} +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -364,6 +401,21 @@ FsWatches *deleted*:: /a/b/file3.ts: {} +ScriptInfos:: +/a/b/file3.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -379,7 +431,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file4.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file4.ts SVC-1-0 "let z = 1;" @@ -416,6 +468,35 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file4.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json @@ -435,6 +516,17 @@ Timeout callback:: count: 2 2: /a/b/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -460,7 +552,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/b/src/file1.ts SVC-1-0 "let x = 1;" @@ -567,7 +659,7 @@ Info seq [hh:mm:ss:mss] FileName: /a/file4.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -627,6 +719,36 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file2.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /a/b/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* +/a/file4.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false Inferred project: /dev/null/inferredProject2* isOrphan:: false isClosed: false @@ -683,6 +805,25 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/file3.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/file4.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -736,6 +877,25 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/file3.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file1.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file2.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/file4.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -789,6 +949,36 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file1.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file2.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/file4.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject2* *deleted* + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false Inferred project: /dev/null/inferredProject2* isOrphan:: true isClosed: false @@ -807,7 +997,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/file4.ts 500 undefi Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file4.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -861,6 +1051,36 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/file1.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file2.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/file4.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request @@ -909,6 +1129,25 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/file3.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file1.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/file2.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/file4.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Configured project: /a/b/tsconfig.json hasOpenRef:: false isClosed: false File5 written //// [/file5.ts] @@ -930,7 +1169,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /file5.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject3* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /file5.ts SVC-1-0 "let zz = 1;" @@ -999,3 +1238,36 @@ FsWatches *deleted*:: FsWatchesRecursive *deleted*:: /a/b: {} + +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* +/a/b/src/file1.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* +/a/b/src/file2.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* +/a/file4.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/file5.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js index f06bcfd5eb396..07dab67faa2aa 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -80,6 +80,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -98,7 +113,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -130,6 +145,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/user/username/projects/myproject/commonFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/commonFile2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/commonFile1.ts :: Config file name: /user/username/projects/myproject/tsconfig.json @@ -178,6 +216,17 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Loading configured project /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -203,7 +252,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -297,7 +346,7 @@ Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig. Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -337,6 +386,34 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json *new* + /dev/null/inferredProject2* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/commonFile1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/commonFile2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -368,6 +445,32 @@ Before running Timeout callback:: count: 1 Timeout callback:: count: 1 5: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/commonFile1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/commonFile2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -385,7 +488,7 @@ Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -426,3 +529,26 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject2* + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/commonFile1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/commonFile2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js index 6437dc7db2ee8..1d99666bdf97a 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -153,6 +153,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/commonFile2.ts :: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -168,10 +183,15 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -229,3 +249,22 @@ FsWatches:: FsWatchesRecursive:: /a/b: {} + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/commonFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js index 10c42fb5427d6..3e1c9b9cbaf5f 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.ts SVC-1-0 "let x = 1" @@ -187,6 +187,17 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -208,6 +219,11 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -231,7 +247,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts SVC-1-0 "let x = 1" @@ -350,3 +366,18 @@ FsWatches:: {} /a/b/tsconfig.json: {} + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js index 38f97f32a8a1f..e211f80d51dca 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.ts SVC-1-0 "let x = 1" @@ -187,6 +187,17 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/f2.ts :: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -202,10 +213,15 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts SVC-1-0 "let x = 1" @@ -262,3 +278,18 @@ FsWatches:: FsWatchesRecursive:: /a/b: {} + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js index fe2d30996674d..b4b5c99b84fc6 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts SVC-1-0 "let x = 1" @@ -195,6 +195,21 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -218,6 +233,11 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -241,7 +261,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts SVC-1-0 "let x = 1" diff --git a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js index 4e1e9113cef37..4e9b6fc3e9e20 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -180,6 +180,25 @@ FsWatches:: /users/username/projects/project/tsconfig.json: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/file2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/file2.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/file2.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -201,6 +220,11 @@ Timeout callback:: count: 2 2: /users/username/projects/project/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 2: /users/username/projects/project/tsconfig.json 3: *ensureProjectForOpenFiles* @@ -210,7 +234,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -277,6 +301,29 @@ FsWatches *deleted*:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/file2.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /users/username/projects/project/tsconfig.json *deleted* +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -324,3 +371,21 @@ FsWatches *deleted*:: {} /users/username/projects/project/file2.ts: {} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/file2.ts *deleted* + version: Text-1 + containingProjects: 0 +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js index 10fc75dff9d5f..45c989ea69c2d 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -167,3 +167,22 @@ FsWatches:: {} /a/lib/lib.d.ts: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js index a552b5be3cfd8..6cfab5ec78b39 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/d/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -171,3 +171,22 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/c/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/d/f2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index 9b271ebfec72d..9dde731c34959 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -182,6 +182,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected excluded file: /user/username/projects/myproject/src/sub/fooBar.ts Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory @@ -228,7 +247,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -292,6 +311,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/sub/fooBar.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index c8ed8039e3a3a..53123cf3d2cdb 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -179,6 +179,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -192,6 +211,11 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -206,7 +230,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/sub Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/sub/fooBar.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -240,6 +264,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/sub/fooBar.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index fe90a4502442c..a336169d433ff 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -182,6 +182,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected excluded file: /user/username/projects/myproject/src/sub/fooBar.ts Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory @@ -228,7 +247,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -292,6 +311,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/sub/fooBar.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index 4f7c84b87e7f3..872864218dfc5 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -179,6 +179,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -192,6 +211,11 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -206,7 +230,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/sub Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/sub/fooBar.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -240,6 +264,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/sub/fooBar.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index 9fbdc9333085a..9bd71e1654cda 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -182,6 +182,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -222,7 +241,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -286,6 +305,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/sub/fooBar.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected excluded file: /user/username/projects/myproject/src/sub/fooBar.ts Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index b7577d049984e..b9cf2e16bc61a 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -179,6 +179,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -219,7 +238,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -283,6 +302,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/sub/fooBar.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -296,6 +342,14 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "geterr", @@ -332,7 +386,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -400,6 +454,34 @@ FsWatchesRecursive:: Immedidate callback:: count: 1 1: semanticCheck *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/sub/fooBar.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* + Before running Immedidate callback:: count: 1 1: semanticCheck diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index 0cc89e4c3e13b..6ff64b7971625 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -182,6 +182,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -222,7 +241,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -286,6 +305,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/sub/fooBar.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected excluded file: /user/username/projects/myproject/src/sub/fooBar.ts Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index ed4f215b4c1f9..bfc612870c481 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -179,6 +179,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -219,7 +238,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -283,6 +302,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/sub/fooBar.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -296,6 +342,14 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "geterr", @@ -391,7 +445,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -459,6 +513,34 @@ FsWatchesRecursive:: Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/sub/fooBar.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js index 31a49f7430eb0..9ce92403b3fa2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/node_modules/@types 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules/@types 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules/@types 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/a/b/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/a/b/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/a/b/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -196,3 +196,26 @@ FsWatches:: FsWatchesRecursive:: /user/username/rootfolder/a/b/node_modules: *new* {} + +Projects:: +/user/username/rootfolder/a/b/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/a/b/src/tsconfig.json +/user/username/rootfolder/a/b/node_modules/module1/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/a/b/src/tsconfig.json +/user/username/rootfolder/a/b/node_modules/module2/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/a/b/src/tsconfig.json +/user/username/rootfolder/a/b/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/a/b/src/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js b/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js index be4ce0cd195d1..3331e51b69052 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js +++ b/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/largefile.js 500 un Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/app.js SVC-1-0 "var x = 1" @@ -228,6 +228,25 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/largefile.js *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/lib.js *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json + Configured project: /a/tsconfig.json hasOpenRef:: true isClosed: false Before request @@ -266,6 +285,26 @@ FsWatches:: /a/tsconfig.json: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.js *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json +/a/largefile.js + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/lib.js + version: Text-1 + containingProjects: 1 + /a/tsconfig.json + Configured project: /a/tsconfig.json hasOpenRef:: false isClosed: false Containing projects for /a/app.js:: /a/tsconfig.json Containing projects for /a/largefile.js:: /a/tsconfig.json @@ -288,7 +327,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /aa.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /aa.js SVC-1-0 "var x = 1" @@ -300,6 +339,32 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/app.js + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json +/a/largefile.js + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/lib.js + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/aa.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -458,3 +523,29 @@ FsWatches *deleted*:: {} /a/tsconfig.json: {} + +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/app.js *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/a/largefile.js *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/a/lib.js *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/aa.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js index 78f501a4dfc20..db603e03f00f2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/commonFile1.ts SVC-1-0 "let x = 1" @@ -201,6 +201,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -216,7 +231,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/c Info seq [hh:mm:ss:mss] For info: /a/c/excluedFile1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/c/excluedFile1.ts SVC-1-0 "let t = 1;" @@ -244,3 +259,25 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/c/excluedFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js b/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js index 133ce0293d645..079ee93fdfc4b 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/commonFile1.ts SVC-1-0 "let x = 1" @@ -195,6 +195,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/commonFile2.ts 2:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json @@ -229,9 +244,24 @@ Timeout callback:: count: 2 3: /a/b/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/commonFile1.ts SVC-1-0 "let x = 1" @@ -272,6 +302,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/commonFile2.ts :: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -287,10 +322,15 @@ Timeout callback:: count: 2 5: /a/b/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/commonFile1.ts SVC-1-0 "let x = 1" @@ -347,3 +387,18 @@ FsWatches:: FsWatchesRecursive:: /a/b: {} + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/b/commonFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-2 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js index bc1b886c21a18..fd698b42b8253 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/a/b/f1.ts SVC-1-0 "export let x = 5" @@ -85,6 +85,17 @@ PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -110,7 +121,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/a/c/f3.ts SVC-1-0 "export let y = 1" @@ -169,6 +180,24 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/a/c/f3.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/a/c/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/a/c Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/a/c/f3.ts :: Config file name: /user/username/projects/myproject/a/c/tsconfig.json @@ -235,6 +264,17 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/a/c/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/a/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/a/c/tsconfig.json Info seq [hh:mm:ss:mss] Loading configured project /user/username/projects/myproject/a/c/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -268,7 +308,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /user/username/projects/myproject/a/b/f1.ts SVC-1-0 "export let x = 5" @@ -418,7 +458,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -427,7 +467,7 @@ Info seq [hh:mm:ss:mss] Files (0) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -503,5 +543,32 @@ FsWatches:: /user/username/projects/myproject/a/c/tsconfig.json: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/a/c/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/user/username/projects/myproject/a/b/f1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/a/c/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/a/c/f2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/c/tsconfig.json +/user/username/projects/myproject/a/c/f3.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/a/c/tsconfig.json *default* *new* + /dev/null/inferredProject2* *deleted* + Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false Inferred project: /dev/null/inferredProject2* isOrphan:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js index da41e03fa687e..3db7e4ffe2814 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/app.ts SVC-1-0 "let x = 1" @@ -176,3 +176,25 @@ FsWatches:: FsWatchesRecursive:: /a/node_modules: *new* {} + +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/node_modules/@types/typings/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/node_modules/@types/typings/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js index 88bae6107399e..bc451ed856386 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -168,3 +168,18 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject: *new* {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js index 7847c287966bf..860ae9990ea9c 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/something 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/something 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/file1.ts SVC-1-0 "let t = 10;" @@ -162,6 +162,20 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js index 4b8a79de72f30..1873c6f60e26e 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile3.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/commonFile1.ts SVC-1-0 "let x = 1" @@ -215,6 +215,17 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -310,7 +321,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/commonFile2.ts SVC-1-0 "let y = 1" @@ -338,3 +349,21 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js b/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js index 00bb6cd34ee0c..0d24a73dbee10 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/obj-a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/obj-a.ts Text-1 "export const objA = Object.assign({foo: \"bar\"}, {bar: \"baz\"});" @@ -214,6 +214,21 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/obj-a.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -249,6 +264,17 @@ FsWatches:: /a/b/tsconfig.json: {} +ScriptInfos:: +/a/b/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/obj-a.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -289,3 +315,14 @@ FsWatches:: FsWatches *deleted*:: /a/b/obj-a.ts: {} + +ScriptInfos:: +/a/b/main.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/obj-a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js b/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js index 0eec035cc3d00..8d90e808c7294 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/main.ts SVC-1-0 "let x =1;" @@ -218,6 +218,17 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request @@ -252,6 +263,13 @@ FsWatches:: /a/b/tsconfig.json: {} +ScriptInfos:: +/a/b/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Configured project: /a/b/tsconfig.json hasOpenRef:: false isClosed: false Before request @@ -267,7 +285,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /a/lib Info seq [hh:mm:ss:mss] For info: /a/lib/lib.d.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/lib/lib.d.ts SVC-1-0 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -279,6 +297,24 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/main.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -430,3 +466,21 @@ FsWatches *deleted*:: {} /a/b/tsconfig.json: {} + +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/b/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* +/a/lib/lib.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js index 9b211fad383f6..d224555f35063 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/node_modules/module1.ts Text-1 "export interface T {}" @@ -205,6 +205,21 @@ FsWatchesRecursive:: /a/b/node_modules: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/node_modules/module1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -247,6 +262,17 @@ FsWatchesRecursive *deleted*:: /a/b/node_modules: {} +ScriptInfos:: +/a/b/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/node_modules/module1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -262,7 +288,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/module1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/module1.ts SVC-1-0 "export interface T {}" @@ -293,6 +319,28 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/node_modules/module1.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/module1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -313,6 +361,14 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -335,7 +391,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/module1.ts SVC-1-0 "export interface T {}" @@ -435,7 +491,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/node_modules/module1.ts Text-1 "export interface T {}" @@ -447,7 +503,7 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -500,6 +556,33 @@ FsWatches:: /a/b/tsconfig.json: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/node_modules/module1.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /a/b/tsconfig.json *deleted* +/a/module1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /a/b/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* + Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false Inferred project: /dev/null/inferredProject2* isOrphan:: false isClosed: false Before request @@ -517,7 +600,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "export interface T {}" @@ -553,3 +636,32 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/node_modules/module1.ts (Open) + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/a/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/module1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js b/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js index 0f9013afd0ede..4f017ae4dbaf5 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/main2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/main.ts SVC-1-0 "let x =1;" @@ -228,6 +228,21 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/main2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request @@ -264,6 +279,17 @@ FsWatches:: /a/b/tsconfig.json: {} +ScriptInfos:: +/a/b/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/main2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Configured project: /a/b/tsconfig.json hasOpenRef:: false isClosed: false Before request @@ -306,4 +332,15 @@ FsWatches *deleted*:: /a/b/main2.ts: {} +ScriptInfos:: +/a/b/main.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/main2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* + Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js b/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js index d0a8349a43da9..7d59308a096c5 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/a/a.ts SVC-1-0 "let a = 1;" @@ -224,6 +224,17 @@ FsWatches:: /user/username/projects/myproject/extended/alpha.tsconfig.json: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -266,7 +277,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" @@ -424,6 +435,24 @@ FsWatches:: /user/username/projects/myproject/extended/bravo.tsconfig.json: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -467,7 +496,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dummy/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dummy/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dummy/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dummy/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dummy/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dummy/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/dummy/dummy.ts SVC-1-0 "let dummy = 1;" @@ -639,6 +668,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/dummy: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/dummy/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dummy/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -706,6 +760,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dummy: {} +ScriptInfos:: +/user/username/projects/myproject/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dummy/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -773,6 +842,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dummy: {} +ScriptInfos:: +/user/username/projects/myproject/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/b.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dummy/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -864,6 +948,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/dummy: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/dummy/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/b/tsconfig.json *deleted* +/user/username/projects/myproject/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dummy/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -919,6 +1029,17 @@ FsWatchesRecursive:: /user/username/projects/myproject/dummy: {} +ScriptInfos:: +/user/username/projects/myproject/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json +/user/username/projects/myproject/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dummy/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -974,6 +1095,17 @@ FsWatchesRecursive:: /user/username/projects/myproject/dummy: {} +ScriptInfos:: +/user/username/projects/myproject/a/a.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json +/user/username/projects/myproject/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dummy/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1052,3 +1184,22 @@ FsWatches *deleted*:: FsWatchesRecursive:: /user/username/projects/myproject/dummy: {} + +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/dummy/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/a/tsconfig.json *deleted* +/user/username/projects/myproject/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dummy/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js index 605b959447f42..c99bbec1091fb 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/commonFile1.ts SVC-1-0 "let x = 1" @@ -248,3 +248,18 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js index 9dabbab56155b..73efbc787eb99 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/src/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/src/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/src/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -156,7 +156,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -213,3 +213,21 @@ FsWatches:: {} /user/username/projects/myproject/src/server/tsconfig.json: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/src/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/server/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js b/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js index a538092e629ba..c359c1b118a11 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/a/a.ts SVC-1-0 "let a = 1;" @@ -218,6 +218,17 @@ FsWatches:: /user/username/projects/myproject/extended/alpha.tsconfig.json: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -260,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" @@ -418,6 +429,24 @@ FsWatches:: /user/username/projects/myproject/extended/bravo.tsconfig.json: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/extended/alpha.tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/extended/alpha.tsconfig.json 2000 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/b/tsconfig.json @@ -440,6 +469,14 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/b/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -462,7 +499,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/a/a.ts SVC-1-0 "let a = 1;" @@ -566,7 +603,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.js } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" @@ -712,6 +749,14 @@ Timeout callback:: count: 2 4: /user/username/projects/myproject/b/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -734,7 +779,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.js } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" @@ -867,6 +912,14 @@ Timeout callback:: count: 2 6: /user/username/projects/myproject/b/tsconfig.json *new* 7: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -892,7 +945,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Config: /user/username/projects/myproject/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Config: /user/username/projects/myproject/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" @@ -1064,6 +1117,14 @@ Timeout callback:: count: 3 9: /user/username/projects/myproject/b/tsconfig.json *new* 10: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -1085,7 +1146,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/a/a.ts SVC-1-0 "let a = 1;" @@ -1178,7 +1239,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.js } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 5 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/b/b.ts SVC-1-0 "let b = 1;" diff --git a/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js b/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js index 97d113b161cc9..25f7b6c5044c2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js +++ b/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/largefile.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/app.js SVC-1-0 "let x = 1;" @@ -220,6 +220,21 @@ FsWatches:: /a/largefile.js: *new* {} +Projects:: +/a/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/jsconfig.json *default* +/a/largefile.js *new* + version: Text-1 + containingProjects: 1 + /a/jsconfig.json + Language languageServiceEnabled:: false Before request diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js b/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js index b527f43019e8e..dd0b7afe3edbb 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js @@ -99,7 +99,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/bar/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/bar/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/bar/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -211,6 +211,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/foo: *new* {} +Projects:: +/user/username/projects/myproject/bar/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/bar/tsconfig.json +/user/username/projects/myproject/bar/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/bar/tsconfig.json *default* +/user/username/projects/myproject/foo/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/bar/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -255,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/foobar/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/foobar/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/foobar/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -604,6 +623,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/foobar: *new* {} +Projects:: +/user/username/projects/myproject/bar/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/foobar/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/bar/tsconfig.json + /user/username/projects/myproject/foobar/tsconfig.json *new* +/user/username/projects/myproject/bar/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/bar/tsconfig.json *default* +/user/username/projects/myproject/foo/lib/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/bar/tsconfig.json + /user/username/projects/myproject/foobar/tsconfig.json *new* +/user/username/projects/myproject/foobar/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/foobar/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -646,7 +693,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/foo/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/foo/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/foo/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -780,6 +827,42 @@ FsWatchesRecursive:: /user/username/projects/myproject/foobar: {} +Projects:: +/user/username/projects/myproject/bar/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/foo/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/foobar/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/bar/tsconfig.json + /user/username/projects/myproject/foobar/tsconfig.json + /user/username/projects/myproject/foo/tsconfig.json *new* +/user/username/projects/myproject/bar/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/bar/tsconfig.json *default* +/user/username/projects/myproject/foo/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/foo/tsconfig.json *default* +/user/username/projects/myproject/foo/lib/index.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/bar/tsconfig.json + /user/username/projects/myproject/foobar/tsconfig.json +/user/username/projects/myproject/foobar/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/foobar/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -855,6 +938,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/foobar: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/bar/tsconfig.json + /user/username/projects/myproject/foobar/tsconfig.json + /user/username/projects/myproject/foo/tsconfig.json +/user/username/projects/myproject/bar/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/bar/tsconfig.json *default* +/user/username/projects/myproject/foo/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/foo/tsconfig.json *default* +/user/username/projects/myproject/foo/lib/index.d.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/bar/tsconfig.json *default* + /user/username/projects/myproject/foobar/tsconfig.json +/user/username/projects/myproject/foobar/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/foobar/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js b/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js index 2bea501cb52f4..18e2e9fe71d5f 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -172,3 +172,22 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject: *new* {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/^app.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js b/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js index 0074c9dfbd5fd..67fd219bdbd4b 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js @@ -107,7 +107,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/foo/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/foo/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/foo/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2017.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -225,6 +225,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/foo/node_modules: *new* {} +Projects:: +/user/username/projects/myproject/foo/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.es2017.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/foo/tsconfig.json +/user/username/projects/myproject/bar/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/foo/tsconfig.json +/user/username/projects/myproject/foo/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/foo/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -277,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/bar/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/bar/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/bar/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2017.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -412,6 +431,35 @@ FsWatchesRecursive:: /user/username/projects/myproject/foo/node_modules: {} +Projects:: +/user/username/projects/myproject/bar/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/foo/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.dom.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/bar/tsconfig.json +/a/lib/lib.es2017.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/foo/tsconfig.json + /user/username/projects/myproject/bar/tsconfig.json *new* +/user/username/projects/myproject/bar/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/foo/tsconfig.json + /user/username/projects/myproject/bar/tsconfig.json *default* *new* +/user/username/projects/myproject/foo/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/foo/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js b/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js index dcbd8b22c6dba..cdba23bf4caae 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -110,6 +110,25 @@ FsWatches:: /b/bin/b.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -175,6 +194,23 @@ FsWatches:: /b/bin/b.d.ts: {} +ScriptInfos:: +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -245,6 +281,29 @@ FsWatches:: /b/bin/b.d.ts.map: *new* {} +ScriptInfos:: +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/b.ts *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -286,6 +345,35 @@ FsWatches:: /user/user.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/b.ts + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map + version: Text-1 + containingProjects: 0 +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -301,7 +389,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -364,3 +452,37 @@ FsWatches *deleted*:: {} /user/user.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/b.ts *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/bin/b.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js index 0d9865decd206..90c89f7a3bdbc 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -728,7 +804,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-2-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -841,6 +917,32 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -928,6 +1030,27 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -977,6 +1100,36 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -992,7 +1145,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -1061,3 +1214,38 @@ FsWatches *deleted*:: FsWatchesRecursive:: /a: {} + +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/bin/a.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js index 1a4426204bfb2..e1aefcfd7e0f1 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -761,6 +837,23 @@ FsWatches:: /b/bin/b.d.ts.map: *new* {} +ScriptInfos:: +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -798,6 +891,29 @@ FsWatches:: /user/user.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map + version: Text-1 + containingProjects: 0 +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -813,7 +929,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -870,3 +986,31 @@ FsWatches *deleted*:: {} /user/user.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/bin/b.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js index 60ae0d5a3c834..c37f33e29506f 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -733,7 +809,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -822,6 +898,35 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 1 + /a/tsconfig.json +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -871,6 +976,36 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 1 + /a/tsconfig.json +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -886,7 +1021,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -966,3 +1101,38 @@ FsWatches *deleted*:: FsWatchesRecursive *deleted*:: /a: {} + +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js index 622605bc5f3d2..8e95958d08777 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "function f() {}" @@ -226,6 +226,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -279,6 +290,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -322,7 +340,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/a.ts SVC-1-0 "function f() {}" @@ -491,6 +509,25 @@ FsWatchesRecursive:: /b: *new* {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /a/tsconfig.json + /b/tsconfig.json *new* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js index 55fda12877d97..168bf9476ca1a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -733,7 +809,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -856,6 +932,35 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 1 + /a/tsconfig.json +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -905,6 +1010,36 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 1 + /a/tsconfig.json +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -920,7 +1055,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -1000,3 +1135,38 @@ FsWatches *deleted*:: FsWatchesRecursive *deleted*:: /a: {} + +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js index d8e479796b140..a493a90f407bc 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -276,6 +276,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -329,6 +340,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -370,7 +388,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -544,6 +562,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -597,6 +633,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -626,6 +669,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -687,7 +741,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -846,6 +900,24 @@ FsWatchesRecursive:: /user: *new* {} +Projects:: +/b/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 1 + /user/tsconfig.json +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -949,6 +1021,17 @@ FsWatchesRecursive:: /user: {} +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 1 + /user/tsconfig.json +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -976,7 +1059,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -1101,6 +1184,29 @@ FsWatchesRecursive:: /user: {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *changed* + open: true *changed* + version: Text-2 + containingProjects: 2 *changed* + /user/tsconfig.json + /a/tsconfig.json *default* *new* +/user/user.ts + version: SVC-1-0 + containingProjects: 1 + /user/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1156,6 +1262,18 @@ FsWatchesRecursive:: /user: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: Text-2 + containingProjects: 2 + /user/tsconfig.json + /a/tsconfig.json +/user/user.ts + version: SVC-1-0 + containingProjects: 1 + /user/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1171,7 +1289,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -1264,3 +1382,32 @@ FsWatchesRecursive *deleted*:: {} /user: {} + +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /user/tsconfig.json *deleted* + /a/tsconfig.json *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js index 3228dc612ddef..4722cd2c67662 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -755,6 +831,26 @@ FsWatches:: /b/bin/b.d.ts: {} +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -794,6 +890,32 @@ FsWatches:: /user/user.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -809,7 +931,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -869,3 +991,34 @@ FsWatches *deleted*:: {} /user/user.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js index 9d0f25b34a89a..ec4d063969271 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/src/a.ts SVC-1-0 "" @@ -222,6 +222,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -267,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b/src 1 undefine Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b/src 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/src/b.ts SVC-1-0 "" @@ -424,6 +435,24 @@ FsWatchesRecursive:: /b/src: *new* {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/b/src/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js index 2d53cd5788da3..a08487288ae31 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -742,6 +818,29 @@ FsWatches:: /b/bin/b.d.ts.map: *new* {} +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -783,6 +882,35 @@ FsWatches:: /user/user.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map + version: Text-1 + containingProjects: 0 +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -798,7 +926,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -861,3 +989,37 @@ FsWatches *deleted*:: {} /user/user.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/bin/b.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js index 525313a4d6af1..98c8814aa1136 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -740,6 +816,23 @@ FsWatches:: /b/bin/b.d.ts.map: *new* {} +ScriptInfos:: +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -777,6 +870,29 @@ FsWatches:: /user/user.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map + version: Text-1 + containingProjects: 0 +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -792,7 +908,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -849,3 +965,31 @@ FsWatches *deleted*:: {} /user/user.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/bin/b.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js index 2caf72d48acb4..ff37e12f995c6 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -743,6 +819,26 @@ FsWatches:: /b/bin/b.d.ts: {} +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -782,6 +878,32 @@ FsWatches:: /user/user.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -797,7 +919,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -857,3 +979,34 @@ FsWatches *deleted*:: {} /user/user.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js index 876ecfa6ff744..ef5d5e1495857 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -743,6 +819,26 @@ FsWatches:: /b/bin/b.d.ts: {} +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -782,6 +878,32 @@ FsWatches:: /user/user.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -797,7 +919,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -857,3 +979,34 @@ FsWatches *deleted*:: {} /user/user.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js index f2d5ac9d34a0a..ff37f6558b060 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -743,6 +819,26 @@ FsWatches:: /b/bin/b.d.ts: {} +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -782,6 +878,32 @@ FsWatches:: /user/user.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -797,7 +919,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -857,3 +979,34 @@ FsWatches *deleted*:: {} /user/user.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js index 93159568d927c..d5d84696f4b07 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -758,6 +834,29 @@ FsWatches:: /b/bin/b.d.ts.map: *new* {} +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -799,6 +898,35 @@ FsWatches:: /user/user.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map + version: Text-1 + containingProjects: 0 +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -814,7 +942,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -877,3 +1005,37 @@ FsWatches *deleted*:: {} /user/user.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/bin/b.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js index 5c1ced25062d9..7e2a6c259b4c1 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -276,6 +276,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -329,6 +340,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -370,7 +388,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -544,6 +562,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -597,6 +633,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -660,7 +703,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -824,6 +867,29 @@ FsWatchesRecursive:: /user: *new* {} +Projects:: +/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 1 + /user/tsconfig.json +/b/b.ts *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /b/tsconfig.json + /user/tsconfig.json *new* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js index 8da8cf5b85ac6..bcb19560b7054 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -276,6 +276,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -329,6 +340,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -370,7 +388,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -544,6 +562,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -597,6 +633,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -660,7 +703,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -824,6 +867,29 @@ FsWatchesRecursive:: /user: *new* {} +Projects:: +/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 1 + /user/tsconfig.json +/b/b.ts *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /b/tsconfig.json + /user/tsconfig.json *new* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js index b41e384cc0f74..bd1c4cfe3fe4a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -728,7 +804,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-2-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -841,6 +917,32 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -940,6 +1042,27 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -989,6 +1112,36 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -1004,7 +1157,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -1073,3 +1226,38 @@ FsWatches *deleted*:: FsWatchesRecursive:: /a: {} + +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/bin/a.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js index ad06f7fe09a00..96db1c41036aa 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -778,6 +854,23 @@ FsWatches:: /b/bin/b.d.ts.map: *new* {} +ScriptInfos:: +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -815,6 +908,29 @@ FsWatches:: /user/user.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts.map + version: Text-1 + containingProjects: 0 +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -830,7 +946,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -887,3 +1003,31 @@ FsWatches *deleted*:: {} /user/user.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/bin/b.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js index 49108d40128b8..13c488415e050 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -732,7 +808,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -836,6 +912,35 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 1 + /a/tsconfig.json +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -885,6 +990,36 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 1 + /a/tsconfig.json +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -900,7 +1035,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -980,3 +1115,38 @@ FsWatches *deleted*:: FsWatchesRecursive *deleted*:: /a: {} + +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js index 5d1b2e2995984..e79d894f66ac3 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -261,6 +261,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + ts.getFileEmitOutput: /a/a.ts: { "outputFiles": [ { @@ -314,6 +325,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -355,7 +373,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /b/b.ts SVC-1-0 "export function fnB() {}" @@ -529,6 +547,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + ts.getFileEmitOutput: /b/b.ts: { "outputFiles": [ { @@ -582,6 +618,13 @@ FsWatchesRecursive:: /b: {} +ScriptInfos:: +/b/b.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /b/b.ts 2:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /b/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /b/tsconfig.json @@ -611,6 +654,17 @@ FsWatchesRecursive:: Timeout callback:: count: 1 2: /b/tsconfig.json *new* +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/b/b.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -626,7 +680,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/bin/b.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/bin/a.d.ts Text-1 "export declare function fnA(): void;\nexport interface IfaceA {\n}\nexport declare const instanceA: IfaceA;\n//# sourceMappingURL=a.d.ts.map" @@ -687,6 +741,28 @@ FsWatchesRecursive *deleted*:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/bin/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b/bin/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -732,7 +808,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts Text-2 "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" @@ -797,6 +873,35 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *new* + version: Text-2 + containingProjects: 1 + /a/tsconfig.json +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -846,6 +951,36 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts + version: Text-2 + containingProjects: 1 + /a/tsconfig.json +/a/bin/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/bin/a.d.ts.map + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/user.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -861,7 +996,7 @@ Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /dummy/dummy.ts SVC-1-0 "let a = 10;" @@ -941,3 +1076,38 @@ FsWatches *deleted*:: FsWatchesRecursive *deleted*:: /a: {} + +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/a/bin/a.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/bin/a.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/b/bin/b.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/user.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js index 2dd5889ab1294..fe397167faab0 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js +++ b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -174,6 +174,25 @@ FsWatches:: /user/username/projects/myproject/tsconfig.json: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/module1.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + DocumentRegistry:: Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 @@ -201,8 +220,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/module1.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +265,26 @@ export const a: number; export const b: number; +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/module1.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "change", @@ -247,8 +305,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/module1.d.ts + version: Text-1 + pendingReloadFromDisk: true + containingProjects: 0 + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js index 271204c8a75a0..15920a95e4097 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js +++ b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -174,6 +174,25 @@ FsWatches:: /user/username/projects/myproject/tsconfig.json: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/module1.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + DocumentRegistry:: Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 @@ -201,8 +220,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/module1.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -221,6 +259,25 @@ DocumentRegistry:: /a/lib/lib.d.ts: TS 1 Before request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/module1.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "change", @@ -241,8 +298,26 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/module1.d.ts + version: Text-1 + containingProjects: 0 + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js b/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js index b7696b30c116f..99ed54c2e427e 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js +++ b/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js @@ -28,7 +28,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/proje Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) ^/inmemory/model/6 SVC-1-0 "import x from 'react';\nexrpot const x = 10;" @@ -65,6 +65,17 @@ PolledWatches:: /users/user/projects/san/node_modules/@types: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +^/inmemory/model/6 (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -82,7 +93,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: ^/inmemory/model Info seq [hh:mm:ss:mss] For info: ^/inmemory/model/4 :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) ^/inmemory/model/6 SVC-1-0 "import x from 'react';\nexrpot const x = 10;" @@ -110,6 +121,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +^/inmemory/model/4 (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +^/inmemory/model/6 (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -134,6 +160,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +^/inmemory/model/4 *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +^/inmemory/model/6 (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -173,7 +215,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: ^/inmemory/model Info seq [hh:mm:ss:mss] For info: ^/inmemory/model/4 :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) ^/inmemory/model/6 SVC-1-1 "exrpot const x = 10;" @@ -201,3 +243,18 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +^/inmemory/model/4 (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +^/inmemory/model/6 (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js b/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js index e3ee8e3f4ac93..058b5b2d172b0 100644 --- a/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js +++ b/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/node_modules/foo/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/node_modules/foo/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/node_modules/foo/index.d.ts Text-1 "export const foo: number;" @@ -236,6 +236,29 @@ FsWatchesRecursive:: /b/node_modules: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/node_modules/foo/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/a/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/b/node_modules/foo/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b/user.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -289,6 +312,25 @@ FsWatchesRecursive:: /b/node_modules: {} +ScriptInfos:: +/a/node_modules/foo/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/a/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/b/node_modules/foo/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b/user.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js index 1ffd94cd90de7..5614ae78241b8 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Search path: ^walkThroughSnippet:/Users/UserName/projec Info seq [hh:mm:ss:mss] For info: ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -67,6 +67,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -211,3 +226,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js index 8c529f3020368..e4c62ffeb572f 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -64,6 +64,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -213,6 +228,11 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + /user/username/projects/myproject/^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js isDynamic:: true Before request @@ -247,7 +267,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: ^walkThroughSnippet:/Users/UserName/projects/someProject/out Info seq [hh:mm:ss:mss] For info: ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -400,3 +420,26 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js index 832648a4b8719..8d062718b94d3 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js @@ -31,7 +31,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /typings/@epic/Core.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /typings/@epic/Shell.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -56,6 +56,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -205,4 +220,9 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + /^walkthroughsnippet:/users/username/projects/someproject/out/somefile#1.js isDynamic:: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js index 12606aa5c96ef..3c8af17b3ee5e 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Search path: ^walkThroughSnippet:/Users/UserName/projec Info seq [hh:mm:ss:mss] For info: ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -71,6 +71,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -216,6 +231,11 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + /^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js isDynamic:: true Before request diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js index 7c4aaa59d382b..d37f171f3ac5e 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -65,6 +65,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +untitled:^Untitled-1 (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -203,6 +218,11 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + /user/username/projects/myproject/untitled:^Untitled-1 isDynamic:: true Before request @@ -226,6 +246,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +untitled:^Untitled-1 *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -266,7 +302,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -403,3 +439,22 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/tsconfig.json *new* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/file.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js index 086364ccd6358..4ae012b1f2f52 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js @@ -37,7 +37,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -62,6 +62,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +untitled:^Untitled-1 (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -200,6 +215,11 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + /user/username/projects/myproject/untitled:^Untitled-1 isDynamic:: true Before request //// [/user/username/projects/myproject/Untitled-1.ts] @@ -246,7 +266,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -359,6 +379,29 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *new* +/user/username/projects/myproject/Untitled-1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +untitled:^Untitled-1 (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -387,6 +430,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/Untitled-1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +untitled:^Untitled-1 *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -403,7 +470,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: Info seq [hh:mm:ss:mss] For info: untitled:^Untitled-1 :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -518,4 +585,19 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/Untitled-1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +untitled:^Untitled-1 (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + /user/username/projects/myproject/untitled:^Untitled-1 isDynamic:: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js b/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js index 552c9b3125824..53089dbca3d46 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /proj 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /proj 1 undefined Config: /proj/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /proj/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /proj/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /proj/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /proj/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/proj/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /proj/a.ts SVC-1-0 "" @@ -185,6 +185,17 @@ FsWatchesRecursive:: /proj: *new* {} +Projects:: +/proj/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/proj/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /proj/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -204,7 +215,7 @@ Info seq [hh:mm:ss:mss] For info: untitled:^Untitled-1 :: No config files found Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /typings/@epic/Core.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) untitled:^Untitled-1 SVC-1-0 "/// \nlet foo = 1;\nfooo/**/" @@ -247,6 +258,24 @@ FsWatchesRecursive:: /proj: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/proj/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/proj/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /proj/tsconfig.json *default* +untitled:^Untitled-1 (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + /proj/untitled:^untitled-1 isDynamic:: true Before request diff --git a/tests/baselines/reference/tsserver/dynamicFiles/untitled.js b/tests/baselines/reference/tsserver/dynamicFiles/untitled.js index e7891543fb828..45a80bf670139 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/untitled.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/untitled.js @@ -31,7 +31,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /typings/@epic/Core.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /typings/@epic/Shell.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -67,4 +67,19 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +untitled:/Users/matb/projects/san/^newFile.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + /untitled:/users/matb/projects/san/^newfile.ts isDynamic:: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js b/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js index 0f050621f12d5..dad0adbdaf7d4 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js @@ -31,7 +31,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /walkThroughSnippet:/usr/share/code/resources/app/out/vs/typings/@epic/Core.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /walkThroughSnippet:/usr/share/code/resources/app/out/vs/typings/@epic/Shell.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -67,4 +67,19 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +walkThroughSnippet:/usr/share/code/resources/app/out/vs/workbench/contrib/welcome/walkThrough/browser/editor/^vs_code_editor_walkthrough.md#1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + /walkthroughsnippet:/usr/share/code/resources/app/out/vs/workbench/contrib/welcome/walkthrough/browser/editor/^vs_code_editor_walkthrough.md#1.ts isDynamic:: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js b/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js index a926410700e27..6e2df940fa10f 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -71,6 +71,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +untitled:^Untitled-1 (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -93,6 +108,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +untitled:^Untitled-1 *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -110,7 +141,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: Info seq [hh:mm:ss:mss] For info: untitled:^Untitled-1 :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -135,3 +166,13 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +untitled:^Untitled-1 (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js index 8bd43c955aaba..ad306860d5050 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -115,3 +115,22 @@ FsWatches:: {} /user/username/projects/myproject/src/large.js: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/file.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/large.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js index 7f451a43eb30b..a2fee4d76a434 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -210,3 +210,22 @@ FsWatches:: {} /user/username/projects/myproject/tsconfig.json: *new* {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/large.js *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js index ff13484506811..41cd4d2d71830 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -95,3 +95,22 @@ FsWatches:: {} /user/username/projects/myproject/src/large.ts: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/file.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/large.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js index 838d12473b767..c80884b7b9cba 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -193,3 +193,22 @@ FsWatches:: {} /user/username/projects/myproject/tsconfig.json: *new* {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/large.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js index b95057f859daf..6a76f3af04f5c 100644 --- a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js +++ b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/largefile.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/app.js SVC-1-0 "let x = 1;" @@ -220,6 +220,21 @@ FsWatches:: /a/largefile.js: *new* {} +Projects:: +/a/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/jsconfig.json *default* +/a/largefile.js *new* + version: Text-1 + containingProjects: 1 + /a/jsconfig.json + Language service enabled: false Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/jsconfig.json 1:: WatchInfo: /a/jsconfig.json 2000 undefined Project: /a/jsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/jsconfig.json @@ -240,6 +255,11 @@ Timeout callback:: count: 2 1: /a/jsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/jsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/jsconfig.json Info seq [hh:mm:ss:mss] event: @@ -278,7 +298,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/app.js SVC-1-0 "let x = 1;" @@ -304,6 +324,16 @@ FsWatchesRecursive:: /a: *new* {} +ScriptInfos:: +/a/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /a/jsconfig.json *default* +/a/largefile.js *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/jsconfig.json *deleted* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -364,6 +394,11 @@ Timeout callback:: count: 2 7: /a/jsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/a/jsconfig.json", @@ -467,7 +502,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js index 26913e566c4a9..cd3e7b7d59aca 100644 --- a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js +++ b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/extremlylarge.d.ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/largefile.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -196,5 +196,28 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/jsconfig.json *default* +/a/extremlylarge.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/jsconfig.json +/a/largefile.js *new* + version: Text-1 + containingProjects: 1 + /a/jsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/jsconfig.json + Info seq [hh:mm:ss:mss] languageServiceEnabled: false Info seq [hh:mm:ss:mss] lastFileExceededProgramSize: /a/largefile.js \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js index 2fdf8190a2306..3bd16310fa510 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -174,6 +174,21 @@ FsWatchesRecursive:: /user/username/projects/b: *new* {} +Projects:: +/user/username/projects/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/a/tsconfig.json 1:: WatchInfo: /user/username/projects/a/tsconfig.json 2000 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -187,6 +202,11 @@ Timeout callback:: count: 2 1: /user/username/projects/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -208,7 +228,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js index 095654a508cbd..48d1fbaeda95d 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -171,6 +171,21 @@ FsWatchesRecursive:: /user/username/projects/b: *new* {} +Projects:: +/user/username/projects/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/a/tsconfig.json 1:: WatchInfo: /user/username/projects/a/tsconfig.json 2000 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -184,6 +199,11 @@ Timeout callback:: count: 2 1: /user/username/projects/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -205,7 +225,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js index 258597443107c..8d356558a8fee 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -163,6 +163,21 @@ FsWatchesRecursive:: /user/username/projects/a: *new* {} +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/a/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/a/tsconfig.json 1:: WatchInfo: /user/username/projects/a/tsconfig.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -176,6 +191,11 @@ Timeout callback:: count: 2 1: /user/username/projects/a/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -197,7 +217,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/a/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js index c142b0b379559..60a3c2a23f818 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -160,6 +160,21 @@ FsWatchesRecursive:: /user/username/projects/a: *new* {} +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/a/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/a/tsconfig.json 1:: WatchInfo: /user/username/projects/a/tsconfig.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -173,6 +188,11 @@ Timeout callback:: count: 2 1: /user/username/projects/a/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -194,7 +214,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/a/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js index e9901266e49f1..d785adf6e90b4 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js @@ -68,6 +68,11 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/tsconfig.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -79,6 +84,11 @@ FsWatches:: /user/username/projects/a/tsconfig.json: *new* {} +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -120,7 +130,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -228,3 +238,18 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/a: *new* {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/a/a.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js index 271d860d665ed..7a9987a050553 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js @@ -68,6 +68,11 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/tsconfig.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -79,6 +84,11 @@ FsWatches:: /user/username/projects/a/tsconfig.json: *new* {} +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -120,7 +130,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -225,3 +235,18 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/a: *new* {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/a/a.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js index 5ca2a54866a1a..bca5d4a99b21d 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js @@ -95,7 +95,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -158,6 +158,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -182,3 +187,18 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/a: *new* {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/a/a.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js index ed8f377d4c484..fa89c67f1dce9 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js @@ -95,7 +95,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -155,6 +155,11 @@ Info seq [hh:mm:ss:mss] event: "version": "FakeVersion" } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -179,3 +184,18 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/a: *new* {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/a/a.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js index 18993b41029e2..440106cbb153d 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js @@ -68,6 +68,11 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/tsconfig.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -79,6 +84,11 @@ FsWatches:: /user/username/projects/a/tsconfig.json: *new* {} +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -119,7 +129,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -221,3 +231,18 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/a: *new* {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/a/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js index dc1d6e5178777..4e831f8a3a003 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js @@ -68,6 +68,11 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/tsconfig.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -79,6 +84,11 @@ FsWatches:: /user/username/projects/a/tsconfig.json: *new* {} +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -119,7 +129,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -218,3 +228,18 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/a: *new* {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/a/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js index 37895eb470b33..4a84e5fdf7ae1 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -242,6 +242,25 @@ FsWatchesRecursive:: /user/username/projects/b: *new* {} +Projects:: +/user/username/projects/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/a/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -276,7 +295,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -437,3 +456,33 @@ FsWatchesRecursive:: {} /user/username/projects/b: {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/b/tsconfig.json + /user/username/projects/a/tsconfig.json *new* +/user/username/projects/a/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/a/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/a/a.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/b/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js index c7ff7216578f0..d7f38dfba9ca2 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -239,6 +239,25 @@ FsWatchesRecursive:: /user/username/projects/b: *new* {} +Projects:: +/user/username/projects/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/a/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -273,7 +292,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -431,3 +450,33 @@ FsWatchesRecursive:: {} /user/username/projects/b: {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/b/tsconfig.json + /user/username/projects/a/tsconfig.json *new* +/user/username/projects/a/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/a/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/a/a.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/b/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js index 86daf673b48ab..1fd2376ce6ed0 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -235,6 +235,25 @@ FsWatchesRecursive:: /user/username/projects/b: *new* {} +Projects:: +/user/username/projects/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/a/a.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -267,7 +286,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -424,3 +443,27 @@ FsWatchesRecursive:: {} /user/username/projects/b: {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/b/tsconfig.json + /user/username/projects/a/tsconfig.json *new* +/user/username/projects/a/a.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/b/tsconfig.json + /user/username/projects/a/tsconfig.json *new* +/user/username/projects/b/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js index b4c6bcde6623d..f4f92fc2cf9d2 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -232,6 +232,25 @@ FsWatchesRecursive:: /user/username/projects/b: *new* {} +Projects:: +/user/username/projects/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/a/a.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/b/tsconfig.json +/user/username/projects/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -264,7 +283,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -418,3 +437,27 @@ FsWatchesRecursive:: {} /user/username/projects/b: {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/b/tsconfig.json + /user/username/projects/a/tsconfig.json *new* +/user/username/projects/a/a.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/b/tsconfig.json + /user/username/projects/a/tsconfig.json *new* +/user/username/projects/b/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js index 06f344f31c4c2..537064baf5381 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -169,6 +169,21 @@ FsWatchesRecursive:: /user/username/projects/a: *new* {} +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -209,7 +224,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -323,3 +338,26 @@ FsWatchesRecursive:: {} /user/username/projects/b: *new* {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/a/tsconfig.json + /user/username/projects/b/tsconfig.json *new* +/user/username/projects/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/a/tsconfig.json *default* +/user/username/projects/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js index bf3a37d7db18a..13e2aced39c90 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -166,6 +166,21 @@ FsWatchesRecursive:: /user/username/projects/a: *new* {} +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/a/tsconfig.json +/user/username/projects/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -206,7 +221,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -317,3 +332,26 @@ FsWatchesRecursive:: {} /user/username/projects/b: *new* {} + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/a/tsconfig.json + /user/username/projects/b/tsconfig.json *new* +/user/username/projects/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/a/tsconfig.json *default* +/user/username/projects/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/b/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js index d50e0e7856ab3..899a14a41195d 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -173,6 +173,25 @@ FsWatchesRecursive:: /a/b/project: *new* {} +Projects:: +/a/b/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/project/tsconfig.json *default* +/a/b/project/file3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/project/file3.ts 1:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -188,9 +207,29 @@ Timeout callback:: count: 2 1: /a/b/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/project/tsconfig.json *default* +/a/b/project/file3.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /a/b/project/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -228,6 +267,21 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/project/tsconfig.json *default* +/a/b/project/file3.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /a/b/project/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json + Before running Timeout callback:: count: 0 //// [/a/b/node_modules/file2.d.ts] export class a { } diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js index ecd7da5a78380..4474f9a1feded 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js @@ -76,7 +76,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -189,6 +189,25 @@ FsWatchesRecursive:: /user/username/rootfolder/otherfolder/a/b/project: *new* {} +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/project/file3.ts 1:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -204,9 +223,29 @@ Timeout callback:: count: 2 1: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -244,6 +283,21 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -299,6 +353,11 @@ Timeout callback:: count: 2 6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *new* 7: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json 7: *ensureProjectForOpenFiles* @@ -313,7 +372,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,3 +446,26 @@ FsWatchesRecursive:: {} /user/username/rootfolder/otherfolder/a/b/project: {} + +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts + version: Text-2 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index 513afa22d1ae0..4170db72febea 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -205,6 +205,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -295,6 +306,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -324,7 +340,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -412,3 +428,34 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index 7e8a2fc823444..babd5a0b5dbcb 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -204,6 +204,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -292,6 +303,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -319,7 +335,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -403,3 +419,34 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js index 113992ee6ad4d..372644c6f539f 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -288,6 +299,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -333,7 +349,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -415,3 +431,30 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js index 9f3b895164741..e85f9b601d8c2 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -288,6 +299,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -337,7 +353,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -431,3 +447,38 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js index 1d56a5c6aca5a..66622fa3b3110 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -288,6 +299,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -321,6 +337,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 2 15: /users/username/projects/project/tsconfig.json 16: *ensureProjectForOpenFiles* @@ -332,7 +354,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -416,6 +438,37 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -431,9 +484,41 @@ Timeout callback:: count: 2 17: /users/username/projects/project/tsconfig.json *new* 18: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -474,6 +559,33 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -496,6 +608,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts + version: Text-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -515,13 +658,40 @@ Timeout callback:: count: 2 19: /users/username/projects/project/tsconfig.json *new* 20: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -594,6 +764,38 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -616,6 +818,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 3 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts + version: Text-3 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -631,9 +864,36 @@ Timeout callback:: count: 2 21: /users/username/projects/project/tsconfig.json *new* 22: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-3 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-3 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -673,3 +933,35 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-3 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-4 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js index 3ffc2c2a47845..828b15211b311 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -288,6 +299,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -317,7 +333,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -406,6 +422,37 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -421,9 +468,41 @@ Timeout callback:: count: 2 17: /users/username/projects/project/tsconfig.json *new* 18: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -463,3 +542,30 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js index 19661e63e3cc6..e1cd83c0c528b 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -196,6 +196,17 @@ FsWatches:: /users/username/projects/project/tsconfig.json: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -266,6 +277,11 @@ Timeout callback:: count: 3 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -292,7 +308,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -360,6 +376,25 @@ FsWatches *deleted*:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -375,9 +410,29 @@ Timeout callback:: count: 2 9: /users/username/projects/project/tsconfig.json *new* 10: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -414,3 +469,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js index f710742257a7b..aadeb46ac7e26 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" @@ -195,6 +195,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/referenceFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/lib/lib.d.ts 0:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -239,6 +250,11 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "change", @@ -259,6 +275,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/referenceFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json 2: *ensureProjectForOpenFiles* @@ -266,7 +288,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -327,6 +349,21 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/referenceFile1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile2.ts 0:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -367,10 +404,15 @@ Timeout callback:: count: 2 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -434,3 +476,22 @@ FsWatches:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/referenceFile1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js index 09c81cb745f12..527ca582aaab5 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" @@ -195,6 +195,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/referenceFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/lib/lib.d.ts 0:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -254,11 +265,16 @@ Timeout callback:: count: 2 7: /users/username/projects/project/tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -318,3 +334,18 @@ FsWatches:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/referenceFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js index 9663d558fb9b0..c12881460e8cd 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -288,6 +299,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -317,7 +333,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -405,3 +421,34 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js index 10b97e6f59082..5a30c8ca665ed 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -298,6 +309,11 @@ Timeout callback:: count: 3 16: /users/username/projects/project/tsconfig.json *new* 17: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -331,6 +347,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 2 18: /users/username/projects/project/tsconfig.json 19: *ensureProjectForOpenFiles* @@ -347,7 +369,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -442,6 +464,41 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -457,9 +514,45 @@ Timeout callback:: count: 2 20: /users/username/projects/project/tsconfig.json *new* 21: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -501,6 +594,37 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -523,6 +647,41 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts + version: Text-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -538,9 +697,40 @@ Timeout callback:: count: 2 22: /users/username/projects/project/tsconfig.json *new* 23: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -581,3 +771,34 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js index 6fcdbd2f4467f..5e7043f1912df 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1.ts SVC-1-0 "\n /// \n export var t1 = 10;" @@ -195,6 +195,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/lib/lib.d.ts 0:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -255,11 +266,16 @@ Timeout callback:: count: 2 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -324,3 +340,22 @@ FsWatches:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---out-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---out-is-set.js index ca24bf3e6805b..f69c24e7165c2 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---out-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---out-is-set.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -182,6 +182,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/b.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -197,10 +212,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -264,6 +284,25 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/b.ts 1:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -279,9 +318,29 @@ Timeout callback:: count: 2 3: /users/username/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -318,3 +377,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js index 2a9a9aed58ccd..c962b6cd41753 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -167,6 +167,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/b.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -182,10 +197,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -249,6 +269,25 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/b.ts 1:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -264,9 +303,29 @@ Timeout callback:: count: 2 3: /users/username/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -303,3 +362,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js index 4d8646787f818..2b47ce0dd59a4 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -160,6 +160,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/file2.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -175,10 +190,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -242,6 +262,25 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/file3.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -257,10 +296,15 @@ Timeout callback:: count: 2 3: /users/username/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -328,3 +372,26 @@ FsWatches:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js index 4250540d1c147..b21b3278f811f 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -162,6 +162,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/b.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -177,10 +192,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -244,6 +264,25 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/b.ts 1:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -259,9 +298,29 @@ Timeout callback:: count: 2 3: /users/username/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -298,3 +357,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index addaaaf0c6d9a..532f34e5b8d43 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -176,6 +176,25 @@ FsWatchesRecursive:: /a/b/project: *new* {} +Projects:: +/a/b/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/project/tsconfig.json *default* +/a/b/project/file3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/project/file3.ts 1:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -191,9 +210,29 @@ Timeout callback:: count: 2 1: /a/b/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/project/tsconfig.json *default* +/a/b/project/file3.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /a/b/project/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -232,6 +271,21 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/project/tsconfig.json *default* +/a/b/project/file3.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /a/b/project/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json + Before running Timeout callback:: count: 0 //// [/a/b/node_modules/file2.d.ts] export class a { } diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index 24a7099d191a7..88220293708af 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -76,7 +76,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -192,6 +192,25 @@ FsWatchesRecursive:: /user/username/rootfolder/otherfolder/a/b/project: *new* {} +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/project/file3.ts 1:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -207,9 +226,29 @@ Timeout callback:: count: 2 1: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -248,6 +287,21 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -303,6 +357,11 @@ Timeout callback:: count: 2 6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *new* 7: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json 7: *ensureProjectForOpenFiles* @@ -317,7 +376,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -392,3 +451,26 @@ FsWatchesRecursive:: {} /user/username/rootfolder/otherfolder/a/b/project: {} + +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts + version: Text-2 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index 42d519b928b4a..4ab51a2a58889 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -208,6 +208,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -298,6 +309,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -327,7 +343,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -416,3 +432,34 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index 03ef020e1731d..186a8824da801 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -207,6 +207,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -295,6 +306,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -322,7 +338,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -407,3 +423,34 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js index 5576fab517812..58c35c381197f 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -291,6 +302,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -336,7 +352,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -419,3 +435,30 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js index 354ff20d613e1..b070f8304e011 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -291,6 +302,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -340,7 +356,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -435,3 +451,38 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js index a2a849d5218f7..f6df99a4391c6 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -291,6 +302,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -324,6 +340,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 2 15: /users/username/projects/project/tsconfig.json 16: *ensureProjectForOpenFiles* @@ -335,7 +357,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +442,37 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -435,9 +488,41 @@ Timeout callback:: count: 2 17: /users/username/projects/project/tsconfig.json *new* 18: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -479,6 +564,33 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -501,6 +613,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts + version: Text-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -520,13 +663,40 @@ Timeout callback:: count: 2 19: /users/username/projects/project/tsconfig.json *new* 20: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -600,6 +770,38 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -622,6 +824,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 3 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts + version: Text-3 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -637,9 +870,36 @@ Timeout callback:: count: 2 21: /users/username/projects/project/tsconfig.json *new* 22: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-3 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-3 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -680,3 +940,35 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-3 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-4 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js index 266ff72624a5f..3e7b37c91cf79 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -291,6 +302,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -320,7 +336,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -410,6 +426,37 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -425,9 +472,41 @@ Timeout callback:: count: 2 17: /users/username/projects/project/tsconfig.json *new* 18: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -468,3 +547,30 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js index 15500ce8f969c..b751ff7b8f08c 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -199,6 +199,17 @@ FsWatches:: /users/username/projects/project/tsconfig.json: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -269,6 +280,11 @@ Timeout callback:: count: 3 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -295,7 +311,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -364,6 +380,25 @@ FsWatches *deleted*:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -379,9 +414,29 @@ Timeout callback:: count: 2 9: /users/username/projects/project/tsconfig.json *new* 10: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -419,3 +474,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js index 84c35ccfef163..5f2db7eefbcd6 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/referenceFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/lib/lib.d.ts 0:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -242,6 +253,11 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "change", @@ -262,6 +278,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/referenceFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json 2: *ensureProjectForOpenFiles* @@ -269,7 +291,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -331,6 +353,21 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/referenceFile1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile2.ts 0:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -371,10 +408,15 @@ Timeout callback:: count: 2 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -439,3 +481,22 @@ FsWatches:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/referenceFile1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js index fd1ecbc1896f2..a3b40fab7c534 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/referenceFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/lib/lib.d.ts 0:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -257,11 +268,16 @@ Timeout callback:: count: 2 7: /users/username/projects/project/tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -322,3 +338,18 @@ FsWatches:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/referenceFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js index 5a3c452034926..d5b911cbe4bde 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -291,6 +302,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -320,7 +336,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -409,3 +425,34 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js index 10db5b736e9db..a6f00782588ec 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -301,6 +312,11 @@ Timeout callback:: count: 3 16: /users/username/projects/project/tsconfig.json *new* 17: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -334,6 +350,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 2 18: /users/username/projects/project/tsconfig.json 19: *ensureProjectForOpenFiles* @@ -350,7 +372,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -446,6 +468,41 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -461,9 +518,45 @@ Timeout callback:: count: 2 20: /users/username/projects/project/tsconfig.json *new* 21: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -506,6 +599,37 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -528,6 +652,41 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts + version: Text-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -543,9 +702,40 @@ Timeout callback:: count: 2 22: /users/username/projects/project/tsconfig.json *new* 23: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -587,3 +777,34 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js index 8ce298b8f09b2..82d312e8f3763 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1.ts SVC-1-0 "\n /// \n export var t1 = 10;" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/lib/lib.d.ts 0:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -258,11 +269,16 @@ Timeout callback:: count: 2 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -328,3 +344,22 @@ FsWatches:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---out-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---out-is-set.js index 6b3cad21fd972..892a0711602d8 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---out-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---out-is-set.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -185,6 +185,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/b.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -200,10 +215,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -268,6 +288,25 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/b.ts 1:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -283,9 +322,29 @@ Timeout callback:: count: 2 3: /users/username/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -323,3 +382,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js index 6fbc2939afc68..5d9e161820738 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -170,6 +170,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/b.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -185,10 +200,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -253,6 +273,25 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/b.ts 1:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -268,9 +307,29 @@ Timeout callback:: count: 2 3: /users/username/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -308,3 +367,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js index 49213e58dc193..3b12c82c2b2e6 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -163,6 +163,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/file2.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -178,10 +193,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -246,6 +266,25 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/file3.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -261,10 +300,15 @@ Timeout callback:: count: 2 3: /users/username/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -333,3 +377,26 @@ FsWatches:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js index 4d5de070c0603..43d2124186093 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -165,6 +165,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/b.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -180,10 +195,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -248,6 +268,25 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/b.ts 1:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -263,9 +302,29 @@ Timeout callback:: count: 2 3: /users/username/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -303,3 +362,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index d4c541e1ff533..a927d938b002a 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -176,6 +176,25 @@ FsWatchesRecursive:: /a/b/project: *new* {} +Projects:: +/a/b/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/project/tsconfig.json *default* +/a/b/project/file3.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/project/file3.ts 1:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -191,9 +210,29 @@ Timeout callback:: count: 2 1: /a/b/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/project/tsconfig.json *default* +/a/b/project/file3.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /a/b/project/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -236,6 +275,21 @@ After running Timeout callback:: count: 1 Timeout callback:: count: 1 3: checkOne *new* +ScriptInfos:: +/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/project/tsconfig.json *default* +/a/b/project/file3.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /a/b/project/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project/tsconfig.json + Before running Timeout callback:: count: 1 3: checkOne //// [/a/b/node_modules/file2.d.ts] diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index fb2d2be3f3b05..966e0d6e9eca5 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -76,7 +76,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -192,6 +192,25 @@ FsWatchesRecursive:: /user/username/rootfolder/otherfolder/a/b/project: *new* {} +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/project/file3.ts 1:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -207,9 +226,29 @@ Timeout callback:: count: 2 1: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -252,6 +291,21 @@ After running Timeout callback:: count: 1 Timeout callback:: count: 1 3: checkOne *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -310,7 +364,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -374,6 +428,29 @@ Timeout callback:: count: 1 Immedidate callback:: count: 1 1: semanticCheck *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +/user/username/rootfolder/otherfolder/a/b/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *default* +/user/username/rootfolder/otherfolder/a/b/project/file3.ts + version: Text-2 + containingProjects: 1 + /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json + Before running Timeout callback:: count: 1 7: *ensureProjectForOpenFiles* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index 96f1c0e893e87..9f2d31d47d3d7 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -208,6 +208,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -298,6 +309,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -327,7 +343,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,3 +436,34 @@ FsWatchesRecursive:: Timeout callback:: count: 1 17: checkOne *new* + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index 9bee6c8d88750..1eb41028475d4 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -207,6 +207,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -295,6 +306,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -322,7 +338,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -411,3 +427,34 @@ FsWatchesRecursive:: Timeout callback:: count: 1 17: checkOne *new* + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js index 5c58fcb87b027..967ae148faa25 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -291,6 +302,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -336,7 +352,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -423,3 +439,30 @@ FsWatchesRecursive:: Timeout callback:: count: 1 20: checkOne *new* + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js index b53cf72a30c60..b1131ba2148d1 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -291,6 +302,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -340,7 +356,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -439,3 +455,38 @@ FsWatchesRecursive:: Timeout callback:: count: 1 20: checkOne *new* + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js index 1f0de63af848c..ff6eb74c1690d 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -291,6 +302,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -324,6 +340,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 2 15: /users/username/projects/project/tsconfig.json 16: *ensureProjectForOpenFiles* @@ -335,7 +357,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -424,6 +446,37 @@ FsWatchesRecursive:: Timeout callback:: count: 1 17: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -441,8 +494,40 @@ Timeout callback:: count: 3 18: /users/username/projects/project/tsconfig.json *new* 19: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -501,6 +586,33 @@ Timeout callback:: count: 1 Immedidate callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -523,6 +635,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts + version: Text-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before running Timeout callback:: count: 1 20: checkOne @@ -543,13 +686,40 @@ Timeout callback:: count: 2 21: /users/username/projects/project/tsconfig.json *new* 22: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -627,6 +797,38 @@ FsWatchesRecursive:: Timeout callback:: count: 1 23: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -649,6 +851,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 3 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts + version: Text-3 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -666,9 +899,36 @@ Timeout callback:: count: 3 24: /users/username/projects/project/tsconfig.json *new* 25: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-3 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-3 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -713,3 +973,35 @@ After running Timeout callback:: count: 1 Timeout callback:: count: 1 26: checkOne *new* + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-3 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-4 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js index 6480f39109e43..5b9b4821f4795 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -291,6 +302,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -320,7 +336,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -414,6 +430,37 @@ FsWatchesRecursive:: Timeout callback:: count: 1 17: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -431,8 +478,40 @@ Timeout callback:: count: 3 18: /users/username/projects/project/tsconfig.json *new* 19: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -490,3 +569,30 @@ Timeout callback:: count: 1 20: checkOne *new* Immedidate callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js index 0ff275d536292..5ca0078938033 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -199,6 +199,17 @@ FsWatches:: /users/username/projects/project/tsconfig.json: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -269,6 +280,11 @@ Timeout callback:: count: 3 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -295,7 +311,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -368,6 +384,25 @@ FsWatches *deleted*:: Timeout callback:: count: 1 9: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -385,8 +420,28 @@ Timeout callback:: count: 3 10: /users/username/projects/project/tsconfig.json *new* 11: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -441,3 +496,18 @@ Timeout callback:: count: 1 12: checkOne *new* Immedidate callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js index 7ddd48133b6af..01ae0b48eae3c 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/referenceFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/lib/lib.d.ts 0:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -242,6 +253,11 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "change", @@ -262,6 +278,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/referenceFile1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json 2: *ensureProjectForOpenFiles* @@ -269,7 +291,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -335,6 +357,21 @@ FsWatchesRecursive:: Timeout callback:: count: 1 3: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/referenceFile1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile2.ts 0:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -377,9 +414,14 @@ Timeout callback:: count: 3 6: /users/username/projects/project/tsconfig.json *new* 7: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -461,3 +503,22 @@ Timeout callback:: count: 1 8: checkOne *new* Immedidate callback:: count: 0 + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/referenceFile1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js index be6aba161582d..6b963c8765b19 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/referenceFile1.ts SVC-1-0 "\n /// \n export var x = Foo();" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/referenceFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/lib/lib.d.ts 0:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -257,11 +268,16 @@ Timeout callback:: count: 2 7: /users/username/projects/project/tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -326,3 +342,18 @@ FsWatchesRecursive:: Timeout callback:: count: 1 9: checkOne *new* + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/referenceFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js index 5a5bdaad0899d..c04549c96e629 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -291,6 +302,11 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -320,7 +336,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -413,3 +429,34 @@ FsWatchesRecursive:: Timeout callback:: count: 1 17: checkOne *new* + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js index a73b18288bb74..c044a0c0ef816 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1Consumer1.ts SVC-1-0 "import {Foo} from \"./moduleFile1\"; export var y = 10;" @@ -201,6 +201,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts :: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -301,6 +312,11 @@ Timeout callback:: count: 3 16: /users/username/projects/project/tsconfig.json *new* 17: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -334,6 +350,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 2 18: /users/username/projects/project/tsconfig.json 19: *ensureProjectForOpenFiles* @@ -350,7 +372,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -450,6 +472,41 @@ FsWatchesRecursive:: Timeout callback:: count: 1 20: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -467,8 +524,44 @@ Timeout callback:: count: 3 21: /users/username/projects/project/tsconfig.json *new* 22: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -528,6 +621,37 @@ Timeout callback:: count: 1 Immedidate callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -550,6 +674,41 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts + version: Text-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/moduleFile1.ts 1:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -567,9 +726,40 @@ Timeout callback:: count: 3 24: /users/username/projects/project/tsconfig.json *new* 25: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-2 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -615,3 +805,34 @@ After running Timeout callback:: count: 1 Timeout callback:: count: 1 26: checkOne *new* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer1.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file1Consumer1Consumer1.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1Consumer2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/globalFile3.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile1.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/moduleFile2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js index 1f9907888366b..43a2799846d7c 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1.ts SVC-1-0 "\n /// \n export var t1 = 10;" @@ -198,6 +198,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/lib/lib.d.ts 0:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -258,11 +269,16 @@ Timeout callback:: count: 2 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -332,3 +348,22 @@ FsWatchesRecursive:: Timeout callback:: count: 1 7: checkOne *new* + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---out-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---out-is-set.js index 13f0bcf7b7a08..2bbb33bce1dc5 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---out-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---out-is-set.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -185,6 +185,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/b.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -200,10 +215,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -272,6 +292,25 @@ FsWatchesRecursive:: Timeout callback:: count: 1 3: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/b.ts 1:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -289,8 +328,28 @@ Timeout callback:: count: 3 4: /users/username/projects/project/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -345,3 +404,18 @@ Timeout callback:: count: 1 6: checkOne *new* Immedidate callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js index 46ec4cef4f40a..1e7ab9dc372f7 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -170,6 +170,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/b.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -185,10 +200,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -257,6 +277,25 @@ FsWatchesRecursive:: Timeout callback:: count: 1 3: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/b.ts 1:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -274,8 +313,28 @@ Timeout callback:: count: 3 4: /users/username/projects/project/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -330,3 +389,18 @@ Timeout callback:: count: 1 6: checkOne *new* Immedidate callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js index 4181863ee0d20..bce817887fef0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -163,6 +163,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/file2.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -178,10 +193,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -250,6 +270,25 @@ FsWatchesRecursive:: Timeout callback:: count: 1 3: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/file3.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -267,9 +306,14 @@ Timeout callback:: count: 3 4: /users/username/projects/project/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -355,3 +399,26 @@ Timeout callback:: count: 1 6: checkOne *new* Immedidate callback:: count: 0 + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/file2.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/file3.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js index 1b78252cbd9be..835b0de39ced0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -165,6 +165,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/b.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -180,10 +195,15 @@ Timeout callback:: count: 2 1: /users/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -252,6 +272,25 @@ FsWatchesRecursive:: Timeout callback:: count: 1 3: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/username/projects/project/b.ts 1:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -269,8 +308,28 @@ Timeout callback:: count: 3 4: /users/username/projects/project/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -325,3 +384,18 @@ Timeout callback:: count: 1 6: checkOne *new* Immedidate callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js index b055b033d3cb5..a468aaa613280 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -102,6 +102,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Add file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/c.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json @@ -118,10 +137,15 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -179,6 +203,29 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Custom watch Before running Timeout callback:: count: 0 @@ -200,9 +247,33 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -230,6 +301,25 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a.ts Proje Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Custom watch Before running Timeout callback:: count: 0 @@ -286,6 +376,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts (Open) *changed* + open: true *changed* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/c.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -331,6 +440,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts *changed* + open: false *changed* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js index 6f950e149aa98..97de39ed65494 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory: 6: /user/username/projects/node_modules/@types true Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -237,6 +237,25 @@ Custom WatchedDirectoriesRecursive:: /user/username/projects/node_modules/@types: *new* {"id":6,"path":"/user/username/projects/node_modules/@types","recursive":true} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Add file Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/c.ts] @@ -273,6 +292,11 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json 2: *ensureProjectForOpenFiles* @@ -291,7 +315,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchFile: 7: /user/username/projects/myproject/c.ts Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -358,6 +382,29 @@ Custom WatchedDirectoriesRecursive:: /user/username/projects/node_modules/@types: {"id":6,"path":"/user/username/projects/node_modules/@types","recursive":true} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Change File Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/b.ts] @@ -394,13 +441,37 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before running Timeout callback:: count: 2 3: /user/username/projects/myproject/tsconfig.json 4: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -439,6 +510,25 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -498,6 +588,25 @@ Custom WatchedDirectoriesRecursive:: /user/username/projects/node_modules/@types: {"id":6,"path":"/user/username/projects/node_modules/@types","recursive":true} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts (Open) *changed* + open: true *changed* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/c.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -551,3 +660,22 @@ Custom WatchedDirectoriesRecursive:: {"id":5,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true} /user/username/projects/node_modules/@types: {"id":6,"path":"/user/username/projects/node_modules/@types","recursive":true} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.ts *changed* + open: false *changed* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js b/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js index 99b8fd2162264..a46cb72f70857 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js +++ b/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined Wa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a.ts SVC-1-0 "export const foo = 0;" @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -253,6 +253,37 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/foo/constants.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -310,6 +341,29 @@ FsWatchesRecursive:: /node_modules: {} +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js index 5ae9fb7aae036..fa9bdd3b7097c 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined Wa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a.ts SVC-1-0 "export const foo = 0;" @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -253,6 +253,37 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/foo/constants.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -310,6 +341,29 @@ FsWatchesRecursive:: /node_modules: {} +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -380,9 +434,19 @@ Before running Timeout callback:: count: 0 { "name": "blah", "dependencies": { "mobx": "*" } } +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + After running Timeout callback:: count: 0 Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Same program as before \ No newline at end of file +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before +After getPackageJsonAutoImportProvider diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js index 416cb7b103a2a..5358cb0034ee0 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined Wa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a.ts SVC-1-0 "export const foo = 0;" @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -253,6 +253,37 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/foo/constants.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -310,6 +341,29 @@ FsWatchesRecursive:: /node_modules: {} +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -408,8 +462,39 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a.ts SVC-1-0 "export const foo = 0;" diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js index 71e6b4ede846e..12bf5267f45e5 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /utils.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /utils.ts Text-1 "export class Element {\n // ...\n }\n\n export abstract class Component {\n abstract render(): Element;\n }" @@ -206,6 +206,21 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/classes.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/utils.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -390,7 +405,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /utils.ts 500 undefine Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /utils.ts :: Config file name: /tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /utils.ts SVC-2-0 "export class Element {\n // ...\n }\n\n export abstract class Component {\n abstract render2(): Element;\n }" @@ -428,6 +443,22 @@ FsWatchesRecursive:: /: {} +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/classes.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/utils.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -463,10 +494,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/classes.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/utils.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 +After getPackageJsonAutoImportProvider + Before request Info seq [hh:mm:ss:mss] request: @@ -484,7 +532,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /utils.ts SVC-2-0 "export class Element {\n // ...\n }\n\n export abstract class Component {\n abstract render2(): Element;\n }" diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js index 946ea6289f295..a7b7760448e18 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined Wa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a.ts SVC-1-0 "export const foo = 0;" @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -253,6 +253,37 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/foo/constants.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -310,6 +341,29 @@ FsWatchesRecursive:: /node_modules: {} +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -424,6 +478,29 @@ FsWatchesRecursive:: /node_modules: {} +ScriptInfos:: +/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a.ts 2:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /tsconfig.json @@ -466,9 +543,40 @@ Timeout callback:: count: 2 3: /tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /tsconfig.json *deleted* +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] Running: /tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /ambient.d.ts Text-1 "declare module 'ambient' {}" @@ -526,3 +634,12 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js index d1dfdad33c5d9..0f0716abb1396 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined Wa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a.ts SVC-1-0 "export const foo = 0;" @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -253,6 +253,37 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/foo/constants.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -310,6 +341,29 @@ FsWatchesRecursive:: /node_modules: {} +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -392,10 +446,19 @@ Timeout callback:: count: 2 3: /tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] Running: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/a2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a.ts SVC-1-0 "export const foo = 0;" @@ -486,3 +549,38 @@ FsWatchesRecursive:: {} /node_modules: {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js index e355804ad1d76..34283e171e44e 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined Wa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib/foo/constants.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a.ts SVC-1-0 "export const foo = 0;" @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -253,6 +253,37 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib/foo/constants.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -310,6 +341,29 @@ FsWatchesRecursive:: /node_modules: {} +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -380,13 +434,54 @@ Before running Timeout callback:: count: 0 {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + After running Timeout callback:: count: 0 Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (0) -Info seq [hh:mm:ss:mss] ----------------------------------------------- \ No newline at end of file +Info seq [hh:mm:ss:mss] ----------------------------------------------- +After getPackageJsonAutoImportProvider + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: undefined *changed* + +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib/foo/constants.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/mobx/index.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/autoImportProviderProject1* *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/can-correctly-update-external-project-when-set-of-root-files-has-changed.js b/tests/baselines/reference/tsserver/externalProjects/can-correctly-update-external-project-when-set-of-root-files-has-changed.js index fd996cfe91e86..984c3eaf9c579 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-correctly-update-external-project-when-set-of-root-files-has-changed.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-correctly-update-external-project-when-set-of-root-files-has-changed.js @@ -26,7 +26,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: project WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.ts Text-1 "let x = 1" @@ -73,6 +73,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'project' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -88,6 +93,17 @@ FsWatches:: /a/b/f1.ts: *new* {} +Projects:: +project (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts *new* + version: Text-1 + containingProjects: 1 + project + Before request Info seq [hh:mm:ss:mss] request: @@ -110,7 +126,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts Text-1 "let x = 1" @@ -123,6 +139,11 @@ Info seq [hh:mm:ss:mss] Files (2) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project 'project' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -139,3 +160,18 @@ FsWatches:: {} /a/b/f2.ts: *new* {} + +Projects:: +project (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/f1.ts + version: Text-1 + containingProjects: 1 + project +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + project diff --git a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js index 736cd2fce5f3f..11229fded2c41 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js @@ -57,6 +57,11 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating configuration project /A/B/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /A/B/tsconfig.json 2000 undefined Project: /A/B/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/A/B/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -68,6 +73,11 @@ FsWatches:: /A/B/tsconfig.json: *new* {} +Projects:: +/A/B/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -99,7 +109,7 @@ Info seq [hh:mm:ss:mss] Config: /A/B/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /A/B/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /A/B/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /A/B/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/A/B/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -190,7 +200,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-1-0 "let x = 1" @@ -224,3 +234,17 @@ PolledWatches:: FsWatches:: /A/B/tsconfig.json: {} + +Projects:: +/A/B/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js index 33cc955dc918f..3567401e4c843 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Config: /A/B/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /A/B/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /A/B/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /A/B/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/A/B/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -129,6 +129,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/A/B/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -140,6 +145,11 @@ FsWatches:: /A/B/tsconfig.json: *new* {} +Projects:: +/A/B/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -172,7 +182,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-1-0 "let x = 1" @@ -206,3 +216,17 @@ PolledWatches:: FsWatches:: /A/B/tsconfig.json: {} + +Projects:: +/A/B/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js index 0ec502e738fcd..fc523ae4f4bb8 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f1.ts 500 undefin Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: project WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts Text-1 "export * from \"m\"" @@ -87,6 +87,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'project' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -104,6 +109,21 @@ FsWatches:: /a/b/f2.ts: *new* {} +Projects:: +project (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts *new* + version: Text-1 + containingProjects: 1 + project +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + project + Before request Info seq [hh:mm:ss:mss] request: @@ -128,7 +148,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/m.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (3) /a/m.ts Text-1 "export let y = 1" @@ -144,6 +164,11 @@ Info seq [hh:mm:ss:mss] Files (3) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project 'project' (External) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -162,3 +187,22 @@ FsWatches:: {} /a/m.ts: *new* {} + +Projects:: +project (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/f1.ts + version: Text-1 + containingProjects: 1 + project +/a/b/f2.ts + version: Text-1 + containingProjects: 1 + project +/a/m.ts *new* + version: Text-1 + containingProjects: 1 + project diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js index ff9359c8a6646..b0bbb8c85f47d 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /src 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src 1 undefined Config: /src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /src/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /compiler/lib.es5.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /compiler/lib.es5.d.ts Text-1 "declare const eval: any" @@ -212,6 +212,21 @@ FsWatchesRecursive:: /src: *new* {} +Projects:: +/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/compiler/lib.es5.d.ts *new* + version: Text-1 + containingProjects: 1 + /src/tsconfig.json +/src/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /src/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /src/tsconfig.json 1:: WatchInfo: /src/tsconfig.json 2000 undefined Project: /src/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /src/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -238,6 +253,11 @@ Timeout callback:: count: 2 1: /src/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/src/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /src/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /src/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -268,7 +288,7 @@ Info seq [hh:mm:ss:mss] Config: /src/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /src/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /compiler/lib.es2015.promise.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /src/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /src/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /compiler/lib.es5.d.ts Text-1 "declare const eval: any" @@ -387,3 +407,22 @@ FsWatches:: FsWatchesRecursive:: /src: {} + +Projects:: +/src/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/compiler/lib.es2015.promise.d.ts *new* + version: Text-1 + containingProjects: 1 + /src/tsconfig.json +/compiler/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /src/tsconfig.json +/src/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /src/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js index cfba9cff67a52..e0db31cdb5a2f 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.ts Text-1 "let x = 1;" @@ -107,6 +107,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -124,6 +129,21 @@ FsWatches:: /a/b/lib.ts: *new* {} +Projects:: +/a/b/proj1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/proj1 +/a/b/lib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/proj1 + Before request Info seq [hh:mm:ss:mss] request: @@ -161,6 +181,17 @@ FsWatches *deleted*:: /a/b/app.ts: {} +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/proj1 *default* +/a/b/lib.ts + version: Text-1 + containingProjects: 1 + /a/b/proj1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/lib.ts 2:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /a/b/proj1 @@ -184,6 +215,21 @@ Timeout callback:: count: 2 1: /a/b/proj1 *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/proj1 (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/proj1 *default* +/a/b/lib.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/b/proj1 *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "openExternalProject", @@ -218,6 +264,13 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file Info seq [hh:mm:ss:mss] Creating configuration project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /a/b/app.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -233,6 +286,20 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/proj1 (External) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/proj1 *deleted* + Info seq [hh:mm:ss:mss] Loading configured project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] event: { @@ -256,7 +323,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1;" @@ -421,6 +488,11 @@ Timeout callback:: count: 2 1: /a/b/proj1 3: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] request: { "command": "openExternalProject", @@ -442,7 +514,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.ts Text-1 "let x = 1;" @@ -455,6 +527,13 @@ Info seq [hh:mm:ss:mss] Files (2) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /a/b/app.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /a/b/proj1 Info seq [hh:mm:ss:mss] response: { "response": true, @@ -469,3 +548,18 @@ PolledWatches:: FsWatches:: /a/b/lib.ts: *new* {} + +Projects:: +/a/b/proj1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/proj1 *default* *new* +/a/b/lib.ts *new* + version: Text-2 + containingProjects: 1 + /a/b/proj1 diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js index 408cd271cd507..4f44546846512 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.ts Text-1 "let x = 1;" @@ -107,6 +107,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -124,6 +129,21 @@ FsWatches:: /a/b/lib.ts: *new* {} +Projects:: +/a/b/proj1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/proj1 +/a/b/lib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/proj1 + Before request Info seq [hh:mm:ss:mss] request: @@ -161,6 +181,17 @@ FsWatches *deleted*:: /a/b/app.ts: {} +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/proj1 *default* +/a/b/lib.ts + version: Text-1 + containingProjects: 1 + /a/b/proj1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/lib.ts 2:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /a/b/proj1 @@ -184,6 +215,21 @@ Timeout callback:: count: 2 1: /a/b/proj1 *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/proj1 (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/proj1 *default* +/a/b/lib.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/b/proj1 *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "openExternalProject", @@ -240,7 +286,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1;" @@ -300,6 +346,13 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /a/b/app.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": true, @@ -323,6 +376,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/proj1 (External) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/tsconfig.json *default* *new* + /a/b/proj1 *deleted* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 2:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) @@ -363,6 +431,17 @@ Timeout callback:: count: 2 1: /a/b/proj1 3: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] request: { "command": "openExternalProject", @@ -384,7 +463,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.ts Text-1 "let x = 1;" @@ -397,6 +476,13 @@ Info seq [hh:mm:ss:mss] Files (2) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /a/b/app.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /a/b/proj1 Info seq [hh:mm:ss:mss] response: { "response": true, @@ -411,3 +497,18 @@ PolledWatches:: FsWatches:: /a/b/lib.ts: *new* {} + +Projects:: +/a/b/proj1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/proj1 *default* *new* +/a/b/lib.ts *new* + version: Text-2 + containingProjects: 1 + /a/b/proj1 diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js index e35f8ddab63ce..ba0bc517651ec 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1;" @@ -109,6 +109,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -124,6 +129,17 @@ FsWatches:: /a/b/app.ts: *new* {} +Projects:: +/a/b/proj1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/proj1 + Before request Info seq [hh:mm:ss:mss] request: @@ -162,6 +178,15 @@ Info seq [hh:mm:ss:mss] Creating configuration project /a/b/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/c/tsconfig.json 2000 undefined Project: /a/b/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Creating configuration project /a/b/d/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/d/tsconfig.json 2000 undefined Project: /a/b/d/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -181,6 +206,23 @@ FsWatches:: /a/b/d/tsconfig.json: *new* {} +Projects:: +/a/b/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/a/b/d/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/a/b/proj1 (External) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/proj1 *deleted* + Info seq [hh:mm:ss:mss] Loading configured project /a/b/c/tsconfig.json Info seq [hh:mm:ss:mss] event: { @@ -207,7 +249,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/c/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/c/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/c/lib.ts Text-1 "" @@ -350,7 +392,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/d/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/d/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/d/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/d/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/d/lib.ts Text-1 "" @@ -515,6 +557,27 @@ FsWatchesRecursive:: /a/b/d: *new* {} +Projects:: +/a/b/c/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/a/b/d/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/b/app.ts + version: Text-1 + containingProjects: 0 +/a/b/c/lib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/c/tsconfig.json +/a/b/d/lib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/d/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "command": "openExternalProject", @@ -549,6 +612,11 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/c/tsconfig.json 2 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/c/tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -588,6 +656,27 @@ FsWatchesRecursive *deleted*:: /a/b/c: {} +Projects:: +/a/b/c/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/b/d/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts + version: Text-1 + containingProjects: 0 +/a/b/c/lib.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/c/tsconfig.json *deleted* +/a/b/d/lib.ts + version: Text-1 + containingProjects: 1 + /a/b/d/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -623,7 +712,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/d/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1;" @@ -633,6 +722,11 @@ Info seq [hh:mm:ss:mss] Files (1) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -666,6 +760,27 @@ FsWatchesRecursive *deleted*:: /a/b/d: {} +Projects:: +/a/b/d/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/b/proj1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/proj1 *new* +/a/b/c/lib.ts + version: Text-1 + containingProjects: 0 +/a/b/d/lib.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/d/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -704,6 +819,15 @@ Info seq [hh:mm:ss:mss] Creating configuration project /a/b/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/c/tsconfig.json 2000 undefined Project: /a/b/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Creating configuration project /a/b/d/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/d/tsconfig.json 2000 undefined Project: /a/b/d/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -727,6 +851,29 @@ FsWatches:: /a/b/d/tsconfig.json: *new* {} +Projects:: +/a/b/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/a/b/d/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/a/b/proj1 (External) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/proj1 *deleted* +/a/b/c/lib.ts + version: Text-1 + containingProjects: 0 +/a/b/d/lib.ts + version: Text-1 + containingProjects: 0 + Info seq [hh:mm:ss:mss] Loading configured project /a/b/c/tsconfig.json Info seq [hh:mm:ss:mss] event: { @@ -752,7 +899,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/c/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/c/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/c/lib.ts Text-1 "" @@ -853,7 +1000,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/d/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/d/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/d/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/d/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/d/lib.ts Text-1 "" @@ -977,6 +1124,27 @@ FsWatchesRecursive:: /a/b/d: *new* {} +Projects:: +/a/b/c/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/a/b/d/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/b/app.ts + version: Text-1 + containingProjects: 0 +/a/b/c/lib.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/c/tsconfig.json *new* +/a/b/d/lib.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/d/tsconfig.json *new* + Info seq [hh:mm:ss:mss] request: { "command": "closeExternalProject", @@ -1018,6 +1186,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/d/tsconfig.json 2 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/d/tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -1052,3 +1221,24 @@ FsWatchesRecursive *deleted*:: {} /a/b/d: {} + +Projects:: +/a/b/c/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/b/d/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts + version: Text-1 + containingProjects: 0 +/a/b/c/lib.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/c/tsconfig.json *deleted* +/a/b/d/lib.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/d/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js index bdbeb54f28346..b51374cdd6a19 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1;" @@ -109,6 +109,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -124,6 +129,17 @@ FsWatches:: /a/b/app.ts: *new* {} +Projects:: +/a/b/proj1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/proj1 + Before request Info seq [hh:mm:ss:mss] request: @@ -185,7 +201,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/c/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/c/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/c/lib.ts Text-1 "" @@ -272,7 +288,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/d/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/d/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/d/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/d/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/d/lib.ts Text-1 "" @@ -332,6 +348,15 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -369,6 +394,31 @@ FsWatchesRecursive:: /a/b/d: *new* {} +Projects:: +/a/b/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/b/d/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/b/proj1 (External) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/proj1 *deleted* +/a/b/c/lib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/c/tsconfig.json +/a/b/d/lib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/d/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -405,6 +455,11 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/c/tsconfig.json 2 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/c/tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -444,6 +499,27 @@ FsWatchesRecursive *deleted*:: /a/b/c: {} +Projects:: +/a/b/c/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/b/d/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts + version: Text-1 + containingProjects: 0 +/a/b/c/lib.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/c/tsconfig.json *deleted* +/a/b/d/lib.ts + version: Text-1 + containingProjects: 1 + /a/b/d/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -479,7 +555,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/d/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1;" @@ -489,6 +565,11 @@ Info seq [hh:mm:ss:mss] Files (1) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -522,6 +603,27 @@ FsWatchesRecursive *deleted*:: /a/b/d: {} +Projects:: +/a/b/d/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/b/proj1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/proj1 *new* +/a/b/c/lib.ts + version: Text-1 + containingProjects: 0 +/a/b/d/lib.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/d/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -582,7 +684,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/c/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/c/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/c/node_modules/@types 1 undefined Project: /a/b/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/c/lib.ts Text-1 "" @@ -627,7 +729,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/d/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/d/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/d/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/d/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/d/lib.ts Text-1 "" @@ -646,6 +748,15 @@ Info seq [hh:mm:ss:mss] event: "projectName": "/a/b/d/tsconfig.json" } } +Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -683,6 +794,31 @@ FsWatchesRecursive:: /a/b/d: *new* {} +Projects:: +/a/b/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/b/d/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/b/proj1 (External) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/proj1 *deleted* +/a/b/c/lib.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/c/tsconfig.json *new* +/a/b/d/lib.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/d/tsconfig.json *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -726,6 +862,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/d/tsconfig.json 2 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/d/tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -760,3 +897,24 @@ FsWatchesRecursive *deleted*:: {} /a/b/d: {} + +Projects:: +/a/b/c/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/b/d/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts + version: Text-1 + containingProjects: 0 +/a/b/c/lib.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/c/tsconfig.json *deleted* +/a/b/d/lib.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/d/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js index c70dd744d078e..7dca2a9b941c9 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js @@ -77,6 +77,11 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating configuration project /user/someuser/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/project/tsconfig.json 2000 undefined Project: /user/someuser/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/user/someuser/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -88,6 +93,11 @@ FsWatches:: /user/someuser/project/tsconfig.json: *new* {} +Projects:: +/user/someuser/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -133,6 +143,11 @@ FsWatches *deleted*:: /user/someuser/project/tsconfig.json: {} +Projects:: +/user/someuser/project/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 0 + Info seq [hh:mm:ss:mss] request: { "command": "synchronizeProjectList", @@ -190,7 +205,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/project/node_modules/@types 1 undefined Project: /user/someuser/project/WebApplication6.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/project/node_modules/@types 1 undefined Project: /user/someuser/project/WebApplication6.csproj WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/project/WebApplication6.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/project/WebApplication6.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/project/WebApplication6.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -215,6 +230,21 @@ FsWatches:: /user/someuser/project/js/site.js: *new* {} +Projects:: +/user/someuser/project/WebApplication6.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/someuser/project/WebApplication6.csproj +/user/someuser/project/js/site.js *new* + version: Text-1 + containingProjects: 1 + /user/someuser/project/WebApplication6.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -365,6 +395,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/someuser/project/WebApplication6.csproj' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -389,3 +424,8 @@ FsWatches:: FsWatchesRecursive:: /user/someuser/project/js: *new* {} + +Projects:: +/user/someuser/project/WebApplication6.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js index 71ebf59d1c420..fe4687743fac7 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/project/node_modules/@types 1 undefined Project: /user/someuser/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/project/node_modules/@types 1 undefined Project: /user/someuser/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -153,6 +153,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/someuser/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -172,6 +177,11 @@ FsWatchesRecursive:: /user/someuser/project: *new* {} +Projects:: +/user/someuser/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -242,6 +252,11 @@ FsWatchesRecursive *deleted*:: /user/someuser/project: {} +Projects:: +/user/someuser/project/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "synchronizeProjectList", @@ -302,7 +317,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/project/node_modules/@types 1 undefined Project: /user/someuser/project/WebApplication6.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/project/node_modules/@types 1 undefined Project: /user/someuser/project/WebApplication6.csproj WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/project/WebApplication6.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/project/WebApplication6.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/project/WebApplication6.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -327,6 +342,21 @@ FsWatches:: /user/someuser/project/js/site.js: *new* {} +Projects:: +/user/someuser/project/WebApplication6.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/someuser/project/WebApplication6.csproj +/user/someuser/project/js/site.js *new* + version: Text-1 + containingProjects: 1 + /user/someuser/project/WebApplication6.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -477,6 +507,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/someuser/project/WebApplication6.csproj' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -501,3 +536,8 @@ FsWatches:: FsWatchesRecursive:: /user/someuser/project/js: *new* {} + +Projects:: +/user/someuser/project/WebApplication6.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/externalProjects/does-not-crash-if-external-file-does-not-exist.js b/tests/baselines/reference/tsserver/externalProjects/does-not-crash-if-external-file-does-not-exist.js index 6d84bb08ebae5..48e26dc9596c7 100644 --- a/tests/baselines/reference/tsserver/externalProjects/does-not-crash-if-external-file-does-not-exist.js +++ b/tests/baselines/reference/tsserver/externalProjects/does-not-crash-if-external-file-does-not-exist.js @@ -27,7 +27,7 @@ Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/proj1.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/proj1.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/proj1.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/proj1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/proj1.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts Text-1 "let x = [1, 2];" @@ -74,6 +74,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/proj1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -88,3 +93,14 @@ PolledWatches:: FsWatches:: /a/file1.ts: *new* {} + +Projects:: +/a/proj1.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/file1.ts *new* + version: Text-1 + containingProjects: 1 + /a/proj1.csproj diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js b/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js index 4b0dd38ff35fc..e579f7726d834 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js @@ -19,7 +19,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: ^ScriptDocument1 file1.ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: ^ScriptDocument1 file1.ts WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: ^ScriptDocument1 file1.ts Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: ^ScriptDocument1 file1.ts projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '^ScriptDocument1 file1.ts' (External) Info seq [hh:mm:ss:mss] Files (1) ^ScriptDocument1 file1.ts Text-1 "" @@ -66,6 +66,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '^ScriptDocument1 file1.ts' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -77,6 +82,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +^ScriptDocument1 file1.ts (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +^ScriptDocument1 file1.ts *new* + version: Text-1 + containingProjects: 1 + ^ScriptDocument1 file1.ts + /^scriptdocument1 file1.ts isDynamic:: true Before request @@ -95,7 +111,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: ^ScriptDocument1 file1.ts -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: ^ScriptDocument1 file1.ts Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: ^ScriptDocument1 file1.ts projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '^ScriptDocument1 file1.ts' (External) Info seq [hh:mm:ss:mss] Files (1) ^ScriptDocument1 file1.ts SVC-2-0 "let x =1;" @@ -114,3 +130,15 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +^ScriptDocument1 file1.ts (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +^ScriptDocument1 file1.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + ^ScriptDocument1 file1.ts *default* diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js b/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js index 5ea5b4711ca18..6536578c4d79a 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.ts Text-1 "let x =1;" @@ -154,7 +154,7 @@ Info seq [hh:mm:ss:mss] Config: /a/c/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/c/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/c/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/c/f2.ts Text-1 "let y =1;" @@ -214,6 +214,15 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/c/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -235,6 +244,24 @@ FsWatches:: /a/c/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/c/f2.ts *new* + version: Text-1 + containingProjects: 1 + /a/c/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -282,6 +309,17 @@ FsWatches *deleted*:: /a/b/f1.ts: {} +ScriptInfos:: +/a/b/f1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/c/f2.ts + version: Text-1 + containingProjects: 1 + /a/c/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -297,7 +335,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/d Info seq [hh:mm:ss:mss] For info: /a/d/f3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/d/f3.ts SVC-1-0 "let z =1;" @@ -330,6 +368,31 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/c/f2.ts + version: Text-1 + containingProjects: 1 + /a/c/tsconfig.json +/a/d/f3.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false Before request @@ -354,6 +417,19 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/c/tsconfig.json 2000 undefined Project: /a/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/c/tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /a/b/f1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /a/b/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /a/d/f3.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "response": true, @@ -375,6 +451,31 @@ FsWatches *deleted*:: /a/c/tsconfig.json: {} +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/c/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/c/f2.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/c/tsconfig.json *deleted* +/a/d/f3.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false Before request @@ -417,6 +518,28 @@ FsWatches:: /a/d/f3.ts: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/c/f2.ts + version: Text-1 + containingProjects: 0 +/a/d/f3.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false Before request @@ -459,6 +582,19 @@ FsWatches:: /a/d/f3.ts: {} +ScriptInfos:: +/a/b/f1.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/c/f2.ts + version: Text-1 + containingProjects: 0 +/a/d/f3.ts + version: SVC-1-0 + containingProjects: 0 + Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false Before request @@ -496,7 +632,7 @@ Info seq [hh:mm:ss:mss] Config: /a/c/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/c/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/c/f2.ts Text-1 "let y =1;" @@ -627,3 +763,28 @@ FsWatches *deleted*:: {} /a/d/f3.ts: {} + +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* +/a/c/f2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/c/tsconfig.json *default* *new* +/a/d/f3.ts *deleted* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js index ac26432dee23c..04fe40ce8dbc9 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -158,6 +158,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -175,6 +190,13 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /a/b/f1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": true, @@ -193,6 +215,13 @@ Info seq [hh:mm:ss:mss] request: "seq": 3, "type": "request" } +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /a/b/f1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": true, @@ -235,6 +264,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/f1.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -249,7 +289,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/f2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -305,3 +345,26 @@ FsWatches *deleted*:: FsWatchesRecursive *deleted*:: /a/b: {} + +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* +/a/f2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *new* + /a/b/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js index d87248f6d98cb..65482338ef65f 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.ts SVC-1-0 "let x = 1" @@ -187,6 +187,17 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -204,6 +215,13 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /a/b/f1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": true, @@ -248,6 +266,13 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/f1.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -273,6 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -295,3 +321,14 @@ FsWatches *deleted*:: FsWatchesRecursive *deleted*:: /a/b: {} + +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js index ae8abc0652d9a..d1a29fbf0fa07 100644 --- a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js +++ b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -119,6 +119,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -140,6 +145,11 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/javascript.js :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/javascript.js Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/javascript.js :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory @@ -172,6 +182,11 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -222,7 +237,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -255,6 +270,24 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/javascript.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -409,6 +442,14 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request //// [/user/username/projects/myproject/jsconfig.json] {} @@ -472,7 +513,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -638,6 +679,21 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/javascript.js ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/jsconfig.json Info seq [hh:mm:ss:mss] response: { "response": true, @@ -645,4 +701,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/jsconfig.json *new* +/user/username/projects/myproject/javascript.js (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/jsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* + Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js b/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js index c2700cc0f2520..b4da98a6fb8e5 100644 --- a/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js +++ b/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js @@ -55,6 +55,11 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating configuration project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -66,6 +71,11 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -103,7 +113,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1" @@ -251,6 +261,17 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -276,6 +297,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -299,6 +321,17 @@ FsWatchesRecursive *deleted*:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -343,7 +376,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1" @@ -362,6 +395,11 @@ Info seq [hh:mm:ss:mss] event: "projectName": "/a/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -382,3 +420,14 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/externalProjects/language-service-disabled-state-is-updated-in-external-projects.js b/tests/baselines/reference/tsserver/externalProjects/language-service-disabled-state-is-updated-in-external-projects.js index 64caed13bd35a..062a92b3d84fa 100644 --- a/tests/baselines/reference/tsserver/externalProjects/language-service-disabled-state-is-updated-in-external-projects.js +++ b/tests/baselines/reference/tsserver/externalProjects/language-service-disabled-state-is-updated-in-external-projects.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/app.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/largefile.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/proj.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/proj.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/proj.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (0) @@ -96,6 +96,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/proj.csproj' (External) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -109,6 +114,21 @@ FsWatches:: /a/largefile.js: *new* {} +Projects:: +/a/proj.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.js *new* + version: Text-1 + containingProjects: 1 + /a/proj.csproj +/a/largefile.js *new* + version: Text-1 + containingProjects: 1 + /a/proj.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -138,7 +158,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/proj.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/proj.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/proj.csproj Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/proj.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/app.js Text-1 "var x = 1" @@ -160,6 +180,21 @@ FsWatches:: /a/largefile.js: {} +Projects:: +/a/proj.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.js + version: Text-1 + containingProjects: 1 + /a/proj.csproj +/a/largefile.js *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/proj.csproj *deleted* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -261,6 +296,11 @@ Info seq [hh:mm:ss:mss] event: } } TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery +Info seq [hh:mm:ss:mss] Project '/a/proj.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -282,6 +322,11 @@ FsWatches:: /a/largefile.js: {} +Projects:: +/a/proj.csproj (External) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -315,13 +360,18 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/proj.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/proj.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/proj.csproj Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/proj.csproj projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (0) Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/proj.csproj' (External) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -344,3 +394,18 @@ FsWatches:: {} /a/largefile.js: {} + +Projects:: +/a/proj.csproj (External) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/app.js + version: Text-1 + containingProjects: 1 + /a/proj.csproj +/a/largefile.js *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/proj.csproj *new* diff --git a/tests/baselines/reference/tsserver/externalProjects/load-global-plugins.js b/tests/baselines/reference/tsserver/externalProjects/load-global-plugins.js index 2c61ab06e8158..f433e06cb6602 100644 --- a/tests/baselines/reference/tsserver/externalProjects/load-global-plugins.js +++ b/tests/baselines/reference/tsserver/externalProjects/load-global-plugins.js @@ -31,7 +31,7 @@ Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/proj1.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/proj1.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/proj1.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/proj1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/proj1.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts Text-1 "let x = [1, 2];" @@ -78,6 +78,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/proj1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -93,6 +98,17 @@ FsWatches:: /a/file1.ts: *new* {} +Projects:: +/a/proj1.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/file1.ts *new* + version: Text-1 + containingProjects: 1 + /a/proj1.csproj + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js b/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js index e201b9515d31d..62b3ecd423887 100644 --- a/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js +++ b/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app.ts.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app.ts.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app.ts.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app.ts.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/app.ts Text-1 "let x = 1" @@ -92,7 +92,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/app.ts.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/app.ts.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/app.ts.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/app.ts.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /b/app.ts Text-1 "let x = 1" @@ -139,6 +139,15 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app.ts.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/b/app.ts.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -156,6 +165,24 @@ FsWatches:: /b/app.ts: *new* {} +Projects:: +/a/app.ts.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/app.ts.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/app.ts.csproj +/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /b/app.ts.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -195,12 +222,12 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app.ts.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app.ts.csproj Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app.ts.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /c/app.ts.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /c/app.ts.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /c/app.ts.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /c/app.ts.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/c/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /c/app.ts Text-1 "let x = 1" @@ -258,6 +285,15 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/app.ts.csproj WatchType: Missing file +Info seq [hh:mm:ss:mss] Project '/a/app.ts.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/c/app.ts.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -277,6 +313,31 @@ FsWatches:: /c/app.ts: *new* {} +Projects:: +/a/app.ts.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/b/app.ts.csproj (External) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/c/app.ts.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.ts + version: Text-1 + containingProjects: 1 + /a/app.ts.csproj +/b/app.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /b/app.ts.csproj *deleted* +/c/app.ts *new* + version: Text-1 + containingProjects: 1 + /c/app.ts.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -310,6 +371,7 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /c/app.ts.csproj WatchType: Missing file +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -329,6 +391,27 @@ FsWatches:: /c/app.ts: {} +Projects:: +/a/app.ts.csproj (External) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/c/app.ts.csproj (External) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/app.ts.csproj *deleted* +/b/app.ts + version: Text-1 + containingProjects: 0 +/c/app.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /c/app.ts.csproj *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -360,7 +443,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/app.ts.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/app.ts.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/app.ts.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/app.ts.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/app.ts.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /b/app.ts Text-1 "let x = 1" @@ -370,6 +453,11 @@ Info seq [hh:mm:ss:mss] Files (1) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/b/app.ts.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -388,3 +476,20 @@ FsWatches:: {} /c/app.ts: {} + +Projects:: +/b/app.ts.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.ts + version: Text-1 + containingProjects: 0 +/b/app.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /b/app.ts.csproj *new* +/c/app.ts + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js b/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js index ace9273860f36..d79c00d759ed9 100644 --- a/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/notexistingfol Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/notexistingfolder 0 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/src/app.ts SVC-1-0 "let x = 1;" @@ -195,6 +195,17 @@ FsWatchesRecursive:: /a/src: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/src/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Configured project: /a/tsconfig.json hasOpenRef:: true isClosed: false Before request @@ -235,6 +246,13 @@ FsWatchesRecursive:: /a/src: {} +ScriptInfos:: +/a/src/app.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Configured project: /a/tsconfig.json hasOpenRef:: false isClosed: false Before request @@ -281,4 +299,11 @@ FsWatchesRecursive:: /a/src: {} +ScriptInfos:: +/a/src/app.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Configured project: /a/tsconfig.json hasOpenRef:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js b/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js index b3fb2277156d3..9db10a7e378c6 100644 --- a/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js +++ b/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js @@ -30,7 +30,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f1.ts 500 undefin Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: externalproject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: externalproject WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalproject Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalproject projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'externalproject' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts Text-1 "let x =1;" @@ -80,6 +80,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'externalproject' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -97,6 +102,21 @@ FsWatches:: /a/b/f2.ts: *new* {} +Projects:: +externalproject (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts *new* + version: Text-1 + containingProjects: 1 + externalproject +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + externalproject + Before request Info seq [hh:mm:ss:mss] request: @@ -134,6 +154,17 @@ FsWatches *deleted*:: /a/b/f1.ts: {} +ScriptInfos:: +/a/b/f1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + externalproject *default* +/a/b/f2.ts + version: Text-1 + containingProjects: 1 + externalproject + Before request Info seq [hh:mm:ss:mss] request: @@ -167,6 +198,17 @@ FsWatches:: /a/b/f2.ts: {} +ScriptInfos:: +/a/b/f1.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 1 + externalproject +/a/b/f2.ts + version: Text-1 + containingProjects: 1 + externalproject + Before request Info seq [hh:mm:ss:mss] request: @@ -192,6 +234,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: externalproject WatchType: Missing file +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -208,3 +251,18 @@ FsWatches:: {} /a/b/f2.ts: {} + +Projects:: +externalproject (External) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + externalproject *deleted* +/a/b/f2.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + externalproject *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js b/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js index 4aee0da3a07d4..82964d5c04ee3 100644 --- a/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js +++ b/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/myproject.njsproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/myproject.njsproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/myproject.njsproj WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/myproject.njsproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/myproject.njsproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/myproject.njsproj' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -104,6 +104,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/myproject.njsproj' (External) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -124,3 +129,22 @@ FsWatches:: {} /user/username/projects/myproject/file.ts: *new* {} + +Projects:: +/user/username/projects/myproject/myproject.njsproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/myproject.njsproj +/user/username/projects/myproject/^app.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/myproject.njsproj +/user/username/projects/myproject/file.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/myproject.njsproj diff --git a/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js b/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js index c8048e549d564..e7e4f34905fef 100644 --- a/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js +++ b/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js @@ -133,7 +133,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/core/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/core/src/loading-indicator.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2018.full.d.ts 500 undefined Project: /packages/babel-loader/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/babel-loader/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/babel-loader/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/babel-loader/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /packages/core/src/loading-indicator.ts Text-1 "\nexport interface Bar {\n prop: number;\n}\nconst bar: Bar = {\n prop: 1\n}\n" @@ -310,6 +310,25 @@ FsWatchesRecursive:: /packages/core/src: *new* {} +Projects:: +/packages/babel-loader/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/packages/babel-loader/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/babel-loader/tsconfig.json *default* +/packages/core/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/babel-loader/tsconfig.json +/packages/core/src/loading-indicator.ts *new* + version: Text-1 + containingProjects: 1 + /packages/babel-loader/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -342,7 +361,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/core/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2018.full.d.ts 500 undefined Project: /packages/core/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/core/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/core/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/core/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /packages/core/src/loading-indicator.ts Text-1 "\nexport interface Bar {\n prop: number;\n}\nconst bar: Bar = {\n prop: 1\n}\n" @@ -525,6 +544,31 @@ FsWatchesRecursive:: /packages/core/src: {} +Projects:: +/packages/babel-loader/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/core/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/packages/babel-loader/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /packages/babel-loader/tsconfig.json *default* +/packages/core/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /packages/babel-loader/tsconfig.json + /packages/core/tsconfig.json *default* *new* +/packages/core/src/loading-indicator.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /packages/babel-loader/tsconfig.json + /packages/core/tsconfig.json *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -560,6 +604,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/packages/babel-loader/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/packages/core/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/packages/babel-loader/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /packages/babel-loader/tsconfig.json *default* +/packages/core/src/index.ts (Open) + version: Text-1 + containingProjects: 2 + /packages/babel-loader/tsconfig.json + /packages/core/tsconfig.json *default* +/packages/core/src/loading-indicator.ts + version: Text-1 + containingProjects: 2 + /packages/babel-loader/tsconfig.json + /packages/core/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -575,7 +643,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /packages/core/src/index.ts position 92 in project /packages/core/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/babel-loader/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/babel-loader/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/babel-loader/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/babel-loader/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /packages/babel-loader/src/index.ts SVC-1-1 "\nimport type { Foo } from// comment \"../../core/src/index.js\";\n" @@ -684,3 +752,27 @@ FsWatchesRecursive:: {} /packages/core/src: {} + +Projects:: +/packages/babel-loader/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/packages/core/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/packages/babel-loader/src/index.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /packages/babel-loader/tsconfig.json *default* +/packages/core/src/index.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /packages/core/tsconfig.json *default* + /packages/babel-loader/tsconfig.json *deleted* +/packages/core/src/loading-indicator.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /packages/core/tsconfig.json + /packages/babel-loader/tsconfig.json *deleted* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index d676d31ef23fc..03175cdf8b576 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -182,6 +182,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/Logger.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/another.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -300,6 +319,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/Logger.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/another.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -327,7 +365,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -350,6 +388,11 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js index 600f43221e66e..38c64bcd4dbc1 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/username/dev/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/username/dev/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Users/username/dev/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -212,6 +212,25 @@ FsWatchesRecursive:: /Users/username/dev/project/types: *new* {} +Projects:: +/Users/username/dev/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/Users/username/dev/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /Users/username/dev/project/tsconfig.json *default* +/Users/username/dev/project/types/file2/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /Users/username/dev/project/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /Users/username/dev/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js index 233e39482409e..0857b04655769 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -182,6 +182,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/Logger.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/another.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -313,6 +332,26 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/Logger.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/another.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -330,7 +369,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/Logger.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -373,6 +412,26 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/Logger.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/another.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -423,6 +482,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/Logger.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/another.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -458,6 +532,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/Logger.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/another.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -486,7 +579,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -509,6 +602,11 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/formatSettings/works-when-extends-is-specified-with-a-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/formatSettings/works-when-extends-is-specified-with-a-case-insensitive-file-system.js index 510d415ed73a9..29c94696f6539 100644 --- a/tests/baselines/reference/tsserver/formatSettings/works-when-extends-is-specified-with-a-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/formatSettings/works-when-extends-is-specified-with-a-case-insensitive-file-system.js @@ -18,7 +18,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-1-0 "let x;" @@ -45,6 +45,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js index 25c5a662350fb..8708f0eead2df 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/packages/common/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/packages/common/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -108,6 +108,29 @@ watchedDirectoriesRecursive:: /project/packages/common/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/project/packages/common/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -155,7 +178,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/packages Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/packages/app/node_modules 1 undefined Project: /project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/packages/app/node_modules/@types 1 undefined Project: /project/packages/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/packages/app/node_modules/@types 1 undefined Project: /project/packages/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/packages/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -178,7 +201,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/packages/app/ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/packages/common/lib/index.tsx 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /project/packages/common/lib/index.tsx Text-1 "export function Tooltip {};" @@ -256,6 +279,47 @@ watchedDirectoriesRecursive:: /project/packages/common/node_modules/@types: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/project/packages/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /project/packages/app/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /project/packages/app/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /project/packages/app/tsconfig.json *new* +/project/packages/app/lib/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/packages/app/tsconfig.json *default* +/project/packages/common/lib/index.tsx *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/project/packages/common/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js index 20541db885d3b..1f8980bbec88f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /common/tsconfig.j Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /common/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /common/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/common/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -173,6 +173,39 @@ watchedDirectoriesRecursive:: /common/src: *new* {} +Projects:: +/common/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/common/src/MyModule.ts *new* + version: Text-1 + containingProjects: 1 + /common/tsconfig.json +/common/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /common/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /common/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /common/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -221,7 +254,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /web/src/MyApp.ts 500 Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /web/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /common/dist/src 1 undefined Project: /web/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /common/dist/src 1 undefined Project: /web/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /web/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /web/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/web/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -308,6 +341,54 @@ watchedDirectoriesRecursive:: /web/src: *new* {} +Projects:: +/common/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/web/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/common/src/MyModule.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /common/tsconfig.json + /web/tsconfig.json *new* +/common/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /common/tsconfig.json + /dev/null/inferredProject1* + /web/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /common/tsconfig.json + /dev/null/inferredProject1* + /web/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /common/tsconfig.json + /dev/null/inferredProject1* + /web/tsconfig.json *new* +/web/src/Helper.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /web/tsconfig.json *default* +/web/src/MyApp.ts *new* + version: Text-1 + containingProjects: 1 + /web/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js index a94adfbe45b9e..49dff504da407 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -96,6 +96,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tsconfig.base.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -173,7 +196,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/index.ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/sub 1 undefined Project: /packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/sub 1 undefined Project: /packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/sub/folder/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /lib.d.ts Text-1 lib.d.ts-Text @@ -278,6 +301,51 @@ watchedDirectoriesRecursive:: /packages/dep/sub: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /packages/app/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /packages/app/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /packages/app/tsconfig.json *new* +/packages/app/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/utils.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/sub/folder/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/tsconfig.base.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -430,6 +498,52 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/app/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/app/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/app/tsconfig.json +/packages/app/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/index.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/sub/folder/index.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/tsconfig.base.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -443,4 +557,41 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/app/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/app/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/app/tsconfig.json +/packages/app/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/index.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/sub/folder/index.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/tsconfig.base.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js index 719ea33f1d79c..94a16a7571896 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.d.ts Text-1 lib.d.ts-Text @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -270,7 +270,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -339,6 +339,63 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/utils.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts *new* + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts *new* + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -404,6 +461,53 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -556,6 +660,64 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -570,6 +732,53 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -583,7 +792,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /packages/app/src/util Info seq [hh:mm:ss:mss] Search path: /packages/app/src Info seq [hh:mm:ss:mss] For info: /packages/app/src/utils.ts :: Config file name: /packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/app/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.d.ts Text-1 lib.d.ts-Text @@ -649,6 +858,53 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -801,6 +1057,64 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 16, @@ -814,4 +1128,50 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js index 57b600479fe8a..114bb531edcc7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.d.ts Text-1 lib.d.ts-Text @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -270,7 +270,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -339,6 +339,63 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/utils.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts *new* + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts *new* + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -404,6 +461,53 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -556,6 +660,64 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -570,6 +732,53 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -583,7 +792,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /packages/app/src/util Info seq [hh:mm:ss:mss] Search path: /packages/app/src Info seq [hh:mm:ss:mss] For info: /packages/app/src/utils.ts :: Config file name: /packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/app/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.d.ts Text-1 lib.d.ts-Text @@ -649,6 +858,53 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -801,6 +1057,64 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 16, @@ -814,4 +1128,50 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js index 4794c7e2aaa42..b6d4d3490ec75 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /common/tsconfig.j Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /common/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /common/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/common/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -175,6 +175,39 @@ watchedDirectoriesRecursive:: /common/src: *new* {} +Projects:: +/common/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/common/src/MyModule.ts *new* + version: Text-1 + containingProjects: 1 + /common/tsconfig.json +/common/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /common/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /common/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /common/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -228,7 +261,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /web/src/MyApp.ts 500 Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /web/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /common/dist/src 1 undefined Project: /web/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /common/dist/src 1 undefined Project: /web/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /web/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /web/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/web/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -315,6 +348,54 @@ watchedDirectoriesRecursive:: /web/src: *new* {} +Projects:: +/common/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/web/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/common/src/MyModule.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /common/tsconfig.json + /web/tsconfig.json *new* +/common/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /common/tsconfig.json + /dev/null/inferredProject1* + /web/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /common/tsconfig.json + /dev/null/inferredProject1* + /web/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /common/tsconfig.json + /dev/null/inferredProject1* + /web/tsconfig.json *new* +/web/src/Helper.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /web/tsconfig.json *default* +/web/src/MyApp.ts *new* + version: Text-1 + containingProjects: 1 + /web/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js index df9cbd5719383..d1bb93c8ac6fe 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.d.ts Text-1 lib.d.ts-Text @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -270,7 +270,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -339,6 +339,63 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/utils.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts *new* + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts *new* + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -404,6 +461,53 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -556,6 +660,64 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -570,6 +732,53 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -583,7 +792,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /packages/app/src/util Info seq [hh:mm:ss:mss] Search path: /packages/app/src Info seq [hh:mm:ss:mss] For info: /packages/app/src/utils.ts :: Config file name: /packages/app/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/app/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.d.ts Text-1 lib.d.ts-Text @@ -649,6 +858,53 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -801,6 +1057,64 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 16, @@ -814,4 +1128,50 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/a.ts + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/app/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/app/src/utils.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/main.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js index 4eb94500c8ecf..aa8e717654e54 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -158,7 +158,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -242,7 +242,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -306,6 +306,53 @@ watchedDirectoriesRecursive:: /packages/dep/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -366,6 +413,43 @@ watchedDirectoriesRecursive:: /packages/dep/src: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -476,7 +560,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /packages/dep/src/sub/folder/index.ts Text-1 "export const dep = 0;" @@ -558,6 +642,59 @@ watchedDirectoriesRecursive:: {} {} *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* *new* +/packages/dep/src/sub/folder/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* *new* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -572,6 +709,60 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -585,4 +776,42 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js index 54f8477f75dea..456b3edd100f5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -158,7 +158,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -242,7 +242,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -306,6 +306,53 @@ watchedDirectoriesRecursive:: /packages/dep/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -366,6 +413,43 @@ watchedDirectoriesRecursive:: /packages/dep/src: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -476,7 +560,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /packages/dep/src/sub/folder/index.ts Text-1 "export const dep = 0;" @@ -558,6 +642,59 @@ watchedDirectoriesRecursive:: {} {} *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* *new* +/packages/dep/src/sub/folder/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* *new* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -572,6 +709,60 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -585,4 +776,42 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js index 110d8846dc33f..370411fe7838d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -297,6 +297,53 @@ watchedDirectoriesRecursive:: /packages/dep/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/dep/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json +/packages/dep/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -357,6 +404,43 @@ watchedDirectoriesRecursive:: /packages/dep/src: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 1 + /packages/dep/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -467,7 +551,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /packages/dep/src/sub/folder/index.ts Text-1 "export const dep = 0;" @@ -549,6 +633,59 @@ watchedDirectoriesRecursive:: {} {} *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) + version: Text-1 + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* *new* +/packages/dep/src/sub/folder/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* *new* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -563,6 +700,60 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -576,4 +767,42 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /packages/app/tsconfig.json + /packages/dep/tsconfig.json + /dev/null/inferredProject1* +/packages/app/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/app/src/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /packages/app/tsconfig.json *default* +/packages/dep/src/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/dep/src/sub/folder/index.ts + version: Text-1 + containingProjects: 2 + /packages/dep/tsconfig.json + /dev/null/autoImportProviderProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js index bfdb3c4e26d1b..286b577c5638e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -81,6 +81,29 @@ watchedDirectoriesRecursive:: /project/node_modules/aws-sdk/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/project/node_modules/aws-sdk/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -93,7 +116,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /project Info seq [hh:mm:ss:mss] For info: /project/index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -118,7 +141,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /project/node_modules/aws-sdk/clients/s3.d.ts Text-1 "export declare class S3 {}" @@ -169,6 +192,51 @@ watchedDirectoriesRecursive:: /project/node_modules/aws-sdk/node_modules/@types: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/project/node_modules/aws-sdk/clients/s3.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/project/node_modules/aws-sdk/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/project/node_modules/aws-sdk/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js index 52df1e85691e3..22ed09f2ec8ad 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -81,6 +81,29 @@ watchedDirectoriesRecursive:: /project/node_modules/aws-sdk/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/project/node_modules/aws-sdk/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -93,7 +116,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /project Info seq [hh:mm:ss:mss] For info: /project/index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -118,7 +141,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /project/node_modules/aws-sdk/clients/s3.d.ts Text-1 "export declare class S3 {}" @@ -169,6 +192,51 @@ watchedDirectoriesRecursive:: /project/node_modules/aws-sdk/node_modules/@types: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/project/node_modules/aws-sdk/clients/s3.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/project/node_modules/aws-sdk/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/project/node_modules/aws-sdk/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js index 728191550508f..27e889ca70c18 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: //tsclient/project/node_modules/aws-sdk/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: //tsclient/project/node_modules/aws-sdk/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -81,6 +81,29 @@ watchedDirectoriesRecursive:: //tsclient/project/node_modules/aws-sdk/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +//tsclient/project/node_modules/aws-sdk/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -93,7 +116,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: //tsclient/project Info seq [hh:mm:ss:mss] For info: //tsclient/project/index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -118,7 +141,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/nod Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) //tsclient/project/node_modules/aws-sdk/clients/s3.d.ts Text-1 "export declare class S3 {}" @@ -169,6 +192,51 @@ watchedDirectoriesRecursive:: //tsclient/project/node_modules/aws-sdk/node_modules/@types: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +//tsclient/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +//tsclient/project/node_modules/aws-sdk/clients/s3.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +//tsclient/project/node_modules/aws-sdk/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +//tsclient/project/node_modules/aws-sdk/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js index 634279187aa2c..0626c30c94789 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_mod Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/.store/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/.store/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -103,6 +103,29 @@ watchedDirectoriesRecursive:: /project/node_modules/.store/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -115,7 +138,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /project Info seq [hh:mm:ss:mss] For info: /project/index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -138,7 +161,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/package.json Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/index.d.ts Text-1 "export declare function ServerRuntimeMetaFunction(): void;" @@ -194,6 +217,47 @@ watchedDirectoriesRecursive:: /project/node_modules/.store/node_modules/@types: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js index 9ee016237893d..bc3d5cbca2916 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_m Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -137,6 +137,29 @@ c:/project/node_modules/@types: *new* c:/project/node_modules/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -153,7 +176,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_m Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -177,7 +200,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/@remix-run/server-runtime/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/index.d.ts Text-1 "export {};" @@ -256,6 +279,51 @@ c:/project/node_modules/@types: c:/project/node_modules/node_modules/@types: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +c:/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +c:/project/node_modules/@remix-run/server-runtime/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js index 7e181732f10c1..08b3f6ca2a3b4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_m Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -109,6 +109,29 @@ c:/project/node_modules/aws-sdk/node_modules/@types: *new* c:/project/node_modules/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +c:/project/node_modules/aws-sdk/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -125,7 +148,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_m Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -152,7 +175,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_m Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) c:/project/node_modules/aws-sdk/clients/s3.d.ts Text-1 "export declare class S3 {}" @@ -222,6 +245,51 @@ c:/project/node_modules/aws-sdk/node_modules/@types: c:/project/node_modules/node_modules/@types: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +c:/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +c:/project/node_modules/aws-sdk/clients/s3.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +c:/project/node_modules/aws-sdk/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +c:/project/node_modules/aws-sdk/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js index 357a7ea8ecd88..6f8cb613b0d05 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -121,6 +121,29 @@ watchedFiles:: /package.json: *new* {"pollingInterval":250} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -182,7 +205,7 @@ Info seq [hh:mm:ss:mss] Config: /packages/utils/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/utils/tsconfig.json 2000 undefined Project: /packages/web/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/utils/src 1 undefined Config: /packages/utils/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/utils/src 1 undefined Config: /packages/utils/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/web/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/web/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/web/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -205,7 +228,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/web/package. Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/utils/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /packages/utils/src/index.ts Text-1 "export function gainUtility() { return 0; }" @@ -279,6 +302,47 @@ watchedDirectoriesRecursive:: /packages/web/src: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/web/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /packages/web/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /packages/web/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /packages/web/tsconfig.json *new* +/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/utils/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/packages/web/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/web/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js index 382bea72c3c3b..390fd6945e2f7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -81,6 +81,29 @@ watchedDirectoriesRecursive:: /node_modules/@angular/forms/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@angular/forms/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -118,7 +141,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -143,7 +166,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/forms.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@angular/forms/forms.d.ts Text-1 "export class PatternValidator {}" @@ -211,6 +234,47 @@ watchedDirectoriesRecursive:: /node_modules/@angular/forms/node_modules/@types: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/node_modules/@angular/forms/forms.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@angular/forms/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -430,6 +494,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /tsconfig.json +/node_modules/@angular/forms/forms.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@angular/forms/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -443,4 +549,33 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /tsconfig.json +/node_modules/@angular/forms/forms.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@angular/forms/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js index 50173b3fc7df2..129503b168742 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -82,6 +82,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/direct-dependency/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -119,7 +142,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -145,7 +168,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/direct-dependency/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/indirect-dependency/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/indirect-dependency/index.d.ts Text-1 "export declare class IndirectDependency" @@ -216,6 +239,51 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/node_modules/direct-dependency/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/direct-dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/node_modules/indirect-dependency/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js index 4eda5b5265d01..7f614a24ff54d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -87,6 +87,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/common-dependency/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -124,7 +147,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/a 1 und Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/a 1 undefined Config: /packages/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.esnext.full.d.ts 500 undefined Project: /packages/a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /packages/a/index.ts SVC-1-0 "" @@ -140,7 +163,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/package-dependency/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/common-dependency/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/package-dependency/index.d.ts Text-1 "export declare class PackageDependency" @@ -291,6 +314,51 @@ watchedDirectoriesRecursive:: /packages/a: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/common-dependency/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/common-dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/node_modules/package-dependency/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/packages/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/a/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js index d01ba11e79a6d..bf51f992de138 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/tsconfig.json 2000 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.esnext.full.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/index.ts Text-1 "new Shape" @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -236,7 +236,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -258,7 +258,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /b/index.ts Text-1 "export class Shape {}" @@ -314,6 +314,51 @@ watchedDirectoriesRecursive:: /b: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/index.ts *new* + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/autoImportProviderProject1* +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -376,6 +421,37 @@ watchedDirectoriesRecursive:: /b: {} +ScriptInfos:: +/a/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/index.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/autoImportProviderProject1* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -484,7 +560,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /b/index.ts Text-1 "export class Shape {}" @@ -560,6 +636,56 @@ watchedDirectoriesRecursive:: /b: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* +/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a/index.ts (Open) + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/index.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /b/tsconfig.json + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -574,6 +700,57 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* +/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/a/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /a/tsconfig.json *default* +/a/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/index.ts + version: Text-1 + containingProjects: 3 + /b/tsconfig.json + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -587,4 +764,35 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/a/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /a/tsconfig.json *default* +/a/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/index.ts + version: Text-1 + containingProjects: 3 + /b/tsconfig.json + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /b/tsconfig.json + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js index c0645cdd2aac5..d2464a9c3f388 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react-hook-form/dist/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react-hook-form/dist/useForm.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/react-hook-form/dist/useForm.d.ts Text-1 "export declare function useForm(): void;" @@ -103,6 +103,41 @@ watchedFiles:: /package.json: *new* {"pollingInterval":250} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/react-hook-form/dist/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/react-hook-form/dist/useForm.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -115,7 +150,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -136,7 +171,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/react-hook-form/dist/useForm.d.ts Text-1 "export declare function useForm(): void;" @@ -170,6 +205,58 @@ Info seq [hh:mm:ss:mss] FileName: /package.json ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /index.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/react-hook-form/dist/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* +/node_modules/react-hook-form/dist/useForm.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* +/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -366,6 +453,58 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/react-hook-form/dist/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/node_modules/react-hook-form/dist/useForm.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -380,6 +519,42 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/react-hook-form/dist/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/node_modules/react-hook-form/dist/useForm.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -394,6 +569,42 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/react-hook-form/dist/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/node_modules/react-hook-form/dist/useForm.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -407,4 +618,39 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-4 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/react-hook-form/dist/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/node_modules/react-hook-form/dist/useForm.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index 77e2da2c38686..ebee772798155 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -236,7 +236,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.es2019.symbol.d.t Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.es5.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (38) /lib.es5.d.ts Text-1 lib.d.ts-Text @@ -423,7 +423,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -544,6 +544,176 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.es2015.collection.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.core.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.generator.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.iterable.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.promise.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.proxy.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.reflect.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.symbol.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.symbol.wellknown.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2016.array.include.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2016.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2016.intl.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.date.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.intl.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.object.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.sharedmemory.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.string.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.typedarrays.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.asyncgenerator.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.asynciterable.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.intl.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.promise.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.regexp.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.array.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.intl.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.object.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.string.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.symbol.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es5.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/@types/react/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -658,6 +828,169 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.es2015.collection.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.core.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.generator.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.iterable.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.promise.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.proxy.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.reflect.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.symbol.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2015.symbol.wellknown.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2016.array.include.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2016.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2016.intl.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.date.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.intl.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.object.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.sharedmemory.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.string.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2017.typedarrays.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.asyncgenerator.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.asynciterable.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.intl.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.promise.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2018.regexp.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.array.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.intl.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.object.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.string.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es2019.symbol.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js index bf659d12c6848..33aced7fa4e5b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/index.ts 500 unde Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -171,7 +171,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (4) /packages/mylib/mySubDir/myClass.ts Text-1 "export class MyClass {}" @@ -235,6 +235,63 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/index.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass2.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -296,6 +353,52 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -1270,4 +1373,61 @@ Info seq [hh:mm:ss:mss] request: "insertString": "import { MyClass } from \"mylib\";\n" }, "command": "change" - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/src/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js index ed4a29586b061..402408593dba9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/index.ts 500 unde Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -171,7 +171,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (4) /packages/mylib/mySubDir/myClass.ts Text-1 "export class MyClass {}" @@ -235,6 +235,63 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/index.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass2.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -296,6 +353,52 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -1270,4 +1373,61 @@ Info seq [hh:mm:ss:mss] request: "insertString": "import { MyClass } from \"mylib\";\n" }, "command": "change" - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/autoImportProviderProject1* +/src/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js index da0959a3e1af1..8cc662fc5224a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -184,6 +184,39 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -230,6 +263,32 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/foo.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -270,7 +329,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependen Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -1041,3 +1100,48 @@ watchedDirectoriesRecursive:: {} /node_modules: *new* {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/foo.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js index c1cc6b41030a4..8d06ba6260e8d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -92,7 +92,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -157,7 +157,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -203,6 +203,47 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -255,6 +296,36 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/foo.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -292,7 +363,7 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -1032,3 +1103,49 @@ watchedDirectoriesRecursive:: {} /node_modules: *new* {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* +/src/foo.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js index 495d159dbe158..94436722540ea 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -150,7 +150,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -196,6 +196,47 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -248,6 +289,36 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/foo.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -287,7 +358,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -1036,3 +1107,53 @@ watchedDirectoriesRecursive:: {} /node_modules: *new* {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* +/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject2* +/src/foo.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js index 0144a7524bb2b..6266b61d50fce 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -180,6 +180,39 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -226,6 +259,32 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/foo.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -265,7 +324,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -1008,3 +1067,44 @@ watchedDirectoriesRecursive:: {} /node_modules: *new* {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/foo.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js index 3ee8301f7bf5b..30961a0741a26 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -107,7 +107,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/dependency/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/dependency/lib/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -155,7 +155,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -212,6 +212,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -265,6 +302,36 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -305,7 +372,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/d Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@types/dependency/lib/lol.d.ts Text-1 "export declare function fooFromLol(): void;" @@ -1075,3 +1142,48 @@ watchedDirectoriesRecursive:: {} /node_modules: *new* {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/@types/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/foo.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js index a80633575ae10..8173b46245575 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -116,7 +116,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/dependency/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -164,7 +164,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -221,6 +221,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -274,6 +311,36 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -313,7 +380,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/dependency/lib/lol.d.ts Text-1 "export declare function fooFromLol(): void" @@ -1082,3 +1149,48 @@ watchedDirectoriesRecursive:: {} /node_modules: *new* {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/foo.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js index 703baaf30d4f6..e13ca12061e7c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/foo.ts 500 undefi Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -205,6 +205,47 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -257,6 +298,40 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/bar.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -296,7 +371,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/dependency/lib/lol.d.ts Text-1 "export function fooFromLol(): void;" @@ -1064,3 +1139,52 @@ watchedDirectoriesRecursive:: {} /node_modules: *new* {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/bar.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js index ce53878bb5ed9..c6369a647a67f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js @@ -99,7 +99,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/bar.ts 500 undefi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/foo.cts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/foo.mts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -148,7 +148,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -202,6 +202,47 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.cts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.mts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -252,6 +293,40 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/bar.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.cts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/foo.mts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -292,7 +367,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependen Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -1046,6 +1121,59 @@ watchedDirectoriesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/bar.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.cts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/foo.mts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -1108,6 +1236,48 @@ watchedDirectoriesRecursive:: /node_modules: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/bar.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.cts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/foo.mts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js index e80f2ff86cddb..55a1705350fc2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -138,7 +138,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -190,6 +190,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -238,6 +275,36 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/bar.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -277,7 +344,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -1022,3 +1089,48 @@ watchedDirectoriesRecursive:: {} /node_modules: *new* {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/bar.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/foo.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js index 3bd8b3c838a8e..873b8444f58fe 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Library/Caches/t Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -135,6 +135,33 @@ watchedDirectoriesRecursive:: /Library/Caches/typescript/node_modules/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/Library/Caches/typescript/node_modules/@types/react-router-dom/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/Library/Caches/typescript/node_modules/@types/react-router-dom/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -173,7 +200,7 @@ Info seq [hh:mm:ss:mss] Config: /project/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project 1 undefined Config: /project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project 1 undefined Config: /project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -195,7 +222,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /Library/Caches/typescript/node_modules/@types/react-router-dom/index.d.ts Text-1 "export class BrowserRouterFromDts {}" @@ -291,6 +318,48 @@ watchedDirectoriesRecursive:: /project: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/Library/Caches/typescript/node_modules/@types/react-router-dom/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/autoImportProviderProject1* *new* +/Library/Caches/typescript/node_modules/@types/react-router-dom/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /project/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /project/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /project/tsconfig.json *new* +/project/index.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js index 28bbf58340b78..58e7b719173a0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/a.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/env/browser.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/env/node.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -138,7 +138,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -192,6 +192,47 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/a.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/env/browser.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/env/node.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js index 0faa37e2e0945..ac19a77b46710 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/internal/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -178,6 +178,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/a.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/internal/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js index b2621096bd175..b0fdafba8736c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/internal/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -178,6 +178,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/a.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/internal/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js index e25af521ae67b..96cb18da9f9fe 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/env/browser.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -181,6 +181,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/a.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/env/browser.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js index 9440f3f24757c..f8c6802fe5d67 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/env/browser.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -146,7 +146,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -198,6 +198,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/src/a.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/env/browser.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js index 083d72296c898..a51c0a2445f5e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -79,6 +79,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/fp-ts/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -117,7 +140,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -143,7 +166,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/fp-ts/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/fp-ts/lib/string.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/fp-ts/lib/string.d.ts Text-1 "export declare const fromString: (s: string) => string;\nexport type SafeString = string;" @@ -214,6 +237,51 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/node_modules/fp-ts/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/fp-ts/lib/string.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/fp-ts/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js index d9fe9fefef495..f2b64d9f43160 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -110,7 +110,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -133,7 +133,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts Text-1 "export declare function autorun(): void;" @@ -179,6 +179,47 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -231,6 +272,36 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -339,7 +410,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts Text-1 "export declare function autorun(): void;" @@ -409,6 +480,52 @@ watchedDirectoriesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* + +ScriptInfos:: +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -423,6 +540,53 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -436,4 +600,34 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js index 51a267a358064..cfc422811b7a4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -175,6 +175,39 @@ watchedDirectoriesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -215,7 +248,7 @@ Info seq [hh:mm:ss:mss] Config: /c/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /c 1 undefined Config: /c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /c 1 undefined Config: /c/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -237,7 +270,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c/package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /a/index.ts Text-1 "class A {}" @@ -342,6 +375,54 @@ watchedDirectoriesRecursive:: /c: *new* {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/tsconfig.json + /dev/null/autoImportProviderProject1* *new* +/a/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /c/tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /c/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /c/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /c/tsconfig.json *new* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -384,7 +465,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -499,6 +580,68 @@ watchedDirectoriesRecursive:: /c: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /b/tsconfig.json +/a/index.ts + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/autoImportProviderProject1* +/a/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* +/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /c/tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /c/tsconfig.json + /b/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /c/tsconfig.json + /b/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /c/tsconfig.json + /b/tsconfig.json *new* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -600,3 +743,50 @@ watchedDirectoriesRecursive:: {} /c: {} + +ScriptInfos:: +/a/index.d.ts + version: Text-1 + containingProjects: 1 + /b/tsconfig.json +/a/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/a/index.ts + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/autoImportProviderProject1* +/a/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* +/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /c/tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 4 + /a/tsconfig.json + /dev/null/inferredProject1* + /c/tsconfig.json + /b/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 4 + /a/tsconfig.json + /dev/null/inferredProject1* + /c/tsconfig.json + /b/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 4 + /a/tsconfig.json + /dev/null/inferredProject1* + /c/tsconfig.json + /b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js index 9fedb1abdc436..2e2f4f3362a68 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -110,6 +110,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/pkg/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -148,7 +171,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -182,7 +205,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImpo Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/pkg/a/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/pkg/b/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/pkg/c/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (6) /node_modules/pkg/a/a1.d.ts Text-1 "export const a1: number;" @@ -282,6 +305,67 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/pkg/a/a1.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/pkg/b/b1.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/pkg/b/b2.d.mts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/pkg/c/c1.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/pkg/c/subfolder/c2.d.mts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/pkg/d/d1.d.mts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/pkg/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js index 2db32a7bd9a70..cfc23aca807b9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -93,6 +93,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/pkg/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -131,7 +154,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -159,7 +182,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/pkg/lib/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/pkg/lib/core/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/pkg/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/pkg/lib/core/test.d.ts Text-1 "export function test(): void;" @@ -230,6 +253,47 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/node_modules/pkg/lib/core/test.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/pkg/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js index 5d8219f48ec76..92051d5422c0e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/packages/ui/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/packages/ui/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -109,6 +109,29 @@ watchedDirectoriesRecursive:: /project/packages/ui/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/project/packages/ui/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -151,7 +174,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/apps/web Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/apps/web/node_modules 1 undefined Project: /project/apps/web/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/apps/web/node_modules/@types 1 undefined Project: /project/apps/web/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/apps/web/node_modules/@types 1 undefined Project: /project/apps/web/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/apps/web/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/apps/web/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/apps/web/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -174,7 +197,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/apps/web/pack Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/packages/ui/src/Card.tsx 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /project/packages/ui/src/Card.tsx Text-1 "export const Card = () => null;" @@ -250,6 +273,47 @@ watchedDirectoriesRecursive:: /project/packages/ui/node_modules/@types: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/project/apps/web/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /project/apps/web/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /project/apps/web/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /project/apps/web/tsconfig.json *new* +/project/apps/web/app/index.tsx (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/apps/web/tsconfig.json *default* +/project/packages/ui/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/project/packages/ui/src/Card.tsx *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index 01c9a473045b1..78a8c0302b2a9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/fs-extra/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -120,7 +120,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -177,6 +177,49 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/fs-extra/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -225,6 +268,42 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/fs-extra/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -1137,4 +1216,47 @@ Info seq [hh:mm:ss:mss] request: "insertString": "import { accessSync } from \"fs-extra\";\r\n\r\n" }, "command": "change" - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/fs-extra/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js index a129eed221282..9a68ac19c6152 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/app/dis Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/app/dist 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/utils/dist/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/app/dist/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -192,6 +192,47 @@ watchedDirectoriesRecursive:: /packages/app/dist: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/app/dist/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/utils/dist/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/script.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -246,6 +287,40 @@ watchedDirectoriesRecursive:: /packages/app/dist: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/app/dist/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/utils/dist/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/script.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js index e5a6e15b825f5..6e47c5a66f40d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -81,6 +81,29 @@ watchedFiles:: /packages/a/package.json: *new* {"pollingInterval":250} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/packages/a/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -105,6 +128,12 @@ Info seq [hh:mm:ss:mss] response: "success": true, "body": true } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -117,7 +146,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /packages/a Info seq [hh:mm:ss:mss] For info: /packages/a/index.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -139,7 +168,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/b/index.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /packages/b/index.js Text-1 "export const packageB = \"package-b\";" @@ -179,6 +208,47 @@ watchedFiles:: /packages/b/index.js: *new* {"pollingInterval":500} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/packages/a/index.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/packages/a/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/packages/b/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 3, diff --git a/tests/baselines/reference/tsserver/fourslashServer/brace01.js b/tests/baselines/reference/tsserver/fourslashServer/brace01.js index 2e951c101a836..51e3e322f5a8a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/brace01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/brace01.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -122,6 +122,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/brace01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js b/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js index 13baaada2a87b..fc98dee2689f1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -121,6 +121,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/callHierarchyContainerNameServer.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js index 00a194e028488..9291dcc2a75a7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -97,6 +97,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -831,7 +854,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -928,6 +951,40 @@ watchedDirectoriesRecursive *deleted*:: /tests/cases/fourslash/server/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/tests/cases/fourslash/server/a.js (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* +/tests/cases/fourslash/server/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js index 38806f9f947b0..1d6568a3b83b6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -97,6 +97,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -837,7 +860,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -934,6 +957,40 @@ watchedDirectoriesRecursive *deleted*:: /tests/cases/fourslash/server/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/tests/cases/fourslash/server/a.js (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* +/tests/cases/fourslash/server/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions01.js b/tests/baselines/reference/tsserver/fourslashServer/completions01.js index 5cea208af3fa0..5c6778203b946 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions01.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -89,6 +89,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -103,6 +126,30 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions01.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -117,6 +164,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions01.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -167,7 +233,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -341,6 +407,30 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions01.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -355,6 +445,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions01.ts (Open) *changed* + version: SVC-1-4 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -402,6 +511,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions01.ts (Open) *changed* + version: SVC-1-5 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -416,6 +544,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions01.ts (Open) *changed* + version: SVC-1-6 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 11, @@ -451,6 +598,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions01.ts (Open) *changed* + version: SVC-1-7 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 13, @@ -486,6 +652,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions01.ts (Open) *changed* + version: SVC-1-8 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 15, @@ -500,6 +685,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions01.ts (Open) *changed* + version: SVC-1-9 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 16, @@ -550,7 +754,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions02.js b/tests/baselines/reference/tsserver/fourslashServer/completions02.js index c64216a3999bb..3e72c170fb0c9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions02.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -92,6 +92,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions02.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -362,6 +385,30 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions02.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -376,6 +423,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions02.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -411,6 +477,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions02.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -440,7 +525,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions03.js b/tests/baselines/reference/tsserver/fourslashServer/completions03.js index 8ba03998240ae..20b4ec23b97db 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions03.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions03.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -97,6 +97,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/completions03.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js index 134e566fd92bb..b412e9c33d86c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/index.ts 500 unde Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -144,7 +144,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -201,6 +201,55 @@ watchedDirectoriesRecursive:: /packages/mylib/mySubDir: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -255,6 +304,48 @@ watchedDirectoriesRecursive:: /packages/mylib/mySubDir: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -1198,6 +1289,56 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -1208,7 +1349,7 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -1234,6 +1375,15 @@ Info seq [hh:mm:ss:mss] FileName: /tsconfig.json ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /src/index.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /tsconfig.json +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -1248,6 +1398,56 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -1262,6 +1462,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-3 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 11, @@ -1297,6 +1539,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-4 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 13, @@ -1332,6 +1616,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-5 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 15, @@ -1367,6 +1693,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-6 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 17, @@ -1402,6 +1770,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-7 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 19, @@ -1437,6 +1847,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-8 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 21, @@ -1472,6 +1924,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-9 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 23, @@ -1507,6 +2001,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-10 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 25, @@ -1542,6 +2078,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-11 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 27, @@ -1577,6 +2155,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-12 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 29, @@ -1612,6 +2232,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-13 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 31, @@ -1647,6 +2309,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-14 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 33, @@ -1682,6 +2386,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-15 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 35, @@ -1717,6 +2463,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-16 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 37, @@ -1752,6 +2540,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-17 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 39, @@ -1787,6 +2617,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-18 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 41, @@ -1822,6 +2694,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-19 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 43, @@ -1857,6 +2771,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-20 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 45, @@ -1892,6 +2848,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-21 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 47, @@ -1927,6 +2925,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-22 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 49, @@ -1962,6 +3002,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-23 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 51, @@ -1997,6 +3079,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-24 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 53, @@ -2032,6 +3156,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-25 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 55, @@ -2067,6 +3233,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-26 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 57, @@ -2102,6 +3310,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-27 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 59, @@ -2137,6 +3387,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-28 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 61, @@ -2172,6 +3464,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-29 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 63, @@ -2207,6 +3541,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-30 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 65, @@ -2242,6 +3618,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-31 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 67, @@ -2277,6 +3695,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-32 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 69, @@ -2312,6 +3772,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-33 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 71, @@ -2347,6 +3849,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/packages/mylib/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/index.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/packages/mylib/mySubDir/myClass2.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/index.ts (Open) *changed* + version: SVC-2-34 *changed* + containingProjects: 1 + /tsconfig.json *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 73, @@ -2401,7 +3945,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -3132,4 +4676,12 @@ Info seq [hh:mm:ss:mss] response: } ] } - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js index d895532ceb504..67dc7b72d9853 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/ts-node/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -189,6 +189,49 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/ts-node/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -237,6 +280,42 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/ts-node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -971,6 +1050,50 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/ts-node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, @@ -985,6 +1108,42 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/ts-node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -1037,7 +1196,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js index 9811c6e7a29f0..3bbe0e36cf298 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /someModule.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /index.ts Text-1 "someMo" @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"noLib\": true } }" @@ -161,6 +161,28 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/someModule.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -203,6 +225,21 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/someModule.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -1010,4 +1047,26 @@ Info seq [hh:mm:ss:mss] request: "insertString": "import someModule from \"./someModule\";\r\n\r\n" }, "command": "change" - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/someModule.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js index ca41b2b2a63bf..3c60318587a21 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /third_party/marked/src/defaults.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -178,6 +178,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/third_party/marked/src/defaults.js *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -265,6 +302,36 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/third_party/marked/src/defaults.js + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -1022,6 +1089,44 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/third_party/marked/src/defaults.js + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -1036,6 +1141,36 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/third_party/marked/src/defaults.js + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -1088,7 +1223,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -1972,4 +2107,41 @@ Info seq [hh:mm:ss:mss] request: "insertString": "import { defaults } from \"./third_party/marked/src/defaults\";\n\n" }, "command": "change" - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-3 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/third_party/marked/src/defaults.js + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js index bf62ab39c735f..231748db1ccdb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -150,7 +150,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@jest/ty Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@jest/types/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@jest/types/Config.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/@jest/types/Config.d.ts Text-1 "export interface ConfigGlobals {\n [K: string]: unknown;\n}" @@ -203,6 +203,51 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@jest/types/Config.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@jest/types/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -259,6 +304,40 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@jest/types/Config.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/@jest/types/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -295,7 +374,7 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@jest/types/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/@jest/types/Config.d.ts Text-1 "export interface ConfigGlobals {\n [K: string]: unknown;\n}" @@ -1033,6 +1112,57 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* + +ScriptInfos:: +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@jest/types/Config.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* +/node_modules/@jest/types/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -1047,6 +1177,58 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@jest/types/Config.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/node_modules/@jest/types/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, @@ -1061,6 +1243,42 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@jest/types/Config.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/node_modules/@jest/types/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -1114,7 +1332,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js index b0436bd517cbe..eeeb1229777c0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js @@ -76,7 +76,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -191,6 +191,43 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/main.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/path.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -251,6 +288,36 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/main.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/path.d.ts + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js index ae78c95b06368..2e74af7557c30 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /utils.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -174,6 +174,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/classes.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/utils.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -220,6 +257,36 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/classes.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/utils.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -421,6 +488,36 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/classes.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/utils.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, @@ -459,6 +556,44 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/classes.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/utils.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -492,7 +627,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text diff --git a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js index 7dcb0088ed73b..69b101b2ea513 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js +++ b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -186,6 +186,39 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -242,6 +275,32 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js index 66566de83abfb..550cde68ad734 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -93,6 +93,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/test123.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js index e87485dbaee97..b939a6bdae2c2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -95,6 +95,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/test123.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js index 8902b7b114508..84742d6605a07 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js @@ -76,7 +76,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -125,6 +125,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -148,7 +171,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -216,6 +239,43 @@ watchedDirectoriesRecursive:: {} {} *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/tests/cases/fourslash/server/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/tests/cases/fourslash/server/indexdef.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/tests/cases/fourslash/server/mymodule.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -303,3 +363,35 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: {} {} + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/tests/cases/fourslash/server/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/tests/cases/fourslash/server/indexdef.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/tests/cases/fourslash/server/indexdef.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/tests/cases/fourslash/server/mymodule.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js index dd28dc7c023d5..1cd7c8f799897 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -163,7 +163,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -206,6 +206,39 @@ watchedFiles:: /tsconfig.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -246,6 +279,32 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -308,7 +367,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /dist/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -362,6 +421,53 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/dist/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/mymodule.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -418,6 +524,45 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +ScriptInfos:: +/dist/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/dist/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/mymodule.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js index 8695f03692b96..6384e74ab9169 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -165,7 +165,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -208,6 +208,39 @@ watchedFiles:: /tsconfig.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -248,6 +281,32 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -310,7 +369,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /dist/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -364,6 +423,53 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/dist/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/mymodule.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -420,6 +526,45 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +ScriptInfos:: +/dist/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/dist/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/mymodule.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js index 115692d9bf74e..241d9ff2d9867 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -161,7 +161,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -204,6 +204,39 @@ watchedFiles:: /tsconfig.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -244,6 +277,32 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -306,7 +365,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /dist/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -360,6 +419,53 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/dist/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/mymodule.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -416,6 +522,45 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +ScriptInfos:: +/dist/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/dist/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/mymodule.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js index f8bddd45c3988..b4606827d1f0f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -168,7 +168,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -211,6 +211,39 @@ watchedFiles:: /tsconfig.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -251,6 +284,32 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -318,7 +377,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /dist/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -372,6 +431,53 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/dist/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/mymodule.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -428,6 +534,45 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +ScriptInfos:: +/dist/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/dist/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/mymodule.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js index 8d94e0d4da6b0..1f1005e534afa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -178,7 +178,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -221,6 +221,39 @@ watchedFiles:: /tsconfig.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -261,6 +294,32 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -338,7 +397,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /dist/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -392,6 +451,53 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/dist/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/mymodule.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -448,6 +554,45 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +ScriptInfos:: +/dist/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/dist/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/index.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/mymodule.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js index c7606c08bc673..9fe241b3c6064 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js @@ -76,7 +76,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -125,6 +125,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -148,7 +171,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -214,6 +237,43 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/out: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/tests/cases/fourslash/server/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/tests/cases/fourslash/server/mymodule.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tests/cases/fourslash/server/out/indexdef.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -299,3 +359,35 @@ watchedDirectoriesRecursive:: {} /tests/cases/fourslash/server/out: {} + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/tests/cases/fourslash/server/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/tests/cases/fourslash/server/mymodule.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/tests/cases/fourslash/server/out/indexdef.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/tests/cases/fourslash/server/out/indexdef.d.ts.map *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js index fb002c8ebe27d..2e990818b4da8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js @@ -101,7 +101,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -158,6 +158,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/BaseClass/Source.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -212,7 +235,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/buttonClass/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/buttonClass/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/buttonClass/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/buttonClass/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/buttonClass/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/buttonClass/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -345,6 +368,40 @@ watchedDirectoriesRecursive *deleted*:: /tests/cases/fourslash/server/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/tests/cases/fourslash/server/buttonClass/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /tests/cases/fourslash/server/buttonClass/tsconfig.json *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /tests/cases/fourslash/server/buttonClass/tsconfig.json *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /tests/cases/fourslash/server/buttonClass/tsconfig.json *new* + /dev/null/inferredProject1* *deleted* +/tests/cases/fourslash/server/BaseClass/Source.d.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /tests/cases/fourslash/server/buttonClass/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* +/tests/cases/fourslash/server/buttonClass/Source.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tests/cases/fourslash/server/buttonClass/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -430,6 +487,34 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/buttonClass/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/buttonClass/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/buttonClass/tsconfig.json +/tests/cases/fourslash/server/BaseClass/Source.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tests/cases/fourslash/server/buttonClass/tsconfig.json *default* +/tests/cases/fourslash/server/BaseClass/Source.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/tests/cases/fourslash/server/BaseClass/Source.ts *new* + version: Text-1 + containingProjects: 0 +/tests/cases/fourslash/server/buttonClass/Source.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tests/cases/fourslash/server/buttonClass/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js index 7f41a70406e6c..06302e38899eb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/a/dist/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/a/dist/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -92,6 +92,29 @@ watchedDirectoriesRecursive:: /node_modules/a/dist/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/a/dist/index.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -104,7 +127,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -169,6 +192,40 @@ watchedDirectoriesRecursive *deleted*:: /node_modules/a/dist/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/node_modules/a/dist/index.d.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -223,3 +280,31 @@ watchedFiles:: {"pollingInterval":500} /node_modules/a/src/index.ts: *new* {"pollingInterval":500} + +ScriptInfos:: +/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/a/dist/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/node_modules/a/dist/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/node_modules/a/src/index.ts *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/fourslashServer/definition01.js b/tests/baselines/reference/tsserver/fourslashServer/definition01.js index 8f7820e7de523..7f4e6094beab2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/definition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/definition01.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -97,6 +97,33 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js index 213caba0564c2..00a079e287c6a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -89,6 +89,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js index eae36f49f2019..6dcca85df41cb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -94,6 +94,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -130,7 +153,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -221,6 +244,40 @@ watchedDirectoriesRecursive *deleted*:: /tests/cases/fourslash/server/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/tests/cases/fourslash/server/a.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* +/tests/cases/fourslash/server/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js index 3b2a192221df6..1be341d0f877e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -88,6 +88,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/documentHighlightsTypeParameterInHeritageClause01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js b/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js index 0fcedaa595690..aa50b4634e62c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js +++ b/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -87,6 +87,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/fixExtractToInnerFunctionDuplicaton.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/format01.js b/tests/baselines/reference/tsserver/fourslashServer/format01.js index 8bcf726c92594..e610b951e35ac 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/format01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/format01.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -87,6 +87,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/format01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -212,6 +235,30 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/format01.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -226,6 +273,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/format01.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -240,6 +306,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/format01.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, @@ -254,6 +339,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/format01.ts (Open) *changed* + version: SVC-1-4 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -268,6 +372,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/format01.ts (Open) *changed* + version: SVC-1-5 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -282,6 +405,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/format01.ts (Open) *changed* + version: SVC-1-6 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -296,6 +438,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/format01.ts (Open) *changed* + version: SVC-1-7 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -309,4 +470,22 @@ Info seq [hh:mm:ss:mss] request: "insertString": " " }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/format01.ts (Open) *changed* + version: SVC-1-8 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js index cba3bd196c1d4..d880958bbc201 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -89,6 +89,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatBracketInSwitchCase.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -136,4 +159,27 @@ Info seq [hh:mm:ss:mss] request: "insertString": " " }, "command": "change" - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatBracketInSwitchCase.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js index bd5bdaf5865d2..f1f4b321c2d36 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -90,6 +90,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatOnEnter.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -150,6 +173,30 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatOnEnter.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -164,6 +211,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatOnEnter.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -212,4 +278,22 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatOnEnter.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js index 64b5dfedac750..ad07d64e84685 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -93,6 +93,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatSpaceBetweenFunctionAndArrayIndex.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -140,4 +163,27 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatSpaceBetweenFunctionAndArrayIndex.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js index a9ebed8e31bcb..fd733fe21c818 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -92,6 +92,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatonkey01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -106,6 +129,30 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatonkey01.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -120,6 +167,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatonkey01.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -166,4 +232,22 @@ Info seq [hh:mm:ss:mss] request: "insertString": " " }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/formatonkey01.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js index 22fb6796e5038..06e3a93f0a584 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js @@ -93,7 +93,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.test.json : { } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tsconfig.test.json 2000 undefined Project: /tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /util.ts 500 undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.build.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.build.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.build.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -168,7 +168,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /test.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.test.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.test.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.test.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.test.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -367,6 +367,58 @@ watchedFiles:: /util.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.build.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.test.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.build.json + /tsconfig.test.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 3 + /tsconfig.build.json + /tsconfig.test.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 3 + /tsconfig.build.json + /tsconfig.test.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 3 + /tsconfig.build.json + /tsconfig.test.json + /dev/null/inferredProject1* +/test.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.test.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/util.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.build.json + /tsconfig.test.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js index 3e41d73cda406..af1662b6deb71 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /lib.d.ts Text-1 lib.d.ts-Text @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -176,6 +176,51 @@ watchedDirectoriesRecursive:: /project: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/a.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/c.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index 745781ae0eaea..cb33b0d69fb54 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] Config: /packages/client/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/client/tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/client 1 undefined Config: /packages/client/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/client 1 undefined Config: /packages/client/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -164,7 +164,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -211,7 +211,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/shared/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/shared/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -252,7 +252,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/client/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/client/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/client/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/client/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/client/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -339,7 +339,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -416,6 +416,68 @@ watchedDirectoriesRecursive:: /packages/shared/dist: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/client/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/shared/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 4 + /packages/server/tsconfig.json + /packages/shared/tsconfig.json + /packages/client/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 4 + /packages/server/tsconfig.json + /packages/shared/tsconfig.json + /packages/client/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 4 + /packages/server/tsconfig.json + /packages/shared/tsconfig.json + /packages/client/tsconfig.json + /dev/null/inferredProject1* +/packages/client/index.ts *new* + version: Text-1 + containingProjects: 1 + /packages/client/tsconfig.json +/packages/server/index.js *new* + version: Text-1 + containingProjects: 1 + /packages/server/tsconfig.json +/packages/server/router.js *new* + version: Text-1 + containingProjects: 1 + /packages/server/tsconfig.json +/packages/shared/src/referenced.ts *new* + version: Text-1 + containingProjects: 3 + /packages/server/tsconfig.json + /packages/shared/tsconfig.json + /packages/client/tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js index abd901f57d7bd..444038eac104f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -87,6 +87,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js index 4c81eb09ae7c9..0d41569932b05 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -90,6 +90,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/b.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js index 5ec660302b4af..c82ff24c98ae2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -100,6 +100,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/getOutliningSpansForComments.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js index 4887e4971aeef..ef91ec889b204 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -133,6 +133,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/getOutliningSpansForRegions.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js index 6be5e7096edc4..f4a1ee07a7806 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -101,6 +101,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/getOutliningSpansForRegionsNoSingleLineFolds.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js b/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js index 547e20bc91541..57a534c5ebcb3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -73,6 +73,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/scriptThing.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -85,7 +108,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /moduleThing.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -135,6 +158,41 @@ Info seq [hh:mm:ss:mss] FileName: /scriptThing.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileName: /moduleThing.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/moduleThing.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/scriptThing.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js b/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js index 7457624917cf7..1679650a6c665 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /foo.ts 500 undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -82,6 +82,33 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/bar.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/foo.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -116,6 +143,29 @@ watchedFiles *deleted*:: /foo.ts: {"pollingInterval":500} +ScriptInfos:: +/bar.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/foo.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js index 8cec496a4ea4c..3e8f2242d134e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/l Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -132,6 +132,33 @@ watchedFiles:: /node_modules/@types/lodash/package.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/lodash/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/lodash/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -145,7 +172,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -195,6 +222,44 @@ watchedFiles:: {"pollingInterval":2000} {"pollingInterval":2000} *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/lodash/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/lodash/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -208,7 +273,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/lodash/lodash.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /node_modules/lodash/lodash.js Text-1 ";(function() {\n /**\n * Adds two numbers.\n *\n * @static\n * @memberOf _\n * @since 3.4.0\n * @category Math\n * @param {number} augend The first number in an addition.\n * @param {number} addend The second number in an addition.\n * @returns {number} Returns the total.\n * @example\n *\n * _.add(6, 4);\n * // => 10\n */\n var add = createMathOperation(function(augend, addend) {\n return augend + addend;\n }, 0);\n\n function lodash(value) {}\n lodash.add = add;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;//// \n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n if (freeModule) {\n // Export for Node.js.\n (freeModule.exports = _)._ = _;\n // Export for CommonJS support.\n freeExports._ = _;\n }\n else {\n // Export to the global object.\n root._ = _;\n }\n}.call(this));" @@ -289,3 +354,50 @@ watchedFiles:: {"pollingInterval":2000} /node_modules/lodash/lodash.js: *new* {"pollingInterval":500} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/lodash/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/lodash/lodash.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/lodash/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js index 9b4105d8191d9..98074faf25126 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -70,6 +70,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -83,7 +106,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /b.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -129,6 +152,43 @@ watchedFiles:: /lib.decorators.legacy.d.ts: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/a.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -141,7 +201,7 @@ Info seq [hh:mm:ss:mss] request: "command": "findSourceDefinition" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /a.js SVC-1-0 "export const a = { a: 'a' };" @@ -185,4 +245,47 @@ Info seq [hh:mm:ss:mss] response: } } ] - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/a.js (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject1* *default* + /dev/null/auxiliaryProject1* *new* +/b.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js index b3be726a6af6d..5643cb4763a86 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -102,6 +102,33 @@ watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -115,7 +142,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -169,6 +196,44 @@ watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -182,7 +247,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/yargs/index.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /node_modules/yargs/index.js Text-1 "export function command(cmd, cb) { cb({ positional: \"This is obviously not even close to realistic\" }); }" @@ -247,3 +312,50 @@ watchedFiles:: watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: {} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/node_modules/yargs/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js index f84b1b913e7f3..6af7d0e7b580d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -92,6 +92,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/left-pad/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -133,7 +156,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/left-pad/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -208,6 +231,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.mts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /tsconfig.json *new* +/node_modules/left-pad/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/left-pad/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -221,7 +281,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/left-pad/index.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /node_modules/left-pad/index.js Text-1 "module.exports = leftPad;\nfunction leftPad(str, len, ch) {}" @@ -285,3 +345,49 @@ watchedFiles:: watchedDirectoriesRecursive:: : {} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.mts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /tsconfig.json *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /tsconfig.json +/node_modules/left-pad/index.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/left-pad/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/left-pad/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js index e86ee4001647b..70901c38a5d59 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js @@ -28,7 +28,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -63,6 +63,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -75,7 +98,7 @@ Info seq [hh:mm:ss:mss] request: "command": "findSourceDefinition" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (1) /index.js SVC-1-0 "const { blah } = require(\"unresolved\");" @@ -96,4 +119,32 @@ Info seq [hh:mm:ss:mss] response: "updateGraphDurationMs": * }, "body": [] - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.js (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject1* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js index aaa626ee69640..a75d3ef347c96 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -173,6 +173,39 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -217,6 +250,32 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -232,7 +291,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliar Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/index.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.production.min.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.development.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (4) /node_modules/react/cjs/react.production.min.js Text-1 "'use strict';exports.useState=function(a){};exports.version='16.8.6';" @@ -322,3 +381,53 @@ watchedFiles:: watchedDirectoriesRecursive:: : {} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: Text-1 + containingProjects: 2 *changed* + /tsconfig.json *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/react/cjs/react.development.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/react/cjs/react.production.min.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/react/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js index b7c0dcd8f0c88..602c90aae0e0a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -115,6 +115,37 @@ watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/callback.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -128,7 +159,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -187,6 +218,49 @@ watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/callback.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -201,7 +275,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/yargs/index.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/yargs/callback.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (3) /node_modules/yargs/callback.js Text-1 "export class Yargs { positional() { } }" @@ -273,3 +347,59 @@ watchedFiles:: watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: {} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/callback.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/node_modules/yargs/callback.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/yargs/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js index 28f402683e4b3..79be2c705acb2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -115,6 +115,37 @@ watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/callback.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -128,7 +159,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -187,6 +218,49 @@ watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/callback.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -200,7 +274,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/yargs/index.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /node_modules/yargs/index.js Text-1 "// Specifically didnt have ./callback import to ensure that resolving module sepcifier adds the file to project at later stage\nexport function command(cmd, cb) { cb(Yargs) }" @@ -215,7 +289,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/yargs/callback.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (3) /node_modules/yargs/index.js Text-1 "// Specifically didnt have ./callback import to ensure that resolving module sepcifier adds the file to project at later stage\nexport function command(cmd, cb) { cb(Yargs) }" @@ -287,3 +361,59 @@ watchedFiles:: watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: {} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/callback.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/node_modules/yargs/callback.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/yargs/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js index 9b61ad67c1303..08cfde66fb5d8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -119,6 +119,37 @@ watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/callback.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/yargs/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -133,7 +164,7 @@ Info seq [hh:mm:ss:mss] For info: /some/index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /folder/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (7) /lib.d.ts Text-1 lib.d.ts-Text @@ -198,6 +229,53 @@ watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/folder/random.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/callback.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/yargs/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/some/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -212,7 +290,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/yargs/callback.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/yargs/index.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (4) /node_modules/yargs/callback.js Text-1 "export class Yargs { positional() { } }" @@ -289,3 +367,64 @@ watchedFiles:: watchedDirectoriesRecursive:: /node_modules/@types/yargs/node_modules/@types: {} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/folder/random.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject2* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/callback.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/yargs/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/node_modules/yargs/callback.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/yargs/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/some/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js index 3f911319ab98a..ff0ef2392d2d8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -70,6 +70,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -83,7 +106,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -129,6 +152,43 @@ watchedFiles:: /lib.decorators.legacy.d.ts: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/a.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -141,7 +201,7 @@ Info seq [hh:mm:ss:mss] request: "command": "findSourceDefinition" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /a.js SVC-1-0 "export const a = \"a\";" @@ -186,6 +246,50 @@ Info seq [hh:mm:ss:mss] response: } ] } +After Request +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/a.js (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject1* *default* + /dev/null/auxiliaryProject1* *new* +/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* + Info seq [hh:mm:ss:mss] request: { "seq": 3, diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js index 4efa0289ab7a8..185875f2a9400 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -73,6 +73,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/foo/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -86,7 +109,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/types/main.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -132,6 +155,43 @@ watchedFiles:: /node_modules/foo/types/main.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/foo/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/node_modules/foo/types/main.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -145,7 +205,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/lib/main.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /node_modules/foo/lib/main.js Text-1 "export const a = \"a\";" @@ -202,3 +262,49 @@ watchedFiles:: {"pollingInterval":500} /node_modules/foo/types/main.d.ts: {"pollingInterval":500} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/foo/lib/main.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/foo/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/node_modules/foo/types/main.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js index 77fffda93ac57..24a6deb08ecb8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/f Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -85,6 +85,33 @@ watchedFiles:: /node_modules/@types/foo/package.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/foo/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/foo/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -98,7 +125,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/foo/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -148,6 +175,44 @@ watchedFiles:: {"pollingInterval":2000} {"pollingInterval":2000} *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/foo/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/foo/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -161,7 +226,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/lib/main.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /node_modules/foo/lib/main.js Text-1 "export const a = \"a\";" @@ -221,3 +286,50 @@ watchedFiles:: {"pollingInterval":2000} /node_modules/foo/lib/main.js: *new* {"pollingInterval":500} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/foo/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/foo/lib/main.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/foo/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js index 244fa2c7f1f69..39986ea5a29ac 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -73,6 +73,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -85,7 +108,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /b.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -135,6 +158,41 @@ Info seq [hh:mm:ss:mss] FileName: /a.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileName: /b.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* +/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js index e80b7550e464d..c89797e1e1b61 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -80,6 +80,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/foo/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -93,7 +116,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /b.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/types/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -139,6 +162,43 @@ watchedFiles:: /node_modules/foo/types/a.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/foo/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/node_modules/foo/types/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -196,6 +256,41 @@ watchedFiles:: /node_modules/foo/types/a.d.ts.map: *new* {"pollingInterval":500} +ScriptInfos:: +/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/foo/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/node_modules/foo/src/a.ts *new* + version: Text-1 + containingProjects: 0 +/node_modules/foo/types/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/foo/types/a.d.ts.map *new* + version: Text-1 + containingProjects: 0 + Info seq [hh:mm:ss:mss] request: { "seq": 3, diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js index 4cfc68cda4cae..20cd07e3ecc0c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -88,6 +88,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/react/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -100,7 +123,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -132,6 +155,40 @@ Info seq [hh:mm:ss:mss] FileName: /node_modules/react/package.json ProjectRoot Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /index.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/react/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -147,7 +204,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliar Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/index.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.production.min.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.development.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (4) /node_modules/react/cjs/react.production.min.js Text-1 "'use strict';exports.useState=function(a){};exports.version='16.8.6';" @@ -231,3 +288,53 @@ watchedFiles:: {"pollingInterval":500} /node_modules/react/index.js: *new* {"pollingInterval":500} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/react/cjs/react.development.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/react/cjs/react.production.min.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/react/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/react/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js index 5aef4bc8610e4..0fc5daf6fbcd5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/l Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -148,6 +148,37 @@ watchedFiles:: /node_modules/@types/lodash/package.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/lodash/common/math.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/lodash/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/lodash/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -161,7 +192,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -217,6 +248,49 @@ watchedFiles:: {"pollingInterval":2000} {"pollingInterval":2000} *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/lodash/common/math.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/lodash/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/lodash/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -230,7 +304,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/lodash/lodash.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /node_modules/lodash/lodash.js Text-1 ";(function() {\n /**\n * Adds two numbers.\n *\n * @static\n * @memberOf _\n * @since 3.4.0\n * @category Math\n * @param {number} augend The first number in an addition.\n * @param {number} addend The second number in an addition.\n * @returns {number} Returns the total.\n * @example\n *\n * _.add(6, 4);\n * // => 10\n */\n var add = createMathOperation(function(augend, addend) {\n return augend + addend;\n }, 0);\n\n function lodash(value) {}\n lodash.add = add;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;//// \n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n if (freeModule) {\n // Export for Node.js.\n (freeModule.exports = _)._ = _;\n // Export for CommonJS support.\n freeExports._ = _;\n }\n else {\n // Export to the global object.\n root._ = _;\n }\n}.call(this));" @@ -313,3 +387,55 @@ watchedFiles:: {"pollingInterval":2000} /node_modules/lodash/lodash.js: *new* {"pollingInterval":500} + +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/lodash/common/math.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/lodash/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/lodash/lodash.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/lodash/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js index be8997e036257..98323ceb89e50 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js @@ -101,7 +101,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/l Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -149,6 +149,37 @@ watchedFiles:: /node_modules/@types/lodash/package.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/lodash/common/math.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/lodash/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/lodash/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -162,7 +193,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /index.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -218,6 +249,49 @@ watchedFiles:: {"pollingInterval":2000} {"pollingInterval":2000} *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/lodash/common/math.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/@types/lodash/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/node_modules/lodash/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -231,7 +305,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/lodash/lodash.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) /node_modules/lodash/lodash.js Text-1 ";(function() {\n /**\n * Adds two numbers.\n *\n * @static\n * @memberOf _\n * @since 3.4.0\n * @category Math\n * @param {number} augend The first number in an addition.\n * @param {number} addend The second number in an addition.\n * @returns {number} Returns the total.\n * @example\n *\n * _.add(6, 4);\n * // => 10\n */\n var add = createMathOperation(function(augend, addend) {\n return augend + addend;\n }, 0);\n\n function lodash(value) {}\n lodash.add = add;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;//// \n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n if (freeModule) {\n // Export for Node.js.\n (freeModule.exports = _)._ = _;\n // Export for CommonJS support.\n freeExports._ = _;\n }\n else {\n // Export to the global object.\n root._ = _;\n }\n}.call(this));" @@ -287,6 +361,58 @@ watchedFiles:: /node_modules/lodash/lodash.js: *new* {"pollingInterval":500} +Projects:: +/dev/null/auxiliaryProject1* (Auxiliary) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* *new* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/lodash/common/math.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/lodash/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/lodash/lodash.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/lodash/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, diff --git a/tests/baselines/reference/tsserver/fourslashServer/implementation01.js b/tests/baselines/reference/tsserver/fourslashServer/implementation01.js index b528ffa1e5ad9..acae593c5cdd1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/implementation01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/implementation01.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -88,6 +88,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/implementation01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js index 4dc9db6e83dc3..884e126cf2b93 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js +++ b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -166,6 +166,43 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/main.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -214,6 +251,36 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/main.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -304,6 +371,44 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/main.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -352,6 +457,36 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/main.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -363,7 +498,7 @@ Info seq [hh:mm:ss:mss] request: "command": "syntacticDiagnosticsSync" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js index ff62bff02a84c..91fe254d6d4c4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /apps/app1/tsconfi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /apps/app1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /apps/app1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/apps/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.d.ts Text-1 lib.d.ts-Text @@ -143,7 +143,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -200,6 +200,55 @@ watchedDirectoriesRecursive:: /shared: *new* {} +Projects:: +/apps/app1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/apps/app1/src/app.ts *new* + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/src/utils.ts *new* + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/shared/constants.ts *new* + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/shared/data.ts *new* + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -296,6 +345,48 @@ watchedDirectoriesRecursive:: /shared: {} +ScriptInfos:: +/apps/app1/src/app.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/utils.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/shared/constants.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/shared/data.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -469,6 +560,56 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/apps/app1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/apps/app1/src/app.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/src/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/utils.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/shared/constants.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/shared/data.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -483,6 +624,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/apps/app1/src/app.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/src/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/utils.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/shared/constants.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/shared/data.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 11, @@ -496,7 +679,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /apps/app1/src/app.ts Info seq [hh:mm:ss:mss] Search path: /apps/app1/src Info seq [hh:mm:ss:mss] For info: /apps/app1/src/app.ts :: Config file name: /apps/app1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /apps/app1/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /apps/app1/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /apps/app1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/apps/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.d.ts Text-1 lib.d.ts-Text @@ -551,6 +734,48 @@ watchedDirectoriesRecursive:: /shared: {} +ScriptInfos:: +/apps/app1/src/app.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/utils.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/shared/constants.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/shared/data.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 12, @@ -724,6 +949,56 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/apps/app1/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/apps/app1/src/app.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/utils.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/shared/constants.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/shared/data.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 19, @@ -738,6 +1013,48 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/apps/app1/src/app.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/utils.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/shared/constants.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/shared/data.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 20, @@ -751,7 +1068,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /shared/data.ts 500 un Info seq [hh:mm:ss:mss] Search path: /shared Info seq [hh:mm:ss:mss] For info: /shared/data.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /apps/app1/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /apps/app1/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /apps/app1/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/apps/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) /lib.d.ts Text-1 lib.d.ts-Text @@ -806,6 +1123,48 @@ watchedDirectoriesRecursive:: /shared: {} +ScriptInfos:: +/apps/app1/src/app.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/utils.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/shared/constants.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/shared/data.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 21, @@ -979,6 +1338,56 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/apps/app1/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/apps/app1/src/app.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/utils.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/shared/constants.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/shared/data.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /apps/app1/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 28, @@ -992,4 +1401,45 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/apps/app1/src/app.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/index.ts (Open) + version: SVC-2-2 + containingProjects: 1 + /apps/app1/tsconfig.json *default* +/apps/app1/src/utils.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/apps/app1/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /apps/app1/tsconfig.json + /dev/null/inferredProject1* +/shared/constants.ts + version: Text-1 + containingProjects: 1 + /apps/app1/tsconfig.json +/shared/data.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /apps/app1/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js index e3abc92129609..825f535b1c993 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -104,6 +104,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tsconfig.base.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -223,7 +246,7 @@ Info seq [hh:mm:ss:mss] Config: /packages/pkg-2/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/pkg-2/tsconfig.json 2000 undefined Project: /packages/pkg-1/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/pkg-2 1 undefined Config: /packages/pkg-2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/pkg-2 1 undefined Config: /packages/pkg-2/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/pkg-1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/pkg-1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/pkg-1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -247,7 +270,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/pkg-2/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/pkg-2/src/utils.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /packages/pkg-2/src/utils.ts Text-1 "export const Pkg2 = {};" @@ -324,6 +347,51 @@ watchedDirectoriesRecursive:: /packages/pkg-2: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/pkg-1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json *new* +/packages/pkg-1/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/pkg-1/tsconfig.json *default* +/packages/pkg-2/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/packages/pkg-2/src/utils.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/tsconfig.base.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -529,6 +597,52 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/pkg-1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json +/packages/pkg-1/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /packages/pkg-1/tsconfig.json *default* +/packages/pkg-2/src/index.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/packages/pkg-2/src/utils.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/tsconfig.base.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -543,6 +657,40 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json +/packages/pkg-1/src/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /packages/pkg-1/tsconfig.json *default* +/packages/pkg-2/src/index.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/packages/pkg-2/src/utils.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/tsconfig.base.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 11, @@ -566,7 +714,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/pkg-2/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/pkg-2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/pkg-2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/pkg-2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -669,6 +817,63 @@ watchedDirectoriesRecursive:: /packages/pkg-2: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/pkg-1/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/packages/pkg-2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json + /packages/pkg-2/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json + /packages/pkg-2/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json + /packages/pkg-2/tsconfig.json *new* +/packages/pkg-1/src/index.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /packages/pkg-1/tsconfig.json *default* +/packages/pkg-2/src/blah/foo/data.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/pkg-2/tsconfig.json *default* +/packages/pkg-2/src/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /packages/pkg-2/tsconfig.json *new* +/packages/pkg-2/src/utils.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /packages/pkg-2/tsconfig.json *new* +/tsconfig.base.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 12, @@ -842,6 +1047,64 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/pkg-1/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/packages/pkg-2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json + /packages/pkg-2/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json + /packages/pkg-2/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json + /packages/pkg-2/tsconfig.json +/packages/pkg-1/src/index.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /packages/pkg-1/tsconfig.json *default* +/packages/pkg-2/src/blah/foo/data.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /packages/pkg-2/tsconfig.json *default* +/packages/pkg-2/src/index.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /packages/pkg-2/tsconfig.json +/packages/pkg-2/src/utils.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /packages/pkg-2/tsconfig.json +/tsconfig.base.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 19, @@ -855,4 +1118,46 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json + /packages/pkg-2/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json + /packages/pkg-2/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /packages/pkg-1/tsconfig.json + /packages/pkg-2/tsconfig.json +/packages/pkg-1/src/index.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /packages/pkg-1/tsconfig.json *default* +/packages/pkg-2/src/blah/foo/data.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /packages/pkg-2/tsconfig.json *default* +/packages/pkg-2/src/index.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /packages/pkg-2/tsconfig.json +/packages/pkg-2/src/utils.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /packages/pkg-2/tsconfig.json +/tsconfig.base.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js index 0769181f4ade1..3ebd2ee9cb54f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -103,7 +103,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -155,6 +155,44 @@ watchedDirectoriesRecursive:: /project: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/index.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -201,6 +239,37 @@ watchedDirectoriesRecursive:: /project: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -374,6 +443,45 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/index.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /project/tsconfig.json *default* +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -387,4 +495,34 @@ Info seq [hh:mm:ss:mss] request: "insertString": "" }, "command": "change" - } \ No newline at end of file + } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/index.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /project/tsconfig.json *default* +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js index 506d1913b0c1f..420667326d553 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -103,7 +103,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -155,6 +155,44 @@ watchedDirectoriesRecursive:: /project: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/index.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -201,6 +239,37 @@ watchedDirectoriesRecursive:: /project: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js index e0a604a9d6a95..d18afd10d14bd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -169,6 +169,49 @@ watchedDirectoriesRecursive:: /project: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/index.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -217,6 +260,42 @@ watchedDirectoriesRecursive:: /project: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /dev/null/inferredProject1* +/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js index ea3043ffba953..f523d3645ac1c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -103,7 +103,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -150,6 +150,39 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -194,6 +227,32 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/ambient.d.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -944,6 +1003,40 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, @@ -976,7 +1069,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -1686,6 +1779,40 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -1700,6 +1827,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-3 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -1714,6 +1867,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-4 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -1728,6 +1907,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-5 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 11, @@ -1742,6 +1947,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-6 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 12, @@ -1756,6 +1987,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-7 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 13, @@ -1770,6 +2027,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-8 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 14, @@ -1784,6 +2067,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-9 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 15, @@ -1798,6 +2107,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-10 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 16, @@ -1812,6 +2147,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-11 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 17, @@ -1826,6 +2187,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-12 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 18, @@ -1840,6 +2227,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-13 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 19, @@ -1854,6 +2267,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-14 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 20, @@ -1868,6 +2307,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-15 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 21, @@ -1882,6 +2347,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-16 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 22, @@ -1896,6 +2387,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-17 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 23, @@ -1910,6 +2427,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-18 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 24, @@ -1924,6 +2467,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-19 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 25, @@ -1938,6 +2507,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-20 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 26, @@ -1952,6 +2547,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-21 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 27, @@ -1966,6 +2587,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-22 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 28, @@ -1980,6 +2627,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-23 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 29, @@ -1994,6 +2667,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-24 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 30, @@ -2008,6 +2707,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-25 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 31, @@ -2022,6 +2747,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-26 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 32, @@ -2036,6 +2787,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-27 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 33, @@ -2050,6 +2827,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-28 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 34, @@ -2064,6 +2867,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-29 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 35, @@ -2078,6 +2907,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-30 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 36, @@ -2092,6 +2947,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-31 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 37, @@ -2106,6 +2987,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-32 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 38, @@ -2120,6 +3027,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-33 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 39, @@ -2134,6 +3067,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-34 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 40, @@ -2148,6 +3107,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-35 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 41, @@ -2162,6 +3147,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-36 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 42, @@ -2176,6 +3187,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-37 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 43, @@ -2190,6 +3227,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-38 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 44, @@ -2204,6 +3267,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-39 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 45, @@ -2218,6 +3307,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-40 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 46, @@ -2232,6 +3347,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-41 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 47, @@ -2246,6 +3387,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-42 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 48, @@ -2260,6 +3427,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-43 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 49, @@ -2274,6 +3467,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-44 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 50, @@ -2288,6 +3507,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-45 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 51, @@ -2302,6 +3547,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-46 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 52, @@ -2316,6 +3587,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-47 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 53, @@ -2330,6 +3627,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-48 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 54, @@ -2344,6 +3667,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-49 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 55, @@ -2358,6 +3707,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-50 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 56, @@ -2372,6 +3747,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-51 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 57, @@ -2386,6 +3787,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-52 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 58, @@ -2400,6 +3827,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-53 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 59, @@ -2414,6 +3867,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-54 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 60, @@ -2428,6 +3907,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-55 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 61, @@ -2442,6 +3947,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-56 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 62, @@ -2456,6 +3987,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-57 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 63, @@ -2470,6 +4027,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-58 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 64, @@ -2484,6 +4067,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-59 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 65, @@ -2498,6 +4107,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-60 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 66, @@ -2530,7 +4165,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -3282,6 +4917,40 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-61 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 70, @@ -3296,6 +4965,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-62 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 71, @@ -3310,6 +5005,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-63 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 72, @@ -3324,6 +5045,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-64 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 73, @@ -3338,6 +5085,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-65 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 74, @@ -3352,6 +5125,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-66 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 75, @@ -3366,6 +5165,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-67 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 76, @@ -3380,6 +5205,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-68 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 77, @@ -3394,6 +5245,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-69 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 78, @@ -3408,6 +5285,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-70 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 79, @@ -3422,6 +5325,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-71 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 80, @@ -3436,6 +5365,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-72 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 81, @@ -3450,6 +5405,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-73 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 82, @@ -3464,6 +5445,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-74 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 83, @@ -3478,6 +5485,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-75 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 84, @@ -3492,6 +5525,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-76 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 85, @@ -3506,6 +5565,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-77 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 86, @@ -3520,6 +5605,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-78 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 87, @@ -3534,6 +5645,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-79 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 88, @@ -3548,6 +5685,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-80 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 89, @@ -3562,6 +5725,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-81 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 90, @@ -3576,6 +5765,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-82 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 91, @@ -3590,6 +5805,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-83 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 92, @@ -3604,6 +5845,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-84 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 93, @@ -3618,6 +5885,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-85 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 94, @@ -3632,6 +5925,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-86 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 95, @@ -3646,6 +5965,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-87 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 96, @@ -3660,6 +6005,32 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/ambient.d.ts (Open) *changed* + version: SVC-2-88 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 97, @@ -3692,7 +6063,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js index 889899df92eb1..95034e24ae278 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types 1 undefined Project: /tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types 1 undefined Project: /tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -142,7 +142,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -199,6 +199,44 @@ watchedDirectoriesRecursive:: /node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.js *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -249,6 +287,37 @@ watchedDirectoriesRecursive:: /node_modules/@types: {} +ScriptInfos:: +/a.js (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -874,6 +943,45 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -888,6 +996,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -923,6 +1062,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-3 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -958,6 +1128,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-4 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 11, @@ -993,6 +1194,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-5 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 13, @@ -1028,6 +1260,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-6 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 15, @@ -1063,6 +1326,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-7 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 17, @@ -1098,6 +1392,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-8 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 19, @@ -1133,6 +1458,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-9 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 21, @@ -1168,6 +1524,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-10 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 23, @@ -1203,6 +1590,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-11 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 25, @@ -1238,6 +1656,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-12 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 27, @@ -1273,6 +1722,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-13 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 29, @@ -1308,6 +1788,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-14 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 31, @@ -1343,6 +1854,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-15 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 33, @@ -1378,6 +1920,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-16 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 35, @@ -1413,6 +1986,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-17 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 37, @@ -1448,6 +2052,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-18 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 39, @@ -1483,6 +2118,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-19 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 41, @@ -1518,6 +2184,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-20 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 43, @@ -1553,6 +2250,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-21 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 45, @@ -1588,6 +2316,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-22 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 47, @@ -1623,6 +2382,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-23 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 49, @@ -1658,6 +2448,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-24 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 51, @@ -1693,6 +2514,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-25 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 53, @@ -1728,6 +2580,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-26 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 55, @@ -1763,6 +2646,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-27 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 57, @@ -1798,6 +2712,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-28 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 59, @@ -1833,6 +2778,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-29 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 61, @@ -1868,6 +2844,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-30 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 63, @@ -1903,6 +2910,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-31 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 65, @@ -1938,6 +2976,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-32 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 67, @@ -1973,6 +3042,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-33 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 69, @@ -2008,6 +3108,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-34 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 71, @@ -2061,7 +3192,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -2659,6 +3790,15 @@ Info seq [hh:mm:ss:mss] response: ] } } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 74, @@ -2673,6 +3813,45 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a.js (Open) *changed* + version: SVC-2-35 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 75, @@ -2705,7 +3884,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -3275,4 +4454,12 @@ Info seq [hh:mm:ss:mss] response: } ] } - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js index 485a49ee9c211..31ee64e7bab63 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /undefined.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /undefinedAlias.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -117,7 +117,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -168,6 +168,47 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/undefined.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/undefinedAlias.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -216,6 +257,40 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/undefined.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/undefinedAlias.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js index d761486092f60..52c09a6f4a4a5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -180,6 +180,44 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.js *new* + version: Text-1 + containingProjects: 1 + /jsconfig.json +/jsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /jsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /jsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /jsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /jsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -228,6 +266,37 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/a.js (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /jsconfig.json *default* +/jsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /jsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /jsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /jsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 2 + /jsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js index 4279ad1cc5404..eb8c05b2d7a5a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -165,6 +165,44 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts *new* + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -211,6 +249,37 @@ watchedDirectoriesRecursive:: : {} +ScriptInfos:: +/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -1730,6 +1799,45 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -1744,6 +1852,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -1779,6 +1918,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-3 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 11, @@ -1814,6 +1984,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-4 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 13, @@ -1849,6 +2050,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-5 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 15, @@ -1884,6 +2116,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-6 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 17, @@ -1919,6 +2182,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-7 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 19, @@ -1954,6 +2248,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-8 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 21, @@ -1989,6 +2314,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-9 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 23, @@ -2024,6 +2380,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-10 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 25, @@ -2059,6 +2446,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-11 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 27, @@ -2094,6 +2512,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-12 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 29, @@ -2129,6 +2578,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-13 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 31, @@ -2164,6 +2644,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-14 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 33, @@ -2199,6 +2710,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-15 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 35, @@ -2234,6 +2776,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-16 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 37, @@ -2269,6 +2842,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-17 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 39, @@ -2304,6 +2908,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-18 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 41, @@ -2339,6 +2974,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-19 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 43, @@ -2374,6 +3040,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-20 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 45, @@ -2409,6 +3106,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-21 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 47, @@ -2444,6 +3172,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-22 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 49, @@ -2479,6 +3238,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-23 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 51, @@ -2514,6 +3304,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-24 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 53, @@ -2549,6 +3370,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-25 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 55, @@ -2584,6 +3436,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-26 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 57, @@ -2619,6 +3502,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-27 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 59, @@ -2654,6 +3568,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-28 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 61, @@ -2689,6 +3634,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-29 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 63, @@ -2724,6 +3700,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-30 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 65, @@ -2759,6 +3766,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-31 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 67, @@ -2794,6 +3832,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-32 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 69, @@ -2829,6 +3898,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-2-33 *changed* + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts + version: Text-1 + containingProjects: 2 + /tsconfig.json + /dev/null/inferredProject1* +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 71, @@ -2882,7 +3982,7 @@ Info seq [hh:mm:ss:mss] request: "command": "completionInfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js index 44ae7b6e1f029..4bc22cb005baf 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js @@ -180,7 +180,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c/index.ts 500 undefi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -265,6 +265,40 @@ watchedFiles:: /tsconfig.settings.json: *new* {"pollingInterval":2000} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/c/index.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -302,7 +336,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { ] } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -440,6 +474,14 @@ watchedFiles:: /tsconfig.settings.json: {"pollingInterval":2000} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -466,7 +508,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -512,7 +554,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -656,6 +698,55 @@ Info seq [hh:mm:ss:mss] response: } ] } +After Request +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/b/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/tsconfig.json + /b/tsconfig.json *new* +/c/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/tsconfig.json + /c/tsconfig.json *new* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /b/tsconfig.json *new* + /c/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /b/tsconfig.json *new* + /c/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /b/tsconfig.json *new* + /c/tsconfig.json *new* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -837,6 +928,41 @@ watchedFiles *deleted*:: /b/index.ts: {"pollingInterval":500} +ScriptInfos:: +/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/b/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /b/tsconfig.json *default* +/c/index.ts + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /c/tsconfig.json +/lib.d.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /b/tsconfig.json + /c/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /b/tsconfig.json + /c/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /b/tsconfig.json + /c/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 5, @@ -1309,6 +1435,41 @@ watchedFiles *deleted*:: /c/index.ts: {"pollingInterval":500} +ScriptInfos:: +/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/b/index.ts (Open) + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /b/tsconfig.json *default* +/c/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /c/tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /b/tsconfig.json + /c/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /b/tsconfig.json + /c/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /b/tsconfig.json + /c/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 9, diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js index f9cfcb23de69f..400e3efcc6099 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js @@ -223,7 +223,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c/index.ts 500 undefi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -308,6 +308,40 @@ watchedFiles:: /tsconfig.settings.json: *new* {"pollingInterval":2000} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/c/index.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -373,7 +407,7 @@ Info seq [hh:mm:ss:mss] Config: /a2/tsconfig.json : { ] } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a2/tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -522,6 +556,14 @@ watchedFiles:: /tsconfig.settings.json: {"pollingInterval":2000} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -548,7 +590,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -594,7 +636,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a2/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a2/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -932,6 +974,59 @@ watchedFiles:: /tsconfig.settings.json: {"pollingInterval":2000} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/a2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a2/index.ts *new* + version: Text-1 + containingProjects: 1 + /a2/tsconfig.json +/b/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/tsconfig.json + /a2/tsconfig.json *new* +/c/index.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /c/tsconfig.json *new* + /a2/tsconfig.json *new* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /c/tsconfig.json *new* + /a2/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /c/tsconfig.json *new* + /a2/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /c/tsconfig.json *new* + /a2/tsconfig.json *new* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -1117,6 +1212,46 @@ watchedFiles *deleted*:: /a2/index.ts: {"pollingInterval":500} +ScriptInfos:: +/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a2/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a2/tsconfig.json *default* +/b/index.ts + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /a2/tsconfig.json +/c/index.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json +/lib.d.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 5, @@ -1685,7 +1820,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/other.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -1791,6 +1926,71 @@ watchedFiles *deleted*:: /b/index.ts: {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/a2/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a2/index.ts (Open) + version: Text-1 + containingProjects: 1 + /a2/tsconfig.json *default* +/b/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json *default* *new* +/b/other.ts *new* + version: Text-1 + containingProjects: 1 + /b/tsconfig.json +/c/index.ts + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json +/lib.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json *new* + Info seq [hh:mm:ss:mss] request: { "seq": 9, @@ -2229,6 +2429,54 @@ watchedFiles *deleted*:: /c/index.ts: {"pollingInterval":500} +ScriptInfos:: +/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a2/index.ts (Open) + version: Text-1 + containingProjects: 1 + /a2/tsconfig.json *default* +/b/index.ts (Open) + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json *default* +/b/other.ts + version: Text-1 + containingProjects: 1 + /b/tsconfig.json +/c/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 3 + /a/tsconfig.json + /c/tsconfig.json *default* + /a2/tsconfig.json +/lib.d.ts + version: Text-1 + containingProjects: 4 + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 4 + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 4 + /a/tsconfig.json + /c/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 13, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js index 5c8ae50abaa95..bc56234c301a0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -108,6 +108,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsdocCallbackTag.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js index a09dff619e167..a4d16e75be4c0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -92,6 +92,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocCallback.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js index cf06eb59db359..3b13adf03ada6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -94,6 +94,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocCallback.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js index 27b8c015e7279..8a5479221b86a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -92,6 +92,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/test.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js index a5bd2311869d1..d08d772ffd6f3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -133,6 +133,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsdocCompletion_typedef.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js index 133f959e5c3d3..ad2fb05681672 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -97,6 +97,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsdocCompletion_typedef.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js index 961e3115680fb..e3e59b08d6df0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -103,6 +103,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsdocCompletion_typedef.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js index 3288a859fe123..25682cb68ff60 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -101,6 +101,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsdocCompletion_typedef.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js index c13e6f0a3e686..47e2507bda379 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -97,6 +97,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsdocCompletion_typedef.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js index c4a21c051d470..7679ad3f119ad 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -93,6 +93,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocTypedef_form2.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js index 29d43c3173d64..eb68cff8c9d38 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -94,6 +94,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocTypedef_form1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js index 18cb2171db832..ac7869af9fabf 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -91,6 +91,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocTypedef_form2.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js index 7b73376815736..1b69a65b3c099 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -96,6 +96,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocTypedef_form3.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js index c11150f9766bf..cdc665a7304f3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -99,6 +99,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocTypedef_form2.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -152,6 +175,30 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocTypedef_form2.js (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -166,6 +213,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocTypedef_form2.js (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -201,6 +267,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocTypedef_form2.js (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -236,6 +321,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsDocTypedef_form2.js (Open) *changed* + version: SVC-1-4 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -269,7 +373,7 @@ Info seq [hh:mm:ss:mss] request: "command": "quickinfo" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text diff --git a/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js b/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js index ade05d87033d2..0a364963050f6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /target.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -161,6 +161,33 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/source.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/target.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/navbar01.js b/tests/baselines/reference/tsserver/fourslashServer/navbar01.js index 9751b3d7e26c1..7597eb459aa80 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navbar01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navbar01.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -123,6 +123,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/navbar01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/navto01.js b/tests/baselines/reference/tsserver/fourslashServer/navto01.js index 7b993109bb31f..1fc4090b22318 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto01.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -101,6 +101,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/navto01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js index fbd244ccbdce3..cfc78588060b7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/bar/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text @@ -132,6 +132,33 @@ watchedDirectoriesRecursive:: : *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js index 78b7dbd7585be..6f89994425fb6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -186,6 +186,39 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -242,6 +275,32 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js index 7366dceb61c55..f37c5671ffdcd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -186,6 +186,39 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -242,6 +275,32 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js index b166147ed74f4..11441542f7ca1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -185,6 +185,39 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -241,6 +274,32 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js index b959383a2c14b..438fa500f6c7f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -185,6 +185,39 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -241,6 +274,32 @@ watchedDirectoriesRecursive:: {} {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js index 267e94d6dc3e2..9e2151feb1d77 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /tests/cases/fourslash/server/src/example.ts Text-1 "export function helloWorld() {\n console.log('Hello, world!')\n}" @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -263,6 +263,40 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/src/example.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -328,6 +362,33 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/src: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/src/example.ts + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/src/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js index c17f8c0da5eb4..ba7a463c37546 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -96,6 +96,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/package.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -130,7 +153,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.esnext.full.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /src/foo.ts SVC-1-0 "import { fooFromIndex } from \"\";" @@ -147,7 +170,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependen Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -266,6 +289,48 @@ watchedFiles:: /tsconfig.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -350,6 +415,49 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, @@ -364,6 +472,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -399,6 +538,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -434,6 +604,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-4 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -469,6 +670,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-5 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 12, @@ -504,6 +736,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-6 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 14, @@ -539,6 +802,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-7 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 16, @@ -574,6 +868,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-8 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 18, @@ -609,6 +934,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-9 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 20, @@ -644,6 +1000,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-10 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 22, @@ -679,6 +1066,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-11 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 24, @@ -714,6 +1132,37 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-12 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 26, @@ -765,7 +1214,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -836,6 +1285,49 @@ watchedFiles:: /tsconfig.json: {"pollingInterval":2000} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /tsconfig.json *new* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) + version: SVC-1-12 + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 29, @@ -850,6 +1342,50 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /tsconfig.json +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-13 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 30, @@ -864,6 +1400,38 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/autoImportProviderProject1* + /tsconfig.json +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) *changed* + version: SVC-1-14 *changed* + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 31, @@ -915,7 +1483,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /src/foo.ts SVC-1-14 "import { fooFromIndex } from \"dependency/l\";" @@ -978,3 +1546,46 @@ watchedFiles:: watchedFiles *deleted*:: /node_modules/dependency/lib/package.json: {"pollingInterval":2000} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/dependency/lib/index.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/autoImportProviderProject1* + /tsconfig.json *deleted* +/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/node_modules/dependency/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/foo.ts (Open) + version: SVC-1-14 + containingProjects: 1 + /tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js b/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js index 63f18bf962853..e6c47b60b3b2b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -70,6 +70,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/project/mod.d.html.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -82,7 +105,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /project Info seq [hh:mm:ss:mss] For info: /project/usage.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -114,6 +137,40 @@ Info seq [hh:mm:ss:mss] FileName: /project/mod.d.html.ts ProjectRootPath: unde Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /project/usage.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/project/mod.d.html.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/project/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js b/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js index 35636fb604ef8..ec01145875fa1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -95,6 +95,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/occurrences01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js b/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js index c750a232c1147..51eefff2d1d13 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -89,6 +89,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/occurrences02.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/openFile.js b/tests/baselines/reference/tsserver/fourslashServer/openFile.js index 9c324e3cb0621..11f82057236c2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFile.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -136,6 +136,33 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/test.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/test1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -150,7 +177,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/test.ts :: Config file name: /tests/cases/fourslash/server/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -194,6 +221,34 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: {} +Projects:: +/tests/cases/fourslash/server/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/test.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/test1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js index c265eae051013..b838984a002ca 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -94,6 +94,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/dumbFile.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -115,7 +138,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -174,6 +197,39 @@ watchedDirectoriesRecursive:: {} {} *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/tests/cases/fourslash/server/dumbFile.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/tests/cases/fourslash/server/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js index e254cbcc6129d..4abe24cb9ddf8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -97,6 +97,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -161,7 +184,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -252,6 +275,40 @@ watchedDirectoriesRecursive *deleted*:: /tests/cases/fourslash/server/node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/tests/cases/fourslash/server/a.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* +/tests/cases/fourslash/server/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 4, @@ -301,7 +358,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /lib.d.ts Text-1 lib.d.ts-Text @@ -401,6 +458,45 @@ watchedDirectoriesRecursive *deleted*:: /tests/cases/fourslash/server/node_modules/@types: {} +Projects:: +/dev/null/inferredProject2* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject3* *new* + /dev/null/inferredProject2* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject3* *new* + /dev/null/inferredProject2* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject3* *new* + /dev/null/inferredProject2* *deleted* +/tests/cases/fourslash/server/a.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject3* *default* *new* + /dev/null/inferredProject2* *deleted* +/tests/cases/fourslash/server/b.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject3* *default* *new* + /dev/null/inferredProject2* *deleted* +/tests/cases/fourslash/server/c.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -451,7 +547,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject4* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject4* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject4* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -514,6 +610,47 @@ watchedDirectoriesRecursive:: {} {} *new* +Projects:: +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject4* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject3* + /dev/null/inferredProject4* *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject3* + /dev/null/inferredProject4* *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject3* + /dev/null/inferredProject4* *new* +/tests/cases/fourslash/server/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* +/tests/cases/fourslash/server/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* +/tests/cases/fourslash/server/c.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* +/tests/cases/fourslash/server/d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject4* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js index 25c7b4985780d..4b4afd0848c7e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -136,6 +136,33 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/b.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js index 408a65a56eebc..3b01dfa762e9b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -164,6 +164,33 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/b.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js index 75bac0c74b58a..90ff8759b29b7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -100,6 +100,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/quickinfo01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js index 4fc2091a07183..dc3119f32047f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -99,6 +99,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/quickinfoWrongComment.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js b/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js index d918d18cdcf1c..ead65481c8b6f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -87,6 +87,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/referenceToEmptyObject.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/references01.js b/tests/baselines/reference/tsserver/fourslashServer/references01.js index 96355422405e9..a37f0d84062ce 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/references01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/references01.js @@ -34,7 +34,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -69,6 +69,29 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/referencesForGlobals_1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -81,7 +104,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /referencesForGlobals_2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -131,6 +154,41 @@ Info seq [hh:mm:ss:mss] FileName: /referencesForGlobals_1.ts ProjectRootPath: Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileName: /referencesForGlobals_2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/referencesForGlobals_1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* +/referencesForGlobals_2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js index 01b5923fb2f75..bc3d37b504fe4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -120,6 +120,33 @@ watchedFiles:: /tsconfig.json: *new* {"pollingInterval":2000} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/referencesForGlobals_1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/referencesForGlobals_2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -156,6 +183,29 @@ watchedFiles *deleted*:: /referencesForGlobals_2.ts: {"pollingInterval":500} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/referencesForGlobals_1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/referencesForGlobals_2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js index 97c1e4d833b78..1d221cee7aa38 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -87,6 +87,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/referencesInEmptyFile.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js index 808016795b8ee..fb0c1029117df 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/b.ts 500 undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -103,7 +103,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -148,6 +148,43 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/b.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -190,6 +227,36 @@ watchedFiles *deleted*:: /a/a.ts: {"pollingInterval":500} +ScriptInfos:: +/a/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/b.ts + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/lib.d.ts + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -244,7 +311,7 @@ Info seq [hh:mm:ss:mss] Config: /b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -319,6 +386,51 @@ watchedFiles *deleted*:: /b/b.ts: {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/tsconfig.json + /b/tsconfig.json *default* *new* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /b/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /b/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /b/tsconfig.json *new* + Info seq [hh:mm:ss:mss] request: { "seq": 4, diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js index 9967850d2f0a0..4b711a9a880f4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/b.ts 500 undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -103,7 +103,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -148,6 +148,43 @@ watchedFiles:: /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/b.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -190,6 +227,36 @@ watchedFiles *deleted*:: /a/a.ts: {"pollingInterval":500} +ScriptInfos:: +/a/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/b.ts + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/lib.d.ts + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /a/tsconfig.json + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -265,7 +332,7 @@ Info seq [hh:mm:ss:mss] Config: /b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -340,6 +407,51 @@ watchedFiles *deleted*:: /b/b.ts: {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) + version: Text-1 + containingProjects: 1 + /a/tsconfig.json *default* +/a/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/tsconfig.json + /b/tsconfig.json *default* *new* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /b/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /b/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/tsconfig.json + /dev/null/inferredProject1* + /b/tsconfig.json *new* + Info seq [hh:mm:ss:mss] request: { "seq": 4, diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js b/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js index a682f66c9162a..cbc5315499460 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -87,6 +87,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/referencesToNonPropertyNameStringLiteral.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js b/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js index 16d2fbad77997..f2c8a3b4e3f1c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -87,6 +87,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/referencesToStringLiteralValue.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/rename01.js b/tests/baselines/reference/tsserver/fourslashServer/rename01.js index 8064f8d10b193..6fe0bc7a691fe 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rename01.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -94,6 +94,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/rename01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js b/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js index ffe0c841cfbf8..95fabea089786 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -136,6 +136,33 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json +/tests/cases/fourslash/server/referencesForGlobals_1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json *default* +/tests/cases/fourslash/server/referencesForGlobals_2.ts *new* + version: Text-1 + containingProjects: 1 + /tests/cases/fourslash/server/tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js index 37040cc40deb1..1457a19582dc4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /lib/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /lib/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -152,6 +152,39 @@ watchedDirectoriesRecursive:: /lib: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/lib/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib/index.ts *new* + version: Text-1 + containingProjects: 1 + /lib/tsconfig.json +/lib/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -196,6 +229,32 @@ watchedDirectoriesRecursive:: /lib: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /lib/tsconfig.json *default* +/lib/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -230,7 +289,7 @@ Info seq [hh:mm:ss:mss] Config: /src/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /src 1 undefined Config: /src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src 1 undefined Config: /src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /src/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -310,6 +369,50 @@ watchedDirectoriesRecursive:: /src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/lib/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /lib/tsconfig.json + /dev/null/inferredProject1* + /src/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /lib/tsconfig.json + /dev/null/inferredProject1* + /src/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /lib/tsconfig.json + /dev/null/inferredProject1* + /src/tsconfig.json *new* +/lib/index.ts (Open) *changed* + version: Text-1 + containingProjects: 2 *changed* + /lib/tsconfig.json *default* + /src/tsconfig.json *new* +/lib/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /src/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js index a352966f5245e..34ee4e715bbb6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /lib/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /lib/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -152,6 +152,39 @@ watchedDirectoriesRecursive:: /lib: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/lib/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib/index.ts *new* + version: Text-1 + containingProjects: 1 + /lib/tsconfig.json +/lib/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -196,6 +229,32 @@ watchedDirectoriesRecursive:: /lib: {} +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /lib/tsconfig.json + /dev/null/inferredProject1* +/lib/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /lib/tsconfig.json *default* +/lib/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -230,7 +289,7 @@ Info seq [hh:mm:ss:mss] Config: /src/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /src 1 undefined Config: /src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src 1 undefined Config: /src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /src/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -310,6 +369,50 @@ watchedDirectoriesRecursive:: /src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/lib/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /lib/tsconfig.json + /dev/null/inferredProject1* + /src/tsconfig.json *new* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /lib/tsconfig.json + /dev/null/inferredProject1* + /src/tsconfig.json *new* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /lib/tsconfig.json + /dev/null/inferredProject1* + /src/tsconfig.json *new* +/lib/index.ts (Open) *changed* + version: Text-1 + containingProjects: 2 *changed* + /lib/tsconfig.json *default* + /src/tsconfig.json *new* +/lib/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /src/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, diff --git a/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js b/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js index c1f0c03670b55..113839fa1d610 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -90,6 +90,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/semanticClassificationJs1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js b/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js index ea7b14752fd72..8f2c8bc36f85e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -92,6 +92,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/signatureHelp01.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js b/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js index 7b46ebf6995f4..513c8e6832ca9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -108,6 +108,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/jsdocCallbackTag.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js index 4ac1d227cc4d3..7974bd806c637 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /index.ts 500 undefine Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/pkg/import.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.esnext.full.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /node_modules/pkg/import.d.ts Text-1 "export {};\nexport interface PkgImportInterface { field: any; }\ndeclare global { const pkgImportGlobal: PkgImportInterface; }" @@ -168,7 +168,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -218,6 +218,40 @@ watchedFiles:: /tsconfig.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/pkg/import.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -264,6 +298,33 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +ScriptInfos:: +/index.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/pkg/import.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js index d3bbb78704e23..ee844fb4aad49 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tests/cases/fourslash/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tests/cases/fourslash/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /lib.d.ts Text-1 lib.d.ts-Text @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -206,6 +206,35 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 2 + /tests/cases/fourslash/server/tsconfig.json + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js index 2d4c9ede99e1f..8a69dbbded8e1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -87,6 +87,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, @@ -101,6 +124,30 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 2, @@ -115,6 +162,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 3, @@ -150,6 +216,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 5, @@ -164,6 +249,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-4 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -199,6 +303,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-5 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 8, @@ -234,6 +357,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-6 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -269,6 +411,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-7 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 12, @@ -283,6 +444,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-8 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 13, @@ -318,6 +498,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-9 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 15, @@ -332,6 +531,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-10 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 16, @@ -367,6 +585,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-11 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 18, @@ -402,6 +639,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-12 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 20, @@ -437,6 +693,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-13 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 22, @@ -451,6 +726,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-14 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 23, @@ -486,6 +780,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-15 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 25, @@ -500,6 +813,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-16 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 26, @@ -535,6 +867,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-17 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 28, @@ -570,6 +921,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-18 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 30, @@ -605,6 +975,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-19 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 32, @@ -640,6 +1029,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-20 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 34, @@ -654,6 +1062,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-21 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 35, @@ -689,6 +1116,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-22 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 37, @@ -703,6 +1149,25 @@ Info seq [hh:mm:ss:mss] request: }, "command": "change" } +After Request +ScriptInfos:: +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/tsxIncrementalServer.ts (Open) *changed* + version: SVC-1-23 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 38, diff --git a/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js b/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js index ba8f30868629c..0fe0b0d430077 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts Text-1 lib.d.ts-Text @@ -89,6 +89,29 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/typeReferenceOnServer.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js index 9a58e8bac30b9..6d63fdd8d8298 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /lib.d.ts Text-1 lib.d.ts-Text @@ -97,6 +97,33 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/node_modules/@types: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "seq": 1, diff --git a/tests/baselines/reference/tsserver/getApplicableRefactors/works-when-taking-position.js b/tests/baselines/reference/tsserver/getApplicableRefactors/works-when-taking-position.js index b07e2490eacb8..ad1420bee78df 100644 --- a/tests/baselines/reference/tsserver/getApplicableRefactors/works-when-taking-position.js +++ b/tests/baselines/reference/tsserver/getApplicableRefactors/works-when-taking-position.js @@ -18,7 +18,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "" @@ -45,6 +45,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js index e94586b150e0c..947f271bdbca4 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined Project: /tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "import {} from \"./b\";" @@ -214,6 +214,17 @@ FsWatches:: /tsconfig.json: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -309,7 +320,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c.ts SVC-1-0 "export {};" @@ -338,6 +349,24 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/c.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js index c3c6f0a8c9c9d..e4ec2ee7d4e1a 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/old.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/old.ts Text-1 "export const x = 0;" @@ -201,6 +201,21 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/old.ts *new* + version: Text-1 + containingProjects: 1 + /a/tsconfig.json +/a/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -238,7 +253,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/old.ts Text-1 "export const x = 0;" @@ -393,6 +408,29 @@ FsWatchesRecursive:: /b: *new* {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/old.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/tsconfig.json + /b/tsconfig.json *new* +/a/user.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/b/user.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js index 1206f2f3f90d4..606747051b074 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /mod.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /mod.ts Text-1 "export const value = 0;\nexport const [valueA, valueB] = [0, 1];\nexport const { valueC, valueD: renamedD } = { valueC: 0, valueD: 1 };\nexport const { nest: [valueE, { valueF }] } = { nest: [0, { valueF: 1 }] };\n" @@ -200,6 +200,21 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/mod.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -245,6 +260,17 @@ FsWatchesRecursive:: /: {} +ScriptInfos:: +/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/mod.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js index 123989a88c096..ea16edb861e92 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /mod.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /mod.ts Text-1 "export const value = 0;\nexport const [valueA, valueB] = [0, 1];\nexport const { valueC, valueD: renamedD } = { valueC: 0, valueD: 1 };\nexport const { nest: [valueE, { valueF }] } = { nest: [0, { valueF: 1 }] };\n" @@ -200,6 +200,21 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/mod.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -245,6 +260,17 @@ FsWatchesRecursive:: /: {} +ScriptInfos:: +/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/mod.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js index 3dd7b74fad962..a6b99a7e4d958 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /mod.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /mod.ts Text-1 "export const value = 0;\nexport const [valueA, valueB] = [0, 1];\nexport const { valueC, valueD: renamedD } = { valueC: 0, valueD: 1 };\nexport const { nest: [valueE, { valueF }] } = { nest: [0, { valueF: 1 }] };\n" @@ -200,6 +200,21 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/mod.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -245,6 +260,17 @@ FsWatchesRecursive:: /: {} +ScriptInfos:: +/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/mod.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js b/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js index bef0661c5f33a..cf8caccd3f444 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js +++ b/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /mod.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /mod.ts Text-1 "export const value = 0;\nexport const [valueA, valueB] = [0, 1];\nexport const { valueC, valueD: renamedD } = { valueC: 0, valueD: 1 };\nexport const { nest: [valueE, { valueF }] } = { nest: [0, { valueF: 1 }] };\n" @@ -200,6 +200,21 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/mod.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -245,6 +260,17 @@ FsWatchesRecursive:: /: {} +ScriptInfos:: +/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/mod.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js index 762e11f3efff5..ef0f73bddc325 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /mod.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /mod.ts Text-1 "export const value = 0;\nexport const [valueA, valueB] = [0, 1];\nexport const { valueC, valueD: renamedD } = { valueC: 0, valueD: 1 };\nexport const { nest: [valueE, { valueF }] } = { nest: [0, { valueF: 1 }] };\n" @@ -200,6 +200,21 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/mod.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -245,6 +260,17 @@ FsWatchesRecursive:: /: {} +ScriptInfos:: +/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/mod.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js b/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js index 804fba2906de9..bc38d90fa2e88 100644 --- a/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js +++ b/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/c.ts 500 unde Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /project/a.ts SVC-1-0 "export const a = {};" @@ -220,6 +220,29 @@ FsWatchesRecursive:: /project: *new* {} +Projects:: +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/c.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -269,6 +292,25 @@ FsWatchesRecursive:: /project: {} +ScriptInfos:: +/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/c.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -318,6 +360,25 @@ FsWatchesRecursive:: /project: {} +ScriptInfos:: +/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -367,6 +428,25 @@ FsWatchesRecursive:: /project: {} +ScriptInfos:: +/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/c.ts (Open) + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/d.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js b/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js index 85c6f1f10f38f..a58ba6d71cb22 100644 --- a/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js +++ b/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/c.ts 500 unde Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /project/a.ts SVC-1-0 "export const a = {};" @@ -220,6 +220,29 @@ FsWatchesRecursive:: /project: *new* {} +Projects:: +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/c.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -269,6 +292,25 @@ FsWatchesRecursive:: /project: {} +ScriptInfos:: +/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/c.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -318,6 +360,25 @@ FsWatchesRecursive:: /project: {} +ScriptInfos:: +/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -367,6 +428,25 @@ FsWatchesRecursive:: /project: {} +ScriptInfos:: +/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/c.ts (Open) + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/d.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js index 27c432f1513f5..9d551ab7587a7 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/file3.d.ts 500 unde Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib.es6.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /file1.d.ts SVC-1-0 "class C {}" @@ -216,6 +216,29 @@ FsWatches:: /tsconfig.json: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/file3.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/a/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/a/lib.es6.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/file1.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js index 5ed84ac417eb0..428057ee8ae8d 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /file4.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /file5.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /file1.js SVC-1-0 "class C {}" @@ -242,6 +242,33 @@ FsWatches:: /tsconfig.json: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/file1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/file2.js *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/file3.mts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/file4.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/file5.js *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js index 600d7519555f8..dffc3266f1d28 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /file6.d.ts 500 undefi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /file7.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /file1.ts SVC-1-0 "interface ka {\n name: string;\n }\n " @@ -257,6 +257,41 @@ FsWatches:: /tsconfig.json: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/file2.tsx *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/file3.mts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/file4.cts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/file5.js *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/file6.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/file7.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js index 2d5570c7bcaa6..7e6c624059626 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /project/a/file1.ts SVC-1-0 "interface ka {\n name: string;\n }\n " @@ -240,6 +240,37 @@ FsWatchesRecursive:: /project/node_modules: *new* {} +Projects:: +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/project/a/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/a/file4.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/b/file2.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/d/e/file3.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/node_modules/.cache/someFile.d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/node_modules/@types/node/someFile.d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS.js b/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS.js index 680a6ef3d326e..6db9c52dee325 100644 --- a/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS.js +++ b/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/babel-l Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/babel-loader/src 1 undefined Config: /packages/babel-loader/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/babel-loader/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2018.full.d.ts 500 undefined Project: /packages/babel-loader/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/babel-loader/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/babel-loader/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/babel-loader/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /packages/babel-loader/src/index.ts SVC-1-0 "\ndeclare class Stuff {\n /** For more thorough tests, use {@link checkFooIs} */\n checkFooLengthIs(len: number): void;\n\n checkFooIs(value: object): void;\n}\n" @@ -233,6 +233,17 @@ FsWatchesRecursive:: /packages/babel-loader/src: *new* {} +Projects:: +/packages/babel-loader/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/packages/babel-loader/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/babel-loader/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS2.js b/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS2.js index e54567bff444b..064b679a1a6e7 100644 --- a/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS2.js +++ b/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS2.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/babel-l Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/babel-loader/src 1 undefined Config: /packages/babel-loader/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/babel-loader/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2018.full.d.ts 500 undefined Project: /packages/babel-loader/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/babel-loader/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/babel-loader/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/babel-loader/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /packages/babel-loader/src/index.ts SVC-1-0 "\ndeclare class Stuff {\n /**\n * Register a function to be run on mod initialization...\n *\n * {@link https://lua-api.factorio.com/latest/LuaBootstrap.html#LuaBootstrap.on_init View documentation}\n * @param f The handler for this event. Passing nil will unregister it.\n * @remarks For more context, refer to the {@link https://lua-api.factorio.com/latest/Data-Lifecycle.html Data Lifecycle} page.\n * @example Initialize a players table in global for later use.\n *\n */\n on_init(f: (() => void) | undefined): void\n}\n" @@ -239,6 +239,17 @@ FsWatchesRecursive:: /packages/babel-loader/src: *new* {} +Projects:: +/packages/babel-loader/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/packages/babel-loader/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/babel-loader/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js b/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js index 2628492c95746..fee6267ddbd44 100644 --- a/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js +++ b/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js @@ -30,7 +30,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: p Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: p WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: p Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: p projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'p' (External) Info seq [hh:mm:ss:mss] Files (2) /a/node_modules/tslib/index.d.ts Text-1 "" @@ -82,6 +82,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'p' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -100,3 +105,18 @@ FsWatches:: FsWatchesRecursive:: /a/node_modules: *new* {} + +Projects:: +p (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.ts *new* + version: Text-1 + containingProjects: 1 + p +/a/node_modules/tslib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + p diff --git a/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js b/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js index c9cc2b5962b40..f107bd1103255 100644 --- a/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js +++ b/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js @@ -23,7 +23,7 @@ Info seq [hh:mm:ss:mss] Search path: ^/untitled/ts-nul-authority Info seq [hh:mm:ss:mss] For info: ^/untitled/ts-nul-authority/Untitled-1 :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) ^/untitled/ts-nul-authority/Untitled-1 SVC-1-0 "export function foo() {\r\n /*$*/return bar;\r\n}\r\n\r\nexport function bar(x: T) {\r\n return x;\r\n}\r\n\r\nlet x = foo()(42);" @@ -51,6 +51,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +^/untitled/ts-nul-authority/Untitled-1 (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/inconsistentErrorInEditor2/should-not-error.js b/tests/baselines/reference/tsserver/inconsistentErrorInEditor2/should-not-error.js index ccf5d4ae1079a..5d7cf8ccc134a 100644 --- a/tests/baselines/reference/tsserver/inconsistentErrorInEditor2/should-not-error.js +++ b/tests/baselines/reference/tsserver/inconsistentErrorInEditor2/should-not-error.js @@ -23,7 +23,7 @@ Info seq [hh:mm:ss:mss] Search path: ^/untitled/ts-nul-authority Info seq [hh:mm:ss:mss] For info: ^/untitled/ts-nul-authority/Untitled-1 :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) ^/untitled/ts-nul-authority/Untitled-1 SVC-1-0 "function fn(Foo: number) {\r\n type Foo = typeof Foo;\r\n return 0 as any as {x: Foo};\r\n}" @@ -51,6 +51,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +^/untitled/ts-nul-authority/Untitled-1 (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js index 46ada4bb9f37f..0900e4e4f83bd 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js +++ b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -92,3 +92,22 @@ FsWatches:: {} /user/username/projects/myproject/module.d.ts: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/module.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/inferredProjects/disable-inferred-project.js b/tests/baselines/reference/tsserver/inferredProjects/disable-inferred-project.js index b8334bbc20653..199be2228ac90 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/disable-inferred-project.js +++ b/tests/baselines/reference/tsserver/inferredProjects/disable-inferred-project.js @@ -15,7 +15,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -30,4 +30,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + LanguageServiceEnabled:: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-insensitive-system.js b/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-insensitive-system.js index b866df2fffd52..5f46483cab981 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-insensitive-system.js +++ b/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-insensitive-system.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "let x = 1;" @@ -89,6 +89,17 @@ PolledWatches:: /a/lib/lib.es6.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -220,6 +231,11 @@ PolledWatches:: /a/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -237,7 +253,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /A Info seq [hh:mm:ss:mss] For info: /A/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/file1.ts SVC-1-0 "let x = 1;" @@ -348,6 +364,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/A/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -366,7 +397,7 @@ Info seq [hh:mm:ss:mss] Search path: /b Info seq [hh:mm:ss:mss] For info: /b/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b/file2.ts SVC-1-0 "let x = 3;" @@ -501,6 +532,28 @@ PolledWatches:: /b/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -518,7 +571,7 @@ Info seq [hh:mm:ss:mss] Search path: /c Info seq [hh:mm:ss:mss] For info: /c/file3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject3* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c/file3.ts SVC-1-0 "let z = 4;" @@ -663,6 +716,35 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/c/file3.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -722,6 +804,37 @@ FsWatches:: /a/file1.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/c/file3.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -781,6 +894,26 @@ FsWatches:: /a/file1.ts: {} +ScriptInfos:: +/A/file2.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/c/file3.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -840,6 +973,37 @@ FsWatches:: /b/file2.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 3 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject2* *deleted* +/c/file3.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -899,6 +1063,37 @@ FsWatches:: /c/file3.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 3 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject3* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -917,7 +1112,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/file1.ts 500 undefi Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "let x = 1;" @@ -1101,6 +1296,37 @@ FsWatches *deleted*:: /c/file3.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* +/dev/null/inferredProject2* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts *deleted* + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/b/file2.ts *deleted* + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *deleted* + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1118,7 +1344,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /A Info seq [hh:mm:ss:mss] For info: /A/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/file1.ts SVC-1-0 "let x = 1;" @@ -1229,6 +1455,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/A/file2.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1247,7 +1488,7 @@ Info seq [hh:mm:ss:mss] Search path: /b Info seq [hh:mm:ss:mss] For info: /b/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject4* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject4* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b/file2.ts SVC-2-0 "let x = 3;" @@ -1382,6 +1623,28 @@ PolledWatches:: /b/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 4 +/dev/null/inferredProject4* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject4* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1399,7 +1662,7 @@ Info seq [hh:mm:ss:mss] Search path: /c Info seq [hh:mm:ss:mss] For info: /c/file3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject5* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject5* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c/file3.ts SVC-2-0 "let z = 4;" @@ -1544,6 +1807,35 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 4 +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject4* *default* +/c/file3.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject5* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1603,6 +1895,37 @@ FsWatches:: /a/file1.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 4 +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject4* *default* +/c/file3.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject5* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1662,6 +1985,26 @@ FsWatches:: /a/file1.ts: {} +ScriptInfos:: +/A/file2.ts *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject4* *default* +/c/file3.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject5* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1721,6 +2064,37 @@ FsWatches:: /b/file2.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 5 + projectProgramVersion: 4 +/dev/null/inferredProject4* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject4* *deleted* +/c/file3.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject5* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1780,6 +2154,37 @@ FsWatches:: /c/file3.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 5 + projectProgramVersion: 4 +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject5* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -1826,7 +2231,7 @@ Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2017.full.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "let x = 1;" @@ -2012,6 +2417,37 @@ FsWatches *deleted*:: /c/file3.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 5 + projectProgramVersion: 5 *changed* +/dev/null/inferredProject4* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts *deleted* + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/b/file2.ts *deleted* + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *deleted* + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -2029,7 +2465,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /A Info seq [hh:mm:ss:mss] For info: /A/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 6 projectProgramVersion: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/file1.ts SVC-1-0 "let x = 1;" @@ -2140,6 +2576,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 6 *changed* + projectProgramVersion: 6 *changed* + +ScriptInfos:: +/A/file2.ts (Open) *new* + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2158,7 +2609,7 @@ Info seq [hh:mm:ss:mss] Search path: /b Info seq [hh:mm:ss:mss] For info: /b/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject6* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject6* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject6* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject6* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b/file2.ts SVC-3-0 "let x = 3;" @@ -2293,6 +2744,28 @@ PolledWatches:: /b/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 6 + projectProgramVersion: 6 +/dev/null/inferredProject6* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) *new* + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject6* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2310,7 +2783,7 @@ Info seq [hh:mm:ss:mss] Search path: /c Info seq [hh:mm:ss:mss] For info: /c/file3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject7* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject7* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject7* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject7* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c/file3.ts SVC-3-0 "let z = 4;" @@ -2455,6 +2928,35 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 6 + projectProgramVersion: 6 +/dev/null/inferredProject6* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject7* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject6* *default* +/c/file3.ts (Open) *new* + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject7* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2514,6 +3016,37 @@ FsWatches:: /a/file1.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 7 *changed* + projectProgramVersion: 6 +/dev/null/inferredProject6* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject7* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject6* *default* +/c/file3.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject7* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2573,6 +3106,26 @@ FsWatches:: /a/file1.ts: {} +ScriptInfos:: +/A/file2.ts *changed* + open: false *changed* + version: SVC-3-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject6* *default* +/c/file3.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject7* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2632,6 +3185,37 @@ FsWatches:: /b/file2.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 7 + projectProgramVersion: 6 +/dev/null/inferredProject6* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject7* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts *changed* + open: false *changed* + version: SVC-3-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject6* *deleted* +/c/file3.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject7* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2691,6 +3275,37 @@ FsWatches:: /c/file3.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 7 + projectProgramVersion: 6 +/dev/null/inferredProject6* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject7* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *changed* + open: false *changed* + version: SVC-3-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject7* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -2709,7 +3324,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/file1.ts 500 undefi Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 7 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 7 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "let x = 1;" @@ -2893,6 +3508,37 @@ FsWatches *deleted*:: /c/file3.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 7 + projectProgramVersion: 7 *changed* +/dev/null/inferredProject6* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject7* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts *deleted* + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/b/file2.ts *deleted* + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *deleted* + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -2910,7 +3556,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /A Info seq [hh:mm:ss:mss] For info: /A/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 8 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 8 projectProgramVersion: 7 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/file1.ts SVC-1-0 "let x = 1;" @@ -3021,6 +3667,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 8 *changed* + projectProgramVersion: 8 *changed* + +ScriptInfos:: +/A/file2.ts (Open) *new* + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3039,7 +3700,7 @@ Info seq [hh:mm:ss:mss] Search path: /b Info seq [hh:mm:ss:mss] For info: /b/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject8* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject8* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b/file2.ts SVC-4-0 "let x = 3;" @@ -3174,6 +3835,28 @@ PolledWatches:: /b/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 8 + projectProgramVersion: 8 +/dev/null/inferredProject8* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) *new* + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject8* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3191,7 +3874,7 @@ Info seq [hh:mm:ss:mss] Search path: /c Info seq [hh:mm:ss:mss] For info: /c/file3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject9* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject9* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject9* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject9* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject9*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c/file3.ts SVC-4-0 "let z = 4;" @@ -3336,6 +4019,35 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 8 + projectProgramVersion: 8 +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject8* *default* +/c/file3.ts (Open) *new* + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject9* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3395,6 +4107,37 @@ FsWatches:: /a/file1.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 9 *changed* + projectProgramVersion: 8 +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject8* *default* +/c/file3.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject9* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3454,6 +4197,26 @@ FsWatches:: /a/file1.ts: {} +ScriptInfos:: +/A/file2.ts *changed* + open: false *changed* + version: SVC-4-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject8* *default* +/c/file3.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject9* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3513,6 +4276,37 @@ FsWatches:: /b/file2.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 9 + projectProgramVersion: 8 +/dev/null/inferredProject8* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-4-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts *changed* + open: false *changed* + version: SVC-4-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject8* *deleted* +/c/file3.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject9* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3571,3 +4365,34 @@ FsWatches:: {} /c/file3.ts: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 9 + projectProgramVersion: 8 +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-4-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts + version: SVC-4-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *changed* + open: false *changed* + version: SVC-4-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject9* *deleted* diff --git a/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-sensitive-system.js b/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-sensitive-system.js index 395f643f7afe9..fdd9013119770 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-sensitive-system.js +++ b/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-sensitive-system.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "let x = 1;" @@ -89,6 +89,17 @@ PolledWatches:: /a/lib/lib.es6.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -220,6 +231,11 @@ PolledWatches:: /a/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -237,7 +253,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /A Info seq [hh:mm:ss:mss] For info: /A/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/file1.ts SVC-1-0 "let x = 1;" @@ -348,6 +364,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/A/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -366,7 +397,7 @@ Info seq [hh:mm:ss:mss] Search path: /b Info seq [hh:mm:ss:mss] For info: /b/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b/file2.ts SVC-1-0 "let x = 3;" @@ -501,6 +532,28 @@ PolledWatches:: /b/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -518,7 +571,7 @@ Info seq [hh:mm:ss:mss] Search path: /c Info seq [hh:mm:ss:mss] For info: /c/file3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject3* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c/file3.ts SVC-1-0 "let z = 4;" @@ -663,6 +716,35 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/c/file3.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -722,6 +804,37 @@ FsWatches:: /a/file1.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/c/file3.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -781,6 +894,26 @@ FsWatches:: /a/file1.ts: {} +ScriptInfos:: +/A/file2.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/c/file3.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -840,6 +973,37 @@ FsWatches:: /b/file2.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 3 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject2* *deleted* +/c/file3.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -899,6 +1063,37 @@ FsWatches:: /c/file3.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 3 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject3* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -917,7 +1112,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/file1.ts 500 undefi Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "let x = 1;" @@ -1101,6 +1296,37 @@ FsWatches *deleted*:: /c/file3.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* +/dev/null/inferredProject2* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts *deleted* + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/b/file2.ts *deleted* + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *deleted* + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1119,7 +1345,7 @@ Info seq [hh:mm:ss:mss] Search path: /A Info seq [hh:mm:ss:mss] For info: /A/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject4* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject4* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /A/file2.ts SVC-2-0 "let y = 2;" @@ -1252,6 +1478,24 @@ PolledWatches:: /a/node_modules: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 3 + projectProgramVersion: 3 +/dev/null/inferredProject4* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject4* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1270,7 +1514,7 @@ Info seq [hh:mm:ss:mss] Search path: /b Info seq [hh:mm:ss:mss] For info: /b/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject5* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject5* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b/file2.ts SVC-2-0 "let x = 3;" @@ -1413,6 +1657,31 @@ PolledWatches:: /b/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 3 + projectProgramVersion: 3 +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject4* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject5* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1430,7 +1699,7 @@ Info seq [hh:mm:ss:mss] Search path: /c Info seq [hh:mm:ss:mss] For info: /c/file3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject6* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject6* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject6* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject6* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject6*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c/file3.ts SVC-2-0 "let z = 4;" @@ -1583,6 +1852,38 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 3 + projectProgramVersion: 3 +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject6* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject4* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject5* *default* +/c/file3.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject6* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1650,6 +1951,40 @@ FsWatches:: /a/file1.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject6* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject4* *default* +/a/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject5* *default* +/c/file3.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject6* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1717,6 +2052,40 @@ FsWatches:: /a/file1.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 3 +/dev/null/inferredProject4* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject6* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject4* *deleted* +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject5* *default* +/c/file3.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject6* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1784,6 +2153,40 @@ FsWatches:: /b/file2.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 3 +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject6* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject5* *deleted* +/c/file3.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject6* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1851,6 +2254,40 @@ FsWatches:: /c/file3.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 3 +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject6* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject6* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -1895,7 +2332,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/file1.ts 500 undefi Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before TI:: [hh:mm:ss:mss] Got install request { @@ -2098,6 +2535,40 @@ FsWatches *deleted*:: /c/file3.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 3 +/dev/null/inferredProject4* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject6* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts *deleted* + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/b/file2.ts *deleted* + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *deleted* + version: SVC-2-0 + pendingReloadFromDisk: true + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -2115,7 +2586,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /A Info seq [hh:mm:ss:mss] For info: /A/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/file1.ts SVC-1-0 "let x = 1;" @@ -2226,6 +2697,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/A/file2.ts (Open) *new* + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2244,7 +2730,7 @@ Info seq [hh:mm:ss:mss] Search path: /b Info seq [hh:mm:ss:mss] For info: /b/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject7* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject7* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject7* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject7* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b/file2.ts SVC-3-0 "let x = 3;" @@ -2379,6 +2865,28 @@ PolledWatches:: /b/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 5 + projectProgramVersion: 4 +/dev/null/inferredProject7* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) *new* + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject7* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2396,7 +2904,7 @@ Info seq [hh:mm:ss:mss] Search path: /c Info seq [hh:mm:ss:mss] For info: /c/file3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject8* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject8* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c/file3.ts SVC-3-0 "let z = 4;" @@ -2541,6 +3049,35 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 5 + projectProgramVersion: 4 +/dev/null/inferredProject7* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject8* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject7* *default* +/c/file3.ts (Open) *new* + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject8* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2600,6 +3137,37 @@ FsWatches:: /a/file1.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 6 *changed* + projectProgramVersion: 4 +/dev/null/inferredProject7* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject7* *default* +/c/file3.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject8* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2659,6 +3227,26 @@ FsWatches:: /a/file1.ts: {} +ScriptInfos:: +/A/file2.ts *changed* + open: false *changed* + version: SVC-3-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject7* *default* +/c/file3.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject8* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2718,6 +3306,37 @@ FsWatches:: /b/file2.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 6 + projectProgramVersion: 4 +/dev/null/inferredProject7* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts *changed* + open: false *changed* + version: SVC-3-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject7* *deleted* +/c/file3.ts (Open) + version: SVC-3-0 + containingProjects: 1 + /dev/null/inferredProject8* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2777,6 +3396,37 @@ FsWatches:: /c/file3.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 6 + projectProgramVersion: 4 +/dev/null/inferredProject7* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject8* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *changed* + open: false *changed* + version: SVC-3-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject8* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -2795,7 +3445,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/file1.ts 500 undefi Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 6 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "let x = 1;" @@ -2979,6 +3629,37 @@ FsWatches *deleted*:: /c/file3.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 6 + projectProgramVersion: 5 *changed* +/dev/null/inferredProject7* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject8* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts *deleted* + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/b/file2.ts *deleted* + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *deleted* + version: SVC-3-0 + pendingReloadFromDisk: true + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -2997,7 +3678,7 @@ Info seq [hh:mm:ss:mss] Search path: /A Info seq [hh:mm:ss:mss] For info: /A/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject9* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2017.full.d.ts 500 undefined Project: /dev/null/inferredProject9* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject9* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject9* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject9*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /A/file2.ts SVC-4-0 "let y = 2;" @@ -3130,6 +3811,24 @@ PolledWatches:: /a/node_modules: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 6 + projectProgramVersion: 5 +/dev/null/inferredProject9* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) *new* + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject9* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3148,7 +3847,7 @@ Info seq [hh:mm:ss:mss] Search path: /b Info seq [hh:mm:ss:mss] For info: /b/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject10* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject10* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject10* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject10* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject10*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b/file2.ts SVC-4-0 "let x = 3;" @@ -3293,6 +3992,31 @@ PolledWatches:: /b/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 6 + projectProgramVersion: 5 +/dev/null/inferredProject10* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject9* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) *new* + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject10* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3310,7 +4034,7 @@ Info seq [hh:mm:ss:mss] Search path: /c Info seq [hh:mm:ss:mss] For info: /c/file3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject11* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject11* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject11* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject11* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject11*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c/file3.ts SVC-4-0 "let z = 4;" @@ -3465,6 +4189,38 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 6 + projectProgramVersion: 5 +/dev/null/inferredProject10* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject11* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject9* *default* +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject10* *default* +/c/file3.ts (Open) *new* + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject11* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3534,6 +4290,40 @@ FsWatches:: /a/file1.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 7 *changed* + projectProgramVersion: 5 +/dev/null/inferredProject10* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject11* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject9* *default* +/a/file1.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/b/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject10* *default* +/c/file3.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject11* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3603,6 +4393,40 @@ FsWatches:: /a/file1.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 7 + projectProgramVersion: 5 +/dev/null/inferredProject10* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject11* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts *changed* + open: false *changed* + version: SVC-4-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject9* *deleted* +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject10* *default* +/c/file3.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject11* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3672,6 +4496,40 @@ FsWatches:: /b/file2.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 7 + projectProgramVersion: 5 +/dev/null/inferredProject10* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject11* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-4-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts *changed* + open: false *changed* + version: SVC-4-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject10* *deleted* +/c/file3.ts (Open) + version: SVC-4-0 + containingProjects: 1 + /dev/null/inferredProject11* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -3740,3 +4598,37 @@ FsWatches:: {} /c/file3.ts: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 7 + projectProgramVersion: 5 +/dev/null/inferredProject10* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject11* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/A/file2.ts + version: SVC-4-0 + pendingReloadFromDisk: true + containingProjects: 0 +/a/file1.ts + version: SVC-1-0 + pendingReloadFromDisk: true + containingProjects: 0 +/b/file2.ts + version: SVC-4-0 + pendingReloadFromDisk: true + containingProjects: 0 +/c/file3.ts *changed* + open: false *changed* + version: SVC-4-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject11* *deleted* diff --git a/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root.js b/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root.js index f64ecea5d5449..2ac5fc794cb21 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root.js +++ b/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.ts SVC-1-0 "let x = 1;" @@ -89,6 +89,17 @@ PolledWatches:: /a/lib/lib.esnext.full.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -220,6 +231,11 @@ PolledWatches:: /a/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -237,7 +253,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/file1.ts SVC-1-0 "let x = 1;" @@ -348,6 +364,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -366,7 +397,7 @@ Info seq [hh:mm:ss:mss] Search path: /b Info seq [hh:mm:ss:mss] For info: /b/file2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b/file2.ts SVC-1-0 "let x = 3;" @@ -501,6 +532,28 @@ PolledWatches:: /b/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -518,7 +571,7 @@ Info seq [hh:mm:ss:mss] Search path: /c Info seq [hh:mm:ss:mss] For info: /c/file3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.esnext.full.d.ts 500 undefined Project: /dev/null/inferredProject3* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /c/file3.ts SVC-1-0 "let z = 4;" @@ -662,3 +715,32 @@ PolledWatches:: {"pollingInterval":500} /node_modules: *new* {"pollingInterval":500} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/c/file3.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* diff --git a/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js b/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js index cf71ed275ac23..6452a1fd13bd5 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js +++ b/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js @@ -21,7 +21,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-1-0 "import {x} from \"mod\"" @@ -48,6 +48,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -63,7 +74,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/mod.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/mod.ts SVC-1-0 "export let x: number" @@ -92,6 +103,24 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/mod.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -120,6 +149,14 @@ Timeout callback:: count: 3 2: /dev/null/inferredProject2* *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 3 1: /dev/null/inferredProject1* 2: /dev/null/inferredProject2* @@ -127,7 +164,7 @@ Before running Timeout callback:: count: 3 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/mod.ts SVC-1-0 "export let x: number" @@ -142,7 +179,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/mod.ts SVC-1-0 "export let x: number" @@ -165,7 +202,7 @@ Info seq [hh:mm:ss:mss] FileName: /a/mod.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2*,/dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -201,5 +238,24 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/b/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/mod.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* + /dev/null/inferredProject2* *deleted* + Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false Inferred project: /dev/null/inferredProject2* isOrphan:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/inferredProjects/regression-test---should-infer-typeAcquisition-for-inferred-projects-when-set-undefined.js b/tests/baselines/reference/tsserver/inferredProjects/regression-test---should-infer-typeAcquisition-for-inferred-projects-when-set-undefined.js index 5b34a4147b574..ae84d66944d19 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/regression-test---should-infer-typeAcquisition-for-inferred-projects-when-set-undefined.js +++ b/tests/baselines/reference/tsserver/inferredProjects/regression-test---should-infer-typeAcquisition-for-inferred-projects-when-set-undefined.js @@ -18,7 +18,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/file1.js SVC-1-0 "" @@ -34,6 +34,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/file1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -168,6 +179,11 @@ PolledWatches:: /a/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + typeAcquisition : setting to undefined typeAcquisition should be inferred for inferred projects: { "enable": true, diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js index 0bb27805d4d6d..bcf8c60a3da98 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -182,6 +182,29 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/app.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/jsFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -337,6 +360,14 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -393,6 +424,30 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/app.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/jsFile1.js *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -419,7 +474,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -564,6 +619,32 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/app.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/jsFile1.js *deleted* + version: SVC-1-0 + containingProjects: 0 +/user/username/projects/myproject/jsFile2.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -593,7 +674,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -723,6 +804,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/user/username/projects/myproject/app.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/jsFile1.js (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/username/projects/myproject/jsFile2.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -803,3 +915,35 @@ FsWatches *deleted*:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/app.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/jsFile1.js (Open) + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/username/projects/myproject/jsFile2.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-support-files-without-extensions.js b/tests/baselines/reference/tsserver/inferredProjects/should-support-files-without-extensions.js index 6e70536082920..36e11222a26cf 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-support-files-without-extensions.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-support-files-without-extensions.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/compile :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/compile SVC-1-0 "let x = 1" @@ -56,6 +56,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/compile (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -183,3 +194,8 @@ PolledWatches:: {"pollingInterval":500} /a/node_modules: *new* {"pollingInterval":500} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js b/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js index b36cc8601362a..cbe77ba5e8173 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -87,6 +87,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a/b/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -103,7 +118,7 @@ Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/a/c/main.ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -156,6 +171,25 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a/b/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/a/c/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -172,7 +206,7 @@ Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/a/d/main.ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/d/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/d/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -234,6 +268,29 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a/b/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/a/c/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/a/d/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/a/b/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/a/b Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/a/b/main.ts :: Config file name: /user/username/projects/myproject/a/b/tsconfig.json @@ -293,6 +350,14 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/a/b/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 3 + projectProgramVersion: 3 +/user/username/projects/myproject/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Loading configured project /user/username/projects/myproject/a/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -325,7 +390,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/myproject/a/b/main.ts SVC-1-0 "let x =1;" @@ -480,7 +545,7 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a/d/main.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -565,3 +630,30 @@ FsWatches:: {} /user/username/projects/myproject/a/b/tsconfig.json: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 4 *changed* +/user/username/projects/myproject/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a/b/main.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/a/b/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/a/c/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/a/d/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js index d8eb557ef1ecb..a88e313afa46d 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js +++ b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -130,6 +130,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/module.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/module2.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/module3/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -185,6 +212,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/app.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/module.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/module2.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/module3/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -206,7 +261,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module3/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -221,7 +276,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module3/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -276,6 +331,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/app.ts + version: SVC-1-0 + containingProjects: 0 +/user/username/projects/myproject/module.d.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/module2.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/module3/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -437,3 +519,29 @@ FsWatches *deleted*:: FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/app.ts *deleted* + version: SVC-1-0 + containingProjects: 0 +/user/username/projects/myproject/module.d.ts (Open) + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/module2.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/module3/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js b/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js index 988ec9ddbca87..7cf825707d389 100644 --- a/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js +++ b/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile1.ts 50 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -174,6 +174,29 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -269,6 +292,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/commonFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -283,7 +329,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -344,6 +390,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile1.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/commonFile2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -358,7 +427,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js index 30953bc16ca31..9fad6110c6521 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @param x - see {@link C} */\nfunction foo (x) { }\nfoo" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js index cea8fb74fe8ee..e3f089e926d62 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @param x - see {@link C} */\nfunction foo (x) { }\nfoo" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index d5d294bee1cb2..d705fae9ad1df 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @param x - see {@link C} */\nfunction foo (x) { }\nfoo" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 0ec6acddf6e89..8aa331aabec86 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @param x - see {@link C} */\nfunction foo (x) { }\nfoo" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js index f2712cf02645d..4588cef7ffe67 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n /** {@link C} */\nvar x = 1\n;" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js index 3e41297ffeee9..d38eca0f3c908 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @wat {@link C} */\nvar x = 1" @@ -234,6 +234,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 72a5fb5bd5ce1..2f263909664aa 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n /** {@link C} */\nvar x = 1\n;" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js index 4dbf84b9eae61..5ebb7425b4ea8 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @wat {@link C} */\nvar x = 1" @@ -234,6 +234,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index 4740c15b2d0be..125ec4dfb63c1 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n /** {@link C} */\nvar x = 1\n;" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js index b234f685a785d..734291b871ff9 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @wat {@link C} */\nvar x = 1" @@ -234,6 +234,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js index ce9b401b506e7..97680c5774b3f 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n /** {@link C} */\nvar x = 1\n;" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js index 2487a7c7803ed..b3adece04f4a6 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @wat {@link C} */\nvar x = 1" @@ -234,6 +234,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js index e7976562a4d76..6d8edb8aac5ac 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @param y - {@link C} */\nfunction x(y) { }\nx(1)" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js index a3d582e7c834d..98a6dc3dd7805 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @param y - {@link C} */\nfunction x(y) { }\nx(1)" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index 37a2919e12ceb..6407b65c6a13d 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @param y - {@link C} */\nfunction x(y) { }\nx(1)" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 61f5f609b08df..89bdede02e15a 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Config: /a/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/someFile1.js SVC-1-0 "class C { }\n/** @param y - {@link C} */\nfunction x(y) { }\nx(1)" @@ -235,6 +235,17 @@ FsWatches:: /a/tsconfig.json: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/someFile1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js b/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js index 24eac81c2fa9f..b16a2555013f3 100644 --- a/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js +++ b/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/a/foo.d.ts 50 Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/shared.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/lib.d.ts 500 undefined Project: /project/a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /project/a/foo.d.ts Text-1 "export const foo_a = 1;\n" @@ -219,6 +219,25 @@ FsWatches:: /project/shared.ts: *new* {} +Projects:: +/project/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/project/a/foo.d.ts *new* + version: Text-1 + containingProjects: 1 + /project/a/tsconfig.json +/project/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/a/tsconfig.json *default* +/project/shared.ts *new* + version: Text-1 + containingProjects: 1 + /project/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -262,7 +281,7 @@ Info seq [hh:mm:ss:mss] Config: /project/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/b/foo.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/lib.d.ts 500 undefined Project: /project/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /project/b/foo.d.ts Text-1 "export const foo_b = 1;\n" @@ -423,6 +442,37 @@ FsWatches:: /project/shared.ts: {} +Projects:: +/project/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/project/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/project/a/foo.d.ts + version: Text-1 + containingProjects: 1 + /project/a/tsconfig.json +/project/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/a/tsconfig.json *default* +/project/b/foo.d.ts *new* + version: Text-1 + containingProjects: 1 + /project/b/tsconfig.json +/project/b/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/b/tsconfig.json *default* +/project/shared.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /project/a/tsconfig.json + /project/b/tsconfig.json *new* + Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /project/a/tsconfig.json:: 0 Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /project/b/tsconfig.json:: 1 Info seq [hh:mm:ss:mss] ../shared.ts(1,9): error TS2724: '"foo"' has no exported member named 'foo_a'. Did you mean 'foo_b'? diff --git a/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js b/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js index 6c600beba8efd..c4664d17f0dc2 100644 --- a/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js +++ b/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js @@ -21,7 +21,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/Lib/lib.d.ts Text-1 "let x: number" @@ -50,3 +50,18 @@ After request FsWatches:: /a/Lib/lib.d.ts: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/Lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js index 4436f77cba8a6..b0bcdd38921e3 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js @@ -304,7 +304,7 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_module Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (10) /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts Text-1 "interface WebworkerInterface { }" @@ -455,6 +455,53 @@ FsWatchesRecursive:: /home/src/projects/project1/typeroot1: *new* {} +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations @@ -473,6 +520,53 @@ Timeout callback:: count: 3 2: /home/src/projects/project1/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json @@ -514,7 +608,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not resolved. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (10) /home/src/lib/lib.dom.d.ts Text-1 "interface DOMInterface { }" @@ -612,6 +706,53 @@ FsWatchesRecursive:: /home/src/projects/project1/typeroot1: {} +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project1/file.ts 1:: WatchInfo: /home/src/projects/project1/file.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -627,13 +768,61 @@ Timeout callback:: count: 2 4: /home/src/projects/project1/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (10) /home/src/lib/lib.dom.d.ts Text-1 "interface DOMInterface { }" @@ -679,6 +868,49 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project1/core.d.ts 2:: WatchInfo: /home/src/projects/project1/core.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project1/core.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.json @@ -727,6 +959,53 @@ Timeout callback:: count: 2 8: /home/src/projects/project1/tsconfig.json *new* 9: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. @@ -734,7 +1013,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthos Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/lib/lib.dom.d.ts Text-1 "interface DOMInterface { }" @@ -801,6 +1080,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 3 *changed* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations @@ -824,6 +1108,11 @@ Timeout callback:: count: 2 11: /home/src/projects/project1/tsconfig.json *new* 12: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 3 + Before running Timeout callback:: count: 2 11: /home/src/projects/project1/tsconfig.json 12: *ensureProjectForOpenFiles* @@ -849,7 +1138,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-d Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts Text-1 "interface WebworkerInterface { }" @@ -916,6 +1205,53 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts *new* + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project1/tsconfig.json 1:: WatchInfo: /home/src/projects/project1/tsconfig.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -944,6 +1280,11 @@ Timeout callback:: count: 2 13: /home/src/projects/project1/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 6 *changed* + projectProgramVersion: 4 + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -992,7 +1333,7 @@ Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was succes Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 6 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts Text-1 "interface WebworkerInterface { }" @@ -1085,6 +1426,11 @@ FsWatchesRecursive:: /home/src/projects/project1/typeroot1: {} +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 6 + projectProgramVersion: 5 *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project1/tsconfig.json 1:: WatchInfo: /home/src/projects/project1/tsconfig.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1122,6 +1468,52 @@ Timeout callback:: count: 3 18: /home/src/projects/project1/tsconfig.json *new* 19: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 7 *changed* + projectProgramVersion: 5 + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 0 +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /home/src/projects/project1/tsconfig.json @@ -1202,7 +1594,7 @@ Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not resolved. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 7 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 7 projectProgramVersion: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/lib/lib.dom.d.ts Text-1 "interface DOMInterface { }" @@ -1319,6 +1711,49 @@ FsWatchesRecursive:: /home/src/projects/project1/typeroot1: {} +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 7 + projectProgramVersion: 6 *changed* + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /home/src/projects/project1/tsconfig.json *new* +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations @@ -1337,6 +1772,49 @@ Timeout callback:: count: 3 21: /home/src/projects/project1/tsconfig.json *new* 22: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 8 *changed* + projectProgramVersion: 6 + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json @@ -1378,7 +1856,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthos Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 8 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 8 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/lib/lib.dom.d.ts Text-1 "interface DOMInterface { }" @@ -1473,6 +1951,49 @@ FsWatchesRecursive:: /home/src/projects/project1/typeroot1: {} +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 8 + projectProgramVersion: 7 *changed* + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations @@ -1496,6 +2017,11 @@ Timeout callback:: count: 2 24: /home/src/projects/project1/tsconfig.json *new* 25: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 9 *changed* + projectProgramVersion: 7 + Before running Timeout callback:: count: 2 24: /home/src/projects/project1/tsconfig.json 25: *ensureProjectForOpenFiles* @@ -1521,7 +2047,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthos Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 9 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 9 projectProgramVersion: 7 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/lib/lib.dom.d.ts Text-1 "interface DOMInterface { }" @@ -1587,3 +2113,50 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 9 + projectProgramVersion: 8 *changed* + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts *new* + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config.js b/tests/baselines/reference/tsserver/libraryResolution/with-config.js index 214f408fbe8dc..52c86afbe1a59 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config.js @@ -311,7 +311,7 @@ Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not reso Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (10) /home/src/lib/lib.es5.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -470,6 +470,53 @@ FsWatchesRecursive:: /home/src/projects/project1/typeroot1: *new* {} +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.es5.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-dom :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-dom :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations @@ -494,6 +541,11 @@ Timeout callback:: count: 2 3: /home/src/projects/project1/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 3: /home/src/projects/project1/tsconfig.json 4: *ensureProjectForOpenFiles* @@ -521,7 +573,7 @@ Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successf Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (10) /home/src/lib/lib.es5.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -591,6 +643,57 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/lib/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project1/file.ts 1:: WatchInfo: /home/src/projects/project1/file.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -606,13 +709,64 @@ Timeout callback:: count: 2 5: /home/src/projects/project1/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 0 +/home/src/lib/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (10) /home/src/lib/lib.es5.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -658,6 +812,52 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 0 +/home/src/lib/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project1/core.d.ts 2:: WatchInfo: /home/src/projects/project1/core.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project1/core.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.json @@ -712,6 +912,56 @@ Timeout callback:: count: 2 9: /home/src/projects/project1/tsconfig.json *new* 10: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 0 +/home/src/lib/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/core.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. @@ -719,7 +969,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthos Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/lib/lib.es5.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -786,6 +1036,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 3 *changed* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations @@ -806,6 +1061,52 @@ Timeout callback:: count: 3 12: /home/src/projects/project1/tsconfig.json *new* 13: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 3 + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 0 +/home/src/lib/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json @@ -846,7 +1147,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not resolved. ======== -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/lib/lib.es5.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -913,6 +1214,49 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /home/src/projects/project1/tsconfig.json *new* +/home/src/lib/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project1/tsconfig.json 1:: WatchInfo: /home/src/projects/project1/tsconfig.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -941,6 +1285,11 @@ Timeout callback:: count: 2 14: /home/src/projects/project1/tsconfig.json *new* 15: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 6 *changed* + projectProgramVersion: 4 + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -989,7 +1338,7 @@ Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was succes Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 6 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/lib/lib.es5.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -1088,6 +1437,11 @@ FsWatchesRecursive:: /home/src/projects/project1/typeroot1: {} +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 6 + projectProgramVersion: 5 *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project1/tsconfig.json 1:: WatchInfo: /home/src/projects/project1/tsconfig.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1123,6 +1477,11 @@ Timeout callback:: count: 3 17: *ensureProjectForOpenFiles* *new* 18: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 7 *changed* + projectProgramVersion: 5 + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Reloading configured project /home/src/projects/project1/tsconfig.json @@ -1187,7 +1546,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 7 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 7 projectProgramVersion: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/lib/lib.es5.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -1286,6 +1645,53 @@ Timeout callback:: count: 1 18: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation *deleted* 19: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 7 + projectProgramVersion: 6 *changed* + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/lib/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts *new* + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-webworker :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-webworker :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations @@ -1345,6 +1751,11 @@ Timeout callback:: count: 2 22: /home/src/projects/project1/tsconfig.json *new* 23: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 8 *changed* + projectProgramVersion: 6 + Before running Timeout callback:: count: 2 22: /home/src/projects/project1/tsconfig.json 23: *ensureProjectForOpenFiles* @@ -1370,7 +1781,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthos Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 8 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 8 projectProgramVersion: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/lib/lib.es5.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -1437,6 +1848,56 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 8 + projectProgramVersion: 7 *changed* + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 0 +/home/src/lib/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations @@ -1455,6 +1916,55 @@ Timeout callback:: count: 3 25: /home/src/projects/project1/tsconfig.json *new* 26: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 9 *changed* + projectProgramVersion: 7 + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 0 +/home/src/lib/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts + version: Text-1 + containingProjects: 0 +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project1/tsconfig.json *deleted* +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json @@ -1495,7 +2005,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthos Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Version: 9 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 9 projectProgramVersion: 7 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) /home/src/lib/lib.es5.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -1561,3 +2071,49 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 9 + projectProgramVersion: 8 *changed* + +ScriptInfos:: +/home/src/lib/lib.dom.d.ts + version: Text-1 + containingProjects: 0 +/home/src/lib/lib.es5.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.scripthost.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/lib/lib.webworker.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /home/src/projects/project1/tsconfig.json *new* +/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file.ts + version: Text-2 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/file2.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json *default* +/home/src/projects/project1/typeroot1/sometype/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json +/home/src/projects/project1/utils.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project1/tsconfig.json diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js index dd9a02646dc4e..29f5be22b52c9 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -100,6 +100,33 @@ FsWatchesRecursive:: /user/username/projects/project1/src/node_modules: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/project1/src/file1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/project1/src/node_modules/glob/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/project1/src/node_modules/minimatch/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/project1/src/node_modules/path/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -280,3 +307,8 @@ FsWatchesRecursive:: {} /user/username/projects/project1/src/node_modules: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js index b8aaa59d49fba..da10373c8d2b7 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js @@ -23,7 +23,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/b/node_modules/test/index.js Text-1 "var v = 10; module.exports = v;" @@ -46,6 +46,21 @@ FsWatchesRecursive:: /a/b/node_modules: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/node_modules/test/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -194,6 +209,11 @@ FsWatchesRecursive:: /a/b/node_modules: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + maxNodeModuleJsDepth: 2 Before request @@ -221,4 +241,9 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + maxNodeModuleJsDepth: 2 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js index 0a79855738dec..15a3dfd6f766b 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js @@ -34,7 +34,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -64,6 +64,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + maxNodeModuleJsDepth: undefined Before request @@ -79,7 +94,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/file2.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -110,6 +125,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file2.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + maxNodeModuleJsDepth: 2 Before request @@ -142,4 +176,24 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/file2.js *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + maxNodeModuleJsDepth: undefined \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js index 5edfe73809284..12a80eb05b002 100644 --- a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js +++ b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Loading myplugin from /a/lib/tsc.js/../../.. (resolved Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { return this.prop; } }" @@ -205,6 +205,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js index 40e0423d477de..72a104e611083 100644 --- a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js +++ b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Loading myplugin from /a/lib/tsc.js/../../.. (resolved Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { return this.prop; } }" @@ -205,6 +205,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js b/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js index 8c07b0ae35e5d..5e33c92befc45 100644 --- a/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js +++ b/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Loading myplugin from /a/lib/tsc.js/../../.. (resolved Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { const x = 0; } }" @@ -205,6 +205,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js index c479358ce9d9d..1819ef93b3cf8 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js @@ -375,7 +375,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/foo2/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/bar2/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/bar2/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -512,6 +512,29 @@ FsWatchesRecursive:: /home/src/projects/project/node_modules: *new* {} +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/index.mts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/tsconfig.json *default* +/home/src/projects/project/node_modules/@types/bar2/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/foo2/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -700,6 +723,11 @@ Timeout callback:: count: 2 3: /home/src/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -829,7 +857,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/@types/ba Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -882,6 +910,11 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck @@ -1029,6 +1062,11 @@ Timeout callback:: count: 2 7: /home/src/projects/project/tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -1139,7 +1177,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/@types/ba Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1192,6 +1230,11 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 5: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + Before running Immedidate callback:: count: 1 5: semanticCheck @@ -1341,6 +1384,11 @@ Timeout callback:: count: 2 11: /home/src/projects/project/tsconfig.json *new* 12: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -1457,7 +1505,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/@types/ba Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1510,6 +1558,11 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 7: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* + Before running Immedidate callback:: count: 1 7: semanticCheck @@ -1659,6 +1712,11 @@ Timeout callback:: count: 2 15: /home/src/projects/project/tsconfig.json *new* 16: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 4 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -1756,7 +1814,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/@types/ba Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1809,6 +1867,11 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 9: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 5 *changed* + Before running Immedidate callback:: count: 1 9: semanticCheck @@ -1966,6 +2029,11 @@ Timeout callback:: count: 2 19: /home/src/projects/project/tsconfig.json *new* 20: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 6 *changed* + projectProgramVersion: 5 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -2045,7 +2113,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/@types/ba Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 6 projectProgramVersion: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2114,6 +2182,33 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 11: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 6 + projectProgramVersion: 6 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/index.mts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/tsconfig.json *default* +/home/src/projects/project/node_modules/@types/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/@types/bar2/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/foo2/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json + Before running Immedidate callback:: count: 1 11: semanticCheck @@ -2260,6 +2355,11 @@ Timeout callback:: count: 2 23: /home/src/projects/project/tsconfig.json *new* 24: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 7 *changed* + projectProgramVersion: 6 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -2333,7 +2433,7 @@ Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earl Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 7 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 7 projectProgramVersion: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2436,6 +2536,37 @@ FsWatchesRecursive:: Immedidate callback:: count: 1 13: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 7 + projectProgramVersion: 7 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/index.mts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/tsconfig.json *default* +/home/src/projects/project/node_modules/@types/bar/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/@types/bar2/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/foo/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/foo2/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json + Before running Immedidate callback:: count: 1 13: semanticCheck @@ -2565,6 +2696,11 @@ Timeout callback:: count: 2 27: /home/src/projects/project/tsconfig.json *new* 28: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 8 *changed* + projectProgramVersion: 7 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -2687,7 +2823,7 @@ Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earl Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 8 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 8 projectProgramVersion: 7 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2786,6 +2922,37 @@ FsWatchesRecursive:: Immedidate callback:: count: 1 15: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 8 + projectProgramVersion: 8 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/index.mts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/tsconfig.json *default* +/home/src/projects/project/node_modules/@types/bar/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/@types/bar2/index.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project/tsconfig.json *deleted* +/home/src/projects/project/node_modules/foo/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/foo2/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json + Before running Immedidate callback:: count: 1 15: semanticCheck @@ -2931,6 +3098,11 @@ Timeout callback:: count: 2 31: /home/src/projects/project/tsconfig.json *new* 32: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 9 *changed* + projectProgramVersion: 8 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -3029,7 +3201,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/@types/ba Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 9 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 9 projectProgramVersion: 8 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -3094,6 +3266,36 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 17: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 9 + projectProgramVersion: 9 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/index.mts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/tsconfig.json *default* +/home/src/projects/project/node_modules/@types/bar/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/@types/bar2/index.d.ts + version: Text-1 + containingProjects: 0 +/home/src/projects/project/node_modules/foo/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/foo2/index.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project/tsconfig.json *deleted* + Before running Immedidate callback:: count: 1 17: semanticCheck @@ -3232,6 +3434,30 @@ Before running Timeout callback:: count: 1 Timeout callback:: count: 1 34: /home/src/projects/project/tsconfig.jsonFailedLookupInvalidation *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/index.mts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/tsconfig.json *default* +/home/src/projects/project/node_modules/@types/bar/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/@types/bar2/index.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/home/src/projects/project/node_modules/foo/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/foo2/index.d.ts + version: Text-1 + containingProjects: 0 + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -3241,6 +3467,11 @@ Timeout callback:: count: 2 35: /home/src/projects/project/tsconfig.json *new* 36: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 10 *changed* + projectProgramVersion: 9 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -3370,7 +3601,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/@types/ba Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 10 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 10 projectProgramVersion: 9 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -3423,6 +3654,11 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 19: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 10 + projectProgramVersion: 10 *changed* + Before running Immedidate callback:: count: 1 19: semanticCheck @@ -3561,6 +3797,27 @@ Before running Timeout callback:: count: 1 Timeout callback:: count: 1 38: /home/src/projects/project/tsconfig.jsonFailedLookupInvalidation *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/index.mts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/tsconfig.json *default* +/home/src/projects/project/node_modules/@types/bar/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/foo/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/tsconfig.json +/home/src/projects/project/node_modules/foo2/index.d.ts *deleted* + version: Text-1 + containingProjects: 0 + Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -3570,6 +3827,11 @@ Timeout callback:: count: 2 39: /home/src/projects/project/tsconfig.json *new* 40: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 11 *changed* + projectProgramVersion: 10 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -3680,7 +3942,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/@types/ba Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 11 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 11 projectProgramVersion: 10 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -3733,6 +3995,11 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 21: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 11 + projectProgramVersion: 11 *changed* + Before running Immedidate callback:: count: 1 21: semanticCheck @@ -3882,6 +4149,11 @@ Timeout callback:: count: 2 43: /home/src/projects/project/tsconfig.json *new* 44: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 12 *changed* + projectProgramVersion: 11 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -3998,7 +4270,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/@types/ba Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 12 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 12 projectProgramVersion: 11 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -4051,6 +4323,11 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 23: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 12 + projectProgramVersion: 12 *changed* + Before running Immedidate callback:: count: 1 23: semanticCheck @@ -4200,6 +4477,11 @@ Timeout callback:: count: 2 47: /home/src/projects/project/tsconfig.json *new* 48: *ensureProjectForOpenFiles* *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 13 *changed* + projectProgramVersion: 12 + Before running Immedidate callback:: count: 0 After running Immedidate callback:: count: 0 @@ -4297,7 +4579,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/@types/ba Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Version: 13 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 13 projectProgramVersion: 12 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -4350,6 +4632,11 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 25: semanticCheck *new* +Projects:: +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 13 + projectProgramVersion: 13 *changed* + Before running Immedidate callback:: count: 1 25: semanticCheck diff --git a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js index 1d8642a2d1c42..12b8b1e65a865 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js +++ b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js @@ -103,7 +103,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -225,6 +225,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json +/user/username/projects/myproject/src/fileA.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json *default* +/user/username/projects/myproject/src/fileB.mts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json + Info seq [hh:mm:ss:mss] Modify package json file to remove type module Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation @@ -252,6 +271,11 @@ Timeout callback:: count: 2 2: /user/username/projects/myproject/src/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 2: /user/username/projects/myproject/src/tsconfig.json 3: *ensureProjectForOpenFiles* @@ -275,7 +299,7 @@ Info seq [hh:mm:ss:mss] ======== Module name './fileB.mjs' was successfully res Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -314,6 +338,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -439,6 +468,11 @@ Timeout callback:: count: 2 6: /user/username/projects/myproject/src/tsconfig.json *new* 7: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Before running Timeout callback:: count: 2 6: /user/username/projects/myproject/src/tsconfig.json 7: *ensureProjectForOpenFiles* @@ -462,7 +496,7 @@ Info seq [hh:mm:ss:mss] ======== Module name './fileB.mjs' was successfully res Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -501,6 +535,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -607,6 +646,11 @@ Timeout callback:: count: 2 10: /user/username/projects/myproject/src/tsconfig.json *new* 11: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + Before running Timeout callback:: count: 2 10: /user/username/projects/myproject/src/tsconfig.json 11: *ensureProjectForOpenFiles* @@ -639,7 +683,7 @@ Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -704,6 +748,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -826,6 +875,11 @@ Timeout callback:: count: 2 14: /user/username/projects/myproject/src/tsconfig.json *new* 15: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 4 + Before running Timeout callback:: count: 2 14: /user/username/projects/myproject/src/tsconfig.json 15: *ensureProjectForOpenFiles* @@ -844,7 +898,7 @@ Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -911,6 +965,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 5 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -1028,6 +1087,11 @@ Timeout callback:: count: 2 18: /user/username/projects/myproject/src/tsconfig.json *new* 19: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 6 *changed* + projectProgramVersion: 5 + Before running Timeout callback:: count: 2 18: /user/username/projects/myproject/src/tsconfig.json 19: *ensureProjectForOpenFiles* @@ -1054,7 +1118,7 @@ Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 6 projectProgramVersion: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1119,6 +1183,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 6 + projectProgramVersion: 6 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js index 604f8c6ec020e..4b0306758797f 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js +++ b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js @@ -102,7 +102,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -224,6 +224,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json +/user/username/projects/myproject/src/fileA.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json *default* +/user/username/projects/myproject/src/fileB.mts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json + Info seq [hh:mm:ss:mss] Modify package json file to add type module Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation @@ -252,6 +271,11 @@ Timeout callback:: count: 2 2: /user/username/projects/myproject/src/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 2: /user/username/projects/myproject/src/tsconfig.json 3: *ensureProjectForOpenFiles* @@ -275,7 +299,7 @@ Info seq [hh:mm:ss:mss] ======== Module name './fileB.mjs' was successfully res Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -314,6 +338,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -424,6 +453,11 @@ Timeout callback:: count: 2 6: /user/username/projects/myproject/src/tsconfig.json *new* 7: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Before running Timeout callback:: count: 2 6: /user/username/projects/myproject/src/tsconfig.json 7: *ensureProjectForOpenFiles* @@ -447,7 +481,7 @@ Info seq [hh:mm:ss:mss] ======== Module name './fileB.mjs' was successfully res Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -486,6 +520,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -606,6 +645,11 @@ Timeout callback:: count: 2 10: /user/username/projects/myproject/src/tsconfig.json *new* 11: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + Before running Timeout callback:: count: 2 10: /user/username/projects/myproject/src/tsconfig.json 11: *ensureProjectForOpenFiles* @@ -632,7 +676,7 @@ Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -697,6 +741,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -820,6 +869,11 @@ Timeout callback:: count: 2 14: /user/username/projects/myproject/src/tsconfig.json *new* 15: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 4 + Before running Timeout callback:: count: 2 14: /user/username/projects/myproject/src/tsconfig.json 15: *ensureProjectForOpenFiles* @@ -844,7 +898,7 @@ Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -911,6 +965,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 5 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -1014,6 +1073,11 @@ Timeout callback:: count: 2 18: /user/username/projects/myproject/src/tsconfig.json *new* 19: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 6 *changed* + projectProgramVersion: 5 + Before running Timeout callback:: count: 2 18: /user/username/projects/myproject/src/tsconfig.json 19: *ensureProjectForOpenFiles* @@ -1046,7 +1110,7 @@ Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 6 projectProgramVersion: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1111,6 +1175,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *changed* + projectStateVersion: 6 + projectProgramVersion: 6 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js index b548e23d9228a..ca48e168a5d49 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js +++ b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js @@ -501,7 +501,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package-b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.es2021.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -659,6 +659,29 @@ FsWatchesRecursive:: /home/src/projects/project/packages/package-b/src: *new* {} +Projects:: +/home/src/projects/project/packages/package-b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.es2021.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/subfolder/index.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-b/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -777,6 +800,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.es2021.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/index.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/subfolder/index.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-b/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -850,7 +896,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package-b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.es2021.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -932,6 +978,29 @@ FsWatchesRecursive *deleted*:: Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.es2021.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/index.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project/packages/package-b/tsconfig.json *deleted* +/home/src/projects/project/packages/package-a/src/subfolder/index.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project/packages/package-b/tsconfig.json *deleted* +/home/src/projects/project/packages/package-b/src/index.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json *default* + Before running Immedidate callback:: count: 1 3: semanticCheck @@ -1023,6 +1092,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.es2021.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/index.ts + version: Text-1 + containingProjects: 0 +/home/src/projects/project/packages/package-a/src/subfolder/index.ts + version: Text-1 + containingProjects: 0 +/home/src/projects/project/packages/package-b/src/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1098,7 +1188,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package-b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.es2021.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -1182,6 +1272,29 @@ FsWatchesRecursive:: Immedidate callback:: count: 1 5: semanticCheck *new* +Projects:: +/home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.es2021.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/index.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /home/src/projects/project/packages/package-b/tsconfig.json *new* +/home/src/projects/project/packages/package-a/src/subfolder/index.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /home/src/projects/project/packages/package-b/tsconfig.json *new* +/home/src/projects/project/packages/package-b/src/index.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json *default* + Before running Immedidate callback:: count: 1 5: semanticCheck diff --git a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js index d5d10603ad01b..270a45930504a 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js +++ b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js @@ -293,7 +293,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package-b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.es2021.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -451,6 +451,29 @@ FsWatchesRecursive:: /home/src/projects/project/packages/package-b/src: *new* {} +Projects:: +/home/src/projects/project/packages/package-b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.es2021.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/subfolder/index.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-b/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -569,6 +592,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.es2021.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/index.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/subfolder/index.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-b/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -642,7 +688,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package-b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.es2021.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -724,6 +770,29 @@ FsWatchesRecursive *deleted*:: Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.es2021.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/index.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project/packages/package-b/tsconfig.json *deleted* +/home/src/projects/project/packages/package-a/src/subfolder/index.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/projects/project/packages/package-b/tsconfig.json *deleted* +/home/src/projects/project/packages/package-b/src/index.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json *default* + Before running Immedidate callback:: count: 1 3: semanticCheck @@ -815,6 +884,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.es2021.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/index.ts + version: Text-1 + containingProjects: 0 +/home/src/projects/project/packages/package-a/src/subfolder/index.ts + version: Text-1 + containingProjects: 0 +/home/src/projects/project/packages/package-b/src/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -890,7 +980,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package-b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.es2021.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -974,6 +1064,29 @@ FsWatchesRecursive:: Immedidate callback:: count: 1 5: semanticCheck *new* +Projects:: +/home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.es2021.d.ts + version: Text-1 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json +/home/src/projects/project/packages/package-a/src/index.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /home/src/projects/project/packages/package-b/tsconfig.json *new* +/home/src/projects/project/packages/package-a/src/subfolder/index.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /home/src/projects/project/packages/package-b/tsconfig.json *new* +/home/src/projects/project/packages/package-b/src/index.ts (Open) + version: SVC-1-2 + containingProjects: 1 + /home/src/projects/project/packages/package-b/tsconfig.json *default* + Before running Immedidate callback:: count: 1 5: semanticCheck diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js index 4d9b17673bd68..72645f9d545c4 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/b.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -258,6 +258,41 @@ FsWatchesRecursive:: /src: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/c.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -317,6 +352,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -376,6 +438,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js index 72746b7ff24dc..08ba939b44374 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/b.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -258,6 +258,41 @@ FsWatchesRecursive:: /src: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/c.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -317,6 +352,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -376,6 +438,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js index afc8854cd2947..67f7c2fbdb4ff 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/b.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -258,6 +258,41 @@ FsWatchesRecursive:: /src: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/c.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -317,6 +352,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -376,6 +438,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -882,10 +971,19 @@ Timeout callback:: count: 2 1: /tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] Running: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/a2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -985,4 +1083,43 @@ FsWatchesRecursive:: /src: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/a2.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] importability: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js index cc96092149347..d7ee55a4c7148 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/b.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -258,6 +258,41 @@ FsWatchesRecursive:: /src: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/c.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -317,6 +352,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -376,6 +438,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js index f0e8dc1904379..77146f2792aa1 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/b.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -258,6 +258,41 @@ FsWatchesRecursive:: /src: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/c.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -317,6 +352,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -376,6 +438,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -874,6 +963,15 @@ Before running Timeout callback:: count: 0 {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + After running Timeout callback:: count: 0 Info seq [hh:mm:ss:mss] moduleSpecifierCache count: 0 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js index ac2b8bf4b931f..a44de11b41e1b 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/b.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -258,6 +258,41 @@ FsWatchesRecursive:: /src: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/c.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -317,6 +352,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -376,6 +438,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -882,6 +971,15 @@ Timeout callback:: count: 2 1: /tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] Running: /tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -908,7 +1006,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -1037,4 +1135,13 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] moduleSpecifierCache count: 0 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js index aeda3b1551ddb..9b04b812f4207 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/b.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -258,6 +258,41 @@ FsWatchesRecursive:: /src: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/c.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -317,6 +352,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -376,6 +438,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -911,9 +1000,44 @@ Timeout callback:: count: 2 5: /tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /tsconfig.json *deleted* +/src/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -985,4 +1109,13 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] moduleSpecifierCache count: 0 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js index 59d58abc74c1a..7d50a7a6ba4af 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/b.ts 500 undefine Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /src/a.ts SVC-1-0 "export const foo = 0;" @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/mobx/index.d.ts Text-1 "export declare function observable(): unknown;" @@ -258,6 +258,41 @@ FsWatchesRecursive:: /src: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/node_modules/mobx/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/c.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -317,6 +352,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -376,6 +438,33 @@ FsWatchesRecursive:: /src: {} +ScriptInfos:: +/node_modules/mobx/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/ambient.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b-link.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/src/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js index 39b109d90645f..71deaf3cc491f 100644 --- a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js +++ b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/index.ts SVC-1-0 "export const abcdef = 1;" @@ -231,6 +231,20 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -288,7 +302,7 @@ Info seq [hh:mm:ss:mss] Config: /b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -368,7 +382,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/index.ts SVC-1-0 "export const abcdef = 1;" @@ -476,3 +490,25 @@ FsWatchesRecursive:: {} /b: *new* {} + +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /a/tsconfig.json *default* + /b/tsconfig.json *new* +/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js index 85bef68a7bbf4..710c589ddd43a 100644 --- a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js +++ b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/index.ts SVC-1-0 "export const abcdef = 1;" @@ -208,6 +208,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -252,7 +263,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /b 1 undefined Config: /b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/index.ts SVC-1-0 "export const abcdef = 1;" @@ -411,6 +422,25 @@ FsWatchesRecursive:: /b: *new* {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /a/tsconfig.json *default* + /b/tsconfig.json *new* +/b/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js b/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js index 015ea1b41e5c1..c9e43b46436bf 100644 --- a/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js +++ b/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -86,6 +86,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/jsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/jsconfig.json + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -299,6 +314,11 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/jsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js b/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js index 6584f3140ea06..0a92c85a2987c 100644 --- a/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js +++ b/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -87,6 +87,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/jsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/jsconfig.json + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -300,6 +315,11 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/jsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/occurences/should-be-marked-if-only-on-string-values.js b/tests/baselines/reference/tsserver/occurences/should-be-marked-if-only-on-string-values.js index 49618c930a969..02647d379f0d1 100644 --- a/tests/baselines/reference/tsserver/occurences/should-be-marked-if-only-on-string-values.js +++ b/tests/baselines/reference/tsserver/occurences/should-be-marked-if-only-on-string-values.js @@ -21,7 +21,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/file1.ts SVC-1-0 "let t1 = \"div\";\nlet t2 = \"div\";\nlet t3 = { \"div\": 123 };\nlet t4 = t3[\"div\"];" @@ -48,6 +48,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js b/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js index c6d9d066c99d2..20afe699f5067 100644 --- a/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js +++ b/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -165,6 +165,21 @@ FsWatchesRecursive:: /user/someuser/projects/myproject: *new* {} +Projects:: +/user/someuser/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/someuser/projects/myproject/tsconfig.json +/user/someuser/projects/myproject/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/someuser/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -179,7 +194,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -198,3 +213,18 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/user/someuser/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/someuser/projects/myproject/tsconfig.json +/user/someuser/projects/myproject/src/a.ts (Open) *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /user/someuser/projects/myproject/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js b/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js index c3f3672dd66df..19dab75a4b4ff 100644 --- a/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -163,6 +163,25 @@ FsWatchesRecursive:: /project: *new* {} +Projects:: +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -179,7 +198,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /project/b.ts 500 unde Info seq [hh:mm:ss:mss] Search path: /project Info seq [hh:mm:ss:mss] For info: /project/b.ts :: Config file name: /project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -216,6 +235,26 @@ FsWatchesRecursive:: /project: {} +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -247,8 +286,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -293,8 +351,29 @@ FsWatchesRecursive:: /project: {} +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -317,9 +396,29 @@ Timeout callback:: count: 2 1: /project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: true + containingProjects: 1 + /project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 5 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -357,3 +456,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + version: Text-4 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js b/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js index 41aff45a962dc..1ac0f49d8d599 100644 --- a/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -163,6 +163,25 @@ FsWatchesRecursive:: /project: *new* {} +Projects:: +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -206,6 +225,21 @@ FsWatchesRecursive:: /project: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -237,8 +271,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -283,8 +336,23 @@ FsWatchesRecursive:: /project: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /project/b.ts 1:: WatchInfo: /project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /project/tsconfig.json @@ -301,9 +369,29 @@ Timeout callback:: count: 2 1: /project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -341,3 +429,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js index 7d526ade8ef6f..b3e705d50297e 100644 --- a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js +++ b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -163,6 +163,25 @@ FsWatchesRecursive:: /project: *new* {} +Projects:: +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -206,6 +225,21 @@ FsWatchesRecursive:: /project: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -237,8 +271,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -277,8 +330,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -326,8 +398,29 @@ FsWatchesRecursive:: /project: {} +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + open: false *changed* + version: SVC-2-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /project/b.ts 1:: WatchInfo: /project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /project/tsconfig.json @@ -344,9 +437,14 @@ Timeout callback:: count: 2 1: /project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 5 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -384,3 +482,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js index 849fd69d2b615..870f61f71b3c4 100644 --- a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -163,6 +163,25 @@ FsWatchesRecursive:: /project: *new* {} +Projects:: +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -206,6 +225,21 @@ FsWatchesRecursive:: /project: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -237,8 +271,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) + version: Text-1 + containingProjects: 1 + /project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -277,8 +330,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 1 + /project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -323,8 +395,29 @@ FsWatchesRecursive:: /project: {} +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + open: false *changed* + version: SVC-2-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /project/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -347,9 +440,29 @@ Timeout callback:: count: 2 1: /project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: true + containingProjects: 1 + /project/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 5 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,3 +500,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/a.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /project/tsconfig.json *default* +/project/b.ts *changed* + version: Text-4 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js index 3da1218196031..0ae898fd79d2d 100644 --- a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js +++ b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/lib/module2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/lib/module2.ts Text-1 "let z = 10;" @@ -199,6 +199,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/lib/module2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -238,6 +253,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/lib/module2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/app.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -284,6 +310,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/lib/module2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/app.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -323,6 +360,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/lib/module2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/app.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -369,6 +417,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/lib/module2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/app.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -408,6 +467,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/lib/module2.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/app.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -454,6 +524,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/lib/module2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/app.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -493,6 +574,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/lib/module2.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/app.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -539,6 +631,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/lib/module2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/app.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -578,6 +681,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/lib/module2.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/app.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -624,6 +738,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/lib/module2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/src/app.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -662,3 +787,14 @@ FsWatches:: FsWatchesRecursive:: /a/b: {} + +ScriptInfos:: +/a/b/lib/module2.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/src/app.ts + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js index 543627858d6e7..326a4e91f3f4e 100644 --- a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js +++ b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/src/app.ts SVC-1-0 "let x = 10;" @@ -192,6 +192,17 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/src/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -229,6 +240,13 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/src/app.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -273,6 +291,13 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/src/app.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -310,6 +335,13 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/src/app.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -354,6 +386,13 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/src/app.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -391,6 +430,13 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/src/app.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +476,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/B/lib/module2.ts SVC-1-0 "let z = 10;" @@ -599,6 +645,25 @@ FsWatchesRecursive *deleted*:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/B/lib/module2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/b/src/app.ts *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /a/tsconfig.json *new* + /a/b/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,6 +703,17 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/B/lib/module2.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json +/a/b/src/app.ts + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -684,6 +760,17 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/B/lib/module2.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* +/a/b/src/app.ts + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -723,6 +810,17 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/B/lib/module2.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json +/a/b/src/app.ts + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -781,6 +879,22 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/B/lib/module2.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/a/b/src/app.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -803,3 +917,9 @@ After request FsWatches:: /a/B/lib/module2.ts: *new* {} + +ScriptInfos:: +/a/B/lib/module2.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/openfile/realoaded-with-empty-content.js b/tests/baselines/reference/tsserver/openfile/realoaded-with-empty-content.js index 8734c8fc42b27..e27002e619bc1 100644 --- a/tests/baselines/reference/tsserver/openfile/realoaded-with-empty-content.js +++ b/tests/baselines/reference/tsserver/openfile/realoaded-with-empty-content.js @@ -23,7 +23,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: externalProject Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: externalProject WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalProject Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalProject projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'externalProject' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1" @@ -70,6 +70,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'externalProject' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -85,6 +90,17 @@ FsWatches:: /a/b/app.ts: *new* {} +Projects:: +externalProject (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + externalProject + Before request Info seq [hh:mm:ss:mss] request: @@ -99,7 +115,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: externalProject -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalProject Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalProject projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'externalProject' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-2-0 "" @@ -125,3 +141,15 @@ PolledWatches:: FsWatches *deleted*:: /a/b/app.ts: {} + +Projects:: +externalProject (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + externalProject *default* diff --git a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js index d3d6c60f1e251..b97f738a17221 100644 --- a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js +++ b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -164,6 +164,21 @@ FsWatchesRecursive:: /user/someuser/projects/myproject: *new* {} +Projects:: +/user/someuser/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/someuser/projects/myproject/tsconfig.json +/user/someuser/projects/myproject/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/someuser/projects/myproject/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/someuser/projects/myproject/src/b.ts :: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/someuser/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -177,6 +192,11 @@ Timeout callback:: count: 2 1: /user/someuser/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/someuser/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "open", @@ -190,7 +210,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /user/someuser/projects/myproject/src Info seq [hh:mm:ss:mss] For info: /user/someuser/projects/myproject/src/b.ts :: Config file name: /user/someuser/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/someuser/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -220,3 +240,22 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/user/someuser/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/someuser/projects/myproject/tsconfig.json +/user/someuser/projects/myproject/src/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/someuser/projects/myproject/tsconfig.json *default* +/user/someuser/projects/myproject/src/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/someuser/projects/myproject/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js b/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js index 824c3015a8dc6..8959d6f7abdef 100644 --- a/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js +++ b/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -89,6 +89,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/file.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -207,6 +222,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/file.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -234,7 +264,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -347,6 +377,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/file.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -374,7 +419,7 @@ Before running Timeout callback:: count: 1 3: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js b/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js index 1b7a26994cb9a..9b3d6082ef7cb 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js @@ -37,7 +37,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /tsconfig.json SVC-1-0 "{}" @@ -135,6 +135,20 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -196,6 +210,14 @@ Timeout callback:: count: 2 7: /tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", @@ -322,6 +344,14 @@ FsWatchesRecursive:: /: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with package.json :: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /tsconfig.json Detected new package.json: /package.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 undefined WatchType: package.json file diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js b/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js index 08e61655e720e..d4755942ad81e 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /tsconfig.json SVC-1-0 "{}" @@ -151,6 +151,20 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -212,6 +226,14 @@ Timeout callback:: count: 2 7: /tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", @@ -355,6 +377,14 @@ FsWatchesRecursive:: /: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with src :: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js b/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js index fc8d7c66f55db..069312a9d96bc 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /tsconfig.json SVC-1-0 "{}" @@ -151,6 +151,20 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -212,6 +226,14 @@ Timeout callback:: count: 2 7: /tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", @@ -355,6 +377,14 @@ FsWatchesRecursive:: /: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + getPackageJsonsVisibleToFile:: /src/whatever/blah.ts undefined getPackageJsonsVisibleToFile:: /src/whatever/blah.ts undefined:: Result:: [ diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js b/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js index 413bf5dfb99ca..f386ce95b52ef 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /tsconfig.json SVC-1-0 "{}" @@ -138,6 +138,20 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -199,6 +213,14 @@ Timeout callback:: count: 2 7: /tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", @@ -332,6 +354,14 @@ FsWatchesRecursive:: /: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + getPackageJsonsVisibleToFile:: /src/whatever/blah.ts undefined getPackageJsonsVisibleToFile:: /src/whatever/blah.ts undefined:: Result:: [ diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js b/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js index 95aa83fd81559..0406fca27537d 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /tsconfig.json SVC-1-0 "{}" @@ -138,6 +138,20 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/tsconfig.json (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -199,6 +213,14 @@ Timeout callback:: count: 2 7: /tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 0 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", @@ -332,6 +354,14 @@ FsWatchesRecursive:: /: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + getPackageJsonsVisibleToFile:: /src/whatever/blah.ts undefined getPackageJsonsVisibleToFile:: /src/whatever/blah.ts undefined:: Result:: [ diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js b/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js index d237eb7683c63..1e6e8fa6b6000 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -70,6 +70,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -121,7 +137,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -152,6 +168,26 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + autoImportProviderHost: undefined *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js index 2cdb8baa7c05d..6d5d576b21405 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -70,6 +70,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -92,6 +108,23 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -104,7 +137,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -130,6 +163,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + autoImportProviderHost: undefined *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 +/user/username/projects/myproject/c.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -142,7 +194,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -172,3 +224,22 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/c.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js index 8028ad405d3c2..2c13d66addb2f 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -65,3 +65,21 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +After getPackageJsonAutoImportProvider diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js index 41ef47c728956..9370817bd8e0c 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -72,3 +72,19 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js index afd0f80ab61bb..a0369708cf737 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -69,3 +69,19 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js index 79176aa1cab8f..e900b0e0cbc33 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -70,6 +70,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js b/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js index c1876fcc12c26..090c74e4620ff 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js @@ -31,7 +31,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -57,6 +57,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js b/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js index 8a3f78410411e..9ca5509e61f5c 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -70,6 +70,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/plugins/With-global-plugins.js b/tests/baselines/reference/tsserver/plugins/With-global-plugins.js index f170d952d37d6..462636881d5b7 100644 --- a/tests/baselines/reference/tsserver/plugins/With-global-plugins.js +++ b/tests/baselines/reference/tsserver/plugins/With-global-plugins.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Enabling plugin myPlugin/../malicious from candidate pa Info seq [hh:mm:ss:mss] Skipped loading plugin myPlugin/../malicious because only package name is allowed plugin name Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { return this.prop; } }" @@ -169,3 +169,18 @@ FsWatches:: FsWatchesRecursive:: /: *new* {} + +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json diff --git a/tests/baselines/reference/tsserver/plugins/With-local-plugins.js b/tests/baselines/reference/tsserver/plugins/With-local-plugins.js index 65cf96c9cef6b..3eb8738484c43 100644 --- a/tests/baselines/reference/tsserver/plugins/With-local-plugins.js +++ b/tests/baselines/reference/tsserver/plugins/With-local-plugins.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] Enabling plugin undefined from candidate paths: /a/lib/ Info seq [hh:mm:ss:mss] Skipped loading plugin {"transform":"some-transform"} because only package name is allowed plugin name Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { return this.prop; } }" @@ -212,3 +212,18 @@ FsWatches:: FsWatchesRecursive:: /: *new* {} + +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json diff --git a/tests/baselines/reference/tsserver/plugins/With-session-and-custom-protocol-message.js b/tests/baselines/reference/tsserver/plugins/With-session-and-custom-protocol-message.js index 42e6c194ca551..66b5119291a43 100644 --- a/tests/baselines/reference/tsserver/plugins/With-session-and-custom-protocol-message.js +++ b/tests/baselines/reference/tsserver/plugins/With-session-and-custom-protocol-message.js @@ -74,7 +74,7 @@ Loading plugin: some-plugin Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { return this.prop; } }" @@ -175,6 +175,21 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/plugins/getSupportedCodeFixes-can-be-proxied.js b/tests/baselines/reference/tsserver/plugins/getSupportedCodeFixes-can-be-proxied.js index 5acda7e2355bc..b4b4140decf5a 100644 --- a/tests/baselines/reference/tsserver/plugins/getSupportedCodeFixes-can-be-proxied.js +++ b/tests/baselines/reference/tsserver/plugins/getSupportedCodeFixes-can-be-proxied.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined Wa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a.ts SVC-1-0 "class c { prop = \"hello\"; foo() { const x = 0; } }" @@ -194,6 +194,29 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/c.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -239,6 +262,25 @@ FsWatchesRecursive:: /: {} +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/c.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -284,6 +326,25 @@ FsWatchesRecursive:: /: {} +ScriptInfos:: +/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/b.ts (Open) + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* +/c.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js b/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js index 84b2cece1bc3f..48fa658b4a660 100644 --- a/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js +++ b/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -194,6 +194,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + ExternalFiles:: [ "someFile.txt" ] @@ -220,6 +235,11 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -253,7 +273,7 @@ Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/someFile.txt 500 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/someOtherFile.txt 500 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -339,6 +359,11 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + ExternalFiles:: [ "someOtherFile.txt" ] \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js b/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js index 59b8398426a27..18f75b3d83954 100644 --- a/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js +++ b/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots getExternalFiles:: Returning cached .vue files -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -199,6 +199,29 @@ FsWatches:: /user/username/projects/myproject/tsconfig.json: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.vue *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/c.vue :: WatchInfo: /user/username/projects/myproject 0 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -214,12 +237,17 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json getExternalFiles:: Getting new list of .vue files Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c.vue 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json getExternalFiles:: Returning cached .vue files -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -292,6 +320,33 @@ FsWatches:: /user/username/projects/myproject/tsconfig.json: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.vue + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.vue *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/d.ts 1:: WatchInfo: /user/username/projects/myproject/d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -307,10 +362,38 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.vue + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.vue + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json getExternalFiles:: Returning cached .vue files -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -350,3 +433,26 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/b.vue + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/c.vue + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js b/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js index 24a0618c6f0bd..2b0f9504273ef 100644 --- a/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js +++ b/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -187,6 +187,21 @@ FsWatchesRecursive:: /user/username/projects/project: *new* {} +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/project/tsconfig.json +/user/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/project/b.ts 0:: WatchInfo: /user/username/projects/project/b.ts 500 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/project/b.ts 500 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/project/tsconfig.json @@ -225,6 +240,11 @@ Timeout callback:: count: 2 3: /user/username/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "testProtocolCommand", @@ -240,7 +260,7 @@ addProtocolHandler: { } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -281,6 +301,25 @@ FsWatchesRecursive:: /user/username/projects/project: {} +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/project/tsconfig.json +/user/username/projects/project/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project/tsconfig.json *default* +/user/username/projects/project/b.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/project/tsconfig.json + Before running Timeout callback:: count: 2 3: /user/username/projects/project/tsconfig.json 4: *ensureProjectForOpenFiles* diff --git a/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js b/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js index 7cd3b53b2f0a7..dc5e41f1999cf 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js @@ -32,7 +32,7 @@ Info seq [hh:mm:ss:mss] Enabling plugin plugin-a from candidate paths: /a/lib/t Info seq [hh:mm:ss:mss] Dynamically importing plugin-a from /a/lib/tsc.js/../../.. (resolved to /a/lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -62,6 +62,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +^memfs:/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + External files before plugin is loaded: Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* @@ -83,9 +98,14 @@ Before running Timeout callback:: count: 1 Timeout callback:: count: 1 1: /dev/null/inferredProject1* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before After running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js b/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js index 0e57e94ee908c..0d2ed5bb03b5d 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js @@ -32,7 +32,7 @@ Info seq [hh:mm:ss:mss] Enabling plugin plugin-a from candidate paths: /a/lib/t Info seq [hh:mm:ss:mss] Dynamically importing plugin-a from /a/lib/tsc.js/../../.. (resolved to /a/lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -62,6 +62,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +^memfs:/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + This should be false because 'executeCommand' should have already triggered plugin enablement asynchronously and there are no plugin enablements currently being processed hasNewPluginEnablementRequests:: false Should be true because async imports have already been triggered in the background diff --git a/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js b/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js index 44f74f285fec0..397edc712c8b5 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js @@ -37,7 +37,7 @@ Info seq [hh:mm:ss:mss] Dynamically importing plugin-b from /a/lib/tsc.js/../.. request import plugin-b Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -67,6 +67,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +^memfs:/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + fulfill import plugin-b fulfill import plugin-a invoke plugin plugin-a diff --git a/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js b/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js index 428feff27d780..b0d9f37a0e582 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js @@ -32,7 +32,7 @@ Info seq [hh:mm:ss:mss] Enabling plugin plugin-a from candidate paths: /a/lib/t Info seq [hh:mm:ss:mss] Dynamically importing plugin-a from /a/lib/tsc.js/../../.. (resolved to /a/lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -62,6 +62,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +^memfs:/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -84,6 +99,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +^memfs:/foo.ts *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js b/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js index 037b71056d7b8..5b1b162440021 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js @@ -32,7 +32,7 @@ Info seq [hh:mm:ss:mss] Enabling plugin plugin-a from candidate paths: /a/lib/t Info seq [hh:mm:ss:mss] Dynamically importing plugin-a from /a/lib/tsc.js/../../.. (resolved to /a/lib/tsc.js/../../../node_modules) Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -62,6 +62,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +^memfs:/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background ^memfs:/foo.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js index 51fcc0bb9b138..98370e7843072 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -155,6 +155,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -174,6 +189,11 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -195,7 +215,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -285,6 +305,11 @@ Timeout callback:: count: 2 3: /a/b/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -306,7 +331,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js index 8f0960fabc49a..756406b88e17d 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -154,3 +154,18 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js index 60a9e04cf34ba..bec0b52b561ce 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -186,3 +186,18 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js index e3709480e50c1..8a17b45d6c5f6 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -165,7 +165,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -203,6 +203,29 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/b/tsconfig.json + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -246,6 +269,22 @@ FsWatches *deleted*:: /a/b/app.ts: {} +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/test.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /a/b/tsconfig.json + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -300,7 +339,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -337,3 +376,34 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/test.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/test2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/b/tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js index ffcf5662b909e..840ea852fd5af 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -138,7 +138,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -176,6 +176,29 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/b/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /a/b/tsconfig.json + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -219,6 +242,22 @@ FsWatches *deleted*:: /a/b/app.ts: {} +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/test.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /a/b/tsconfig.json + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -244,7 +283,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -281,3 +320,34 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/test.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/test2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/b/tsconfig.json + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js index 2ad5626bc1db8..c3bcb2be3bdd1 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -146,3 +146,18 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js index 26cd9fdb0423a..f956d785aa178 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/no-such-tsconfig.json : { } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/no-such-tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -183,3 +183,18 @@ FsWatches:: {} /a/lib/lib.d.ts: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js index c8a1d410a5ed4..6399f55124d30 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.ts SVC-1-0 "" @@ -208,6 +208,21 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/lib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -296,6 +311,11 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "synchronizeProjectList", @@ -326,7 +346,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.ts SVC-1-0 "" diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js index 0f36ebd9eba80..f1f6e1643f3c8 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.ts SVC-1-0 "" @@ -194,6 +194,21 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/lib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -268,6 +283,11 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "synchronizeProjectList", @@ -298,7 +318,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.ts SVC-1-0 "" diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js index 38e3672cac4c1..53d6e27800826 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/applib.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -182,6 +182,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -248,6 +263,11 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "compilerOptionsDiagnostics-full", @@ -259,7 +279,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/applib.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -289,3 +309,22 @@ FsWatches:: {} /a/lib/lib.d.ts: {} + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/applib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js index 2ef084ee38258..e6f532f52a148 100644 --- a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js +++ b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -193,6 +193,29 @@ FsWatchesRecursive:: /users/username/projects/myproject/src: *new* {} +Projects:: +/users/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/tsconfig.json +/users/username/projects/myproject/node_modules/@custom/plugin/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/tsconfig.json +/users/username/projects/myproject/node_modules/@custom/plugin/proposed.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/tsconfig.json +/users/username/projects/myproject/src/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -327,6 +350,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/tsconfig.json +/users/username/projects/myproject/node_modules/@custom/plugin/index.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/tsconfig.json +/users/username/projects/myproject/node_modules/@custom/plugin/proposed.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/tsconfig.json +/users/username/projects/myproject/src/a.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /users/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -354,7 +400,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js b/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js index c6a09d84d3e0c..54821c6b998da 100644 --- a/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js +++ b/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "label: while (1) {}" @@ -188,6 +188,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /tsconfig.json 1:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -203,6 +214,11 @@ Timeout callback:: count: 2 1: /tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -225,7 +241,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "label: while (1) {}" diff --git a/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js b/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js index b8650f1eda9f7..39862123f7a30 100644 --- a/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js +++ b/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-1-0 "" @@ -216,3 +216,14 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js b/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js index 6de910d9455cb..8773264555965 100644 --- a/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js +++ b/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefi Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/applib.ts 500 undefined Project: /a/b/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -90,6 +90,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -107,6 +112,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/b/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/test.csproj +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/test.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -160,6 +180,21 @@ FsWatches *deleted*:: Timeout callback:: count: 1 2: /a/b/test.csproj *new* +Projects:: +/a/b/test.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/b/test.csproj *deleted* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/test.csproj + Info seq [hh:mm:ss:mss] request: { "command": "compilerOptionsDiagnostics-full", @@ -172,7 +207,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/applib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined Project: /a/b/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/test.csproj Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -208,6 +243,21 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/a/b/test.csproj (External) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/applib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/test.csproj +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/test.csproj + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/app.ts 0:: WatchInfo: /a/b/app.ts 500 undefined Project: /a/b/test.csproj WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/app.ts 500 undefined Project: /a/b/test.csproj WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /a/b/test.csproj, Cancelled earlier one @@ -231,6 +281,11 @@ Timeout callback:: count: 1 2: /a/b/test.csproj *deleted* 3: /a/b/test.csproj *new* +Projects:: +/a/b/test.csproj (External) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] request: { "command": "compilerOptionsDiagnostics-full", @@ -242,7 +297,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/test.csproj Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/test.csproj projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -272,3 +327,22 @@ FsWatches:: {} /a/lib/lib.d.ts: {} + +Projects:: +/a/b/test.csproj (External) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-2 + containingProjects: 1 + /a/b/test.csproj +/a/b/applib.ts + version: Text-1 + containingProjects: 1 + /a/b/test.csproj +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/test.csproj diff --git a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js index 9cd75abfc2614..fb60239dc3284 100644 --- a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/myp Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/myproject/node_modules/@types 1 undefined Project: /a/b/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/projects/myproject/bar/app.ts SVC-1-0 "class Bar implements foo.Foo { getFoo() { return ''; } get2() { return 1; } }" @@ -228,6 +228,21 @@ FsWatchesRecursive:: /a/b/projects/myproject: *new* {} +Projects:: +/a/b/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/myproject/bar/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/projects/myproject/tsconfig.json *default* +/a/b/projects/myproject/foo/foo.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -364,10 +379,25 @@ Timeout callback:: count: 2 10: /a/b/projects/myproject/tsconfig.json *new* 11: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/myproject/bar/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/projects/myproject/tsconfig.json *default* +/a/b/projects/myproject/foo/foo.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /a/b/projects/myproject/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] Running: /a/b/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/myproject/foo2/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/projects/myproject/bar/app.ts SVC-1-0 "class Bar implements foo.Foo { getFoo() { return ''; } get2() { return 1; } }" @@ -429,6 +459,21 @@ FsWatchesRecursive:: /a/b/projects/myproject: {} +Projects:: +/a/b/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/projects/myproject/bar/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/projects/myproject/tsconfig.json *default* +/a/b/projects/myproject/foo2/foo.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/projects/myproject/tsconfig.json + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/projectErrors/for-external-project.js b/tests/baselines/reference/tsserver/projectErrors/for-external-project.js index 879ca6e444e30..374a170e5b585 100644 --- a/tests/baselines/reference/tsserver/projectErrors/for-external-project.js +++ b/tests/baselines/reference/tsserver/projectErrors/for-external-project.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -57,6 +57,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/b/project.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/f1.js *new* + version: Text-1 + containingProjects: 1 + /a/b/project.csproj +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -196,6 +211,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/project.csproj' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -215,6 +235,11 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/a/b/project.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -253,13 +278,18 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project.csproj Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /a/b/f1.js Text-1 "function test1() { }" Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/b/project.csproj' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -267,6 +297,11 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/project.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js b/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js index 35089bb8d0978..bf0bce1b317f0 100644 --- a/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js +++ b/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js @@ -31,7 +31,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/f1.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -50,6 +50,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/f1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -187,6 +202,11 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -231,6 +251,11 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -243,7 +268,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -256,3 +281,8 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js index 3408c0cfa2c46..4a2e362d98054 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -176,6 +176,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -338,6 +353,11 @@ Timeout callback:: count: 3 7: /user/username/projects/myproject/tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "geterr", @@ -371,7 +391,7 @@ Before running Timeout callback:: count: 4 Invoking Timeout callback:: timeoutId:: 9:: checkOne Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -399,6 +419,11 @@ Timeout callback:: count: 2 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck @@ -774,6 +799,11 @@ Timeout callback:: count: 3 14: /user/username/projects/myproject/tsconfig.json *new* 15: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -795,7 +825,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -866,6 +896,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/@angular/core/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js index b7bfd3f64fa94..316fc98a11fd5 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -176,6 +176,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -341,6 +356,11 @@ Timeout callback:: count: 3 7: /user/username/projects/myproject/tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -358,7 +378,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -396,6 +416,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -816,6 +841,11 @@ Timeout callback:: count: 3 15: /user/username/projects/myproject/tsconfig.json *new* 16: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -837,7 +867,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -908,6 +938,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/@angular/core/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js index 3a8823375fb2f..6bee18cb202ff 100644 --- a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js +++ b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -85,6 +85,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/client/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -248,6 +263,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -270,7 +290,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/utilities.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -452,6 +472,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/test: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/client/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/server/utilities.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/test/backend/index.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -665,6 +708,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/test: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/client/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/server/utilities.js + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/test/backend/index.js *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -683,7 +750,7 @@ Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/server/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -795,7 +862,7 @@ TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discove Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -970,6 +1037,29 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/test: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/client/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/server/utilities.js (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/test/backend/index.js *deleted* + version: SVC-1-0 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js b/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js index da7786650c914..021a71b870fa5 100644 --- a/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -199,6 +199,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/blabla.json *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js b/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js index 2881acf14a3c1..e792618134407 100644 --- a/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -196,6 +196,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/blabla.json *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js index 6c603bba99dbf..6e894826045ef 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/someFolder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -83,6 +83,21 @@ FsWatches:: /user/someuser/projects/someFolder/src/somefile.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +untitled:Untitled-1 (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + ScriptInfos: path: /user/someuser/projects/somefolder/untitled:untitled-1 fileName: untitled:Untitled-1 diff --git a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js index 4d3205f17f420..8c33f3d12716a 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /typings/@epic/Core.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/somefile.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -74,6 +74,21 @@ FsWatches:: /src/somefile.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +untitled:Untitled-1 (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + ScriptInfos: path: /untitled:untitled-1 fileName: untitled:Untitled-1 diff --git a/tests/baselines/reference/tsserver/projectErrors/when-options-change.js b/tests/baselines/reference/tsserver/projectErrors/when-options-change.js index a4cf2e7209705..45dfcecce523c 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-options-change.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-options-change.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -207,6 +207,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -291,6 +306,11 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "semanticDiagnosticsSync", @@ -324,7 +344,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js index 31b9bc06e41de..4d55903f889d3 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -164,6 +164,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/ui.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js index 008e9ed9e4d9a..1b2116fca1d34 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -164,6 +164,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/ui.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js index bb2cc0b72b213..72a7341240fa4 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -164,6 +164,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/ui.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js index faddf76dbf20e..80d98e14712d1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js @@ -351,7 +351,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/SiblingClass/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/SiblingClass/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/SiblingClass/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/SiblingClass/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/SiblingClass/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/SiblingClass/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -467,6 +467,25 @@ FsWatches:: /user/username/projects/myproject/tsbase.json: *new* {} +Projects:: +/user/username/projects/myproject/SiblingClass/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/SiblingClass/tsconfig.json +/user/username/projects/myproject/SiblingClass/Source.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/SiblingClass/tsconfig.json *default* +/user/username/projects/myproject/buttonClass/Source.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/SiblingClass/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js index 5892533c3d8ca..9285851fba2c1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -482,7 +550,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -491,7 +559,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js index 6609df86bfc7b..732b97983db59 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -482,7 +550,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js index 826a25c3d218c..30218b23af4a6 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -482,7 +550,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -491,7 +559,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js index f1c8b789988eb..9b2fc5aabe982 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -482,7 +550,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js index 33f774d243fd9..da0aca9977724 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -483,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js index dcf72b43d6b47..33a30dd0b8032 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js index 923084b5a4ef9..828f7705ac918 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -483,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js index 5d0d0c612bbab..5957754aece66 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js index f068be3318dc5..279b6c9a9ce88 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js index fe13fd6af05db..a98884bc9dba6 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -483,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js index 8b70b49602dfe..1cfda60dfc2ff 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -483,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js index 6e49a7f7ce436..61301a486fc56 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -483,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js index d42ca17875069..76a15bf39c03c 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -483,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js index 5f8722a3b361c..fde4b0ac687a3 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js index 496f723e96548..3796b29a481c1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js index ead854008a00c..f762836518448 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -482,7 +550,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -491,7 +559,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js index 23956d7b1b520..26e6046903858 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -482,7 +550,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js index 90b5470a902ac..41c7b61434855 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -483,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js index ac04725d300c5..b689fabbbc5dd 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -482,7 +550,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -491,7 +559,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js index 617eb6b9aab01..6ecbd75a31079 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -483,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js index 5bd8db9c822f6..2afcd82f796db 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -482,7 +550,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js index f611a2b57aec3..696afcbd02568 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -483,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js index cbc5ce3798c0a..c52a7cd2a67b9 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -470,6 +514,30 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -483,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js index e2c39dbc5736a..f99f525e21151 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js index a13b43c3801c5..4b545931009c4 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -387,6 +406,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js index cb910eb98ef2d..35b9d4c4b457a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -284,6 +303,26 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/usage/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "compileOnSaveAffectedFileList", @@ -294,7 +333,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -333,6 +372,21 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js index c3fad6e18bc21..a0217a2f27cc5 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -291,6 +310,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -303,7 +341,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js index 1c9c99e1f22ca..56d332a6cc0c0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -284,6 +303,26 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/usage/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "compileOnSaveAffectedFileList", @@ -294,7 +333,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -331,6 +370,21 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js index df2a37dd235cf..b449c907be0ab 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -291,6 +310,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -303,7 +341,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js index 14d725dce74db..a38e5727d5227 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -284,6 +303,26 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/usage/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "compileOnSaveAffectedFileList", @@ -295,7 +334,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -318,6 +357,21 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js index 45332f3068e19..a083ec37c7237 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -291,6 +310,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -304,7 +342,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js index 4daa680e784fc..33442ede1c592 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -284,6 +303,26 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/usage/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "compileOnSaveAffectedFileList", @@ -295,7 +334,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -316,6 +355,21 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js index 1fce847370587..fca9aa9203213 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -291,6 +310,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -304,7 +342,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js index 9c41480f4c43c..7ea4e283f4747 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js index 6b70ad084bb60..cce7906392229 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js index 48987582d81b4..131354250c3af 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -284,6 +303,26 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/usage/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "compileOnSaveAffectedFileList", @@ -294,7 +333,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -333,6 +372,21 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js index 607026c118f10..c5c28304b676a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -291,6 +310,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -303,7 +341,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js index 0ab4989864f9a..646dae3cea607 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -284,6 +303,26 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/usage/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "compileOnSaveAffectedFileList", @@ -294,7 +333,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -333,6 +372,21 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js index 892e89acdf18d..77b6bbe1e8979 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -291,6 +310,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -303,7 +341,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js index cfe4143c498e1..8eb5d03d9e4c8 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -284,6 +303,26 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/usage/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "compileOnSaveAffectedFileList", @@ -295,7 +334,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -318,6 +357,21 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js index ee1135975d0bd..d15dddd70925a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -291,6 +310,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -304,7 +342,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js index c20bedd3567b1..7b48bffc13f90 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -284,6 +303,26 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/usage/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "compileOnSaveAffectedFileList", @@ -295,7 +334,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -318,6 +357,21 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js index 7ba89be79ae6f..3d84fa495254d 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -291,6 +310,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -304,7 +342,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js index 407cb424fb4e8..5696afdaabdca 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js index ef4b126e8e4ad..41c7292716ed0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js index 7a45e1fd25c2e..2e139416f53a1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -238,6 +238,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js index dcdf3252257fa..c28af695498d2 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -238,6 +238,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js index 068d08516ff6e..045d1f54a1c64 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -238,6 +238,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js index a911761781675..50a657ffe5a41 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -238,6 +238,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -270,7 +289,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -398,6 +417,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js index 9b1032c418e99..75c3bc00d06ae 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -238,6 +238,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -270,7 +289,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -398,6 +417,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js index 07767f98f53ab..0aef48b1eb4ad 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -238,6 +238,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -270,7 +289,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -398,6 +417,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js index 749f0f38bb968..ac709cd6196ff 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -232,6 +232,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js index f7fed879c1b02..c39fe83ab4e0a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -232,6 +232,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js index 4e5a80b5fa5d6..68d331c1179d4 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -232,6 +232,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js index e9e8b3b795898..a16ba464848c3 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -232,6 +232,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -264,7 +283,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -390,6 +409,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js index a0bc59171b07f..3cfe39b3cd142 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -232,6 +232,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -264,7 +283,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -390,6 +409,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js index 90105ec51e438..3cfff2edcbb52 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/usage/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -232,6 +232,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: *new* {} +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/dependency/fns.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json +/user/username/projects/myproject/usage/usage.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -264,7 +283,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -390,6 +409,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/usage: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/fns.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/usage/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/usage/usage.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/usage/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js index c04ca42c6ebf8..b0d34cfff7961 100644 --- a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js +++ b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js @@ -430,7 +430,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -555,6 +555,28 @@ FsWatches:: /user/username/projects/container/tsconfig.json: *new* {} +Projects:: +/user/username/projects/container/compositeExec/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json +/user/username/projects/container/compositeExec/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json *default* +/user/username/projects/container/lib/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -575,7 +597,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -637,6 +659,36 @@ FsWatches:: /user/username/projects/container/tsconfig.json: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/compositeExec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/container/compositeExec/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/container/compositeExec/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json *default* +/user/username/projects/container/lib/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json +/user/username/projects/temp/temp.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -670,7 +722,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -787,7 +839,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -887,7 +939,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/exec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/exec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/exec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/exec/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/exec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/exec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1072,6 +1124,50 @@ FsWatches:: /user/username/projects/container/tsconfig.json: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/compositeExec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/exec/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/lib/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /user/username/projects/container/compositeExec/tsconfig.json + /dev/null/inferredProject1* + /user/username/projects/container/lib/tsconfig.json *new* + /user/username/projects/container/exec/tsconfig.json *new* +/user/username/projects/container/compositeExec/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json *default* +/user/username/projects/container/exec/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/lib/index.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/container/compositeExec/tsconfig.json + /user/username/projects/container/lib/tsconfig.json *new* + /user/username/projects/container/exec/tsconfig.json *new* +/user/username/projects/temp/temp.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1153,6 +1249,51 @@ FsWatches:: /user/username/projects/temp/temp.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/container/compositeExec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/exec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/lib/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 4 + /user/username/projects/container/compositeExec/tsconfig.json + /dev/null/inferredProject1* + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/compositeExec/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json *default* +/user/username/projects/container/exec/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/lib/index.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/container/compositeExec/tsconfig.json + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/temp/temp.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -1170,7 +1311,7 @@ Info seq [hh:mm:ss:mss] For info: /user/username/projects/temp/temp.ts :: No co Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1241,6 +1382,34 @@ FsWatches *deleted*:: /user/username/projects/temp/temp.ts: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 4 + /user/username/projects/container/compositeExec/tsconfig.json + /dev/null/inferredProject1* + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/compositeExec/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json *default* +/user/username/projects/container/exec/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/lib/index.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/container/compositeExec/tsconfig.json + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/temp/temp.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -1318,6 +1487,34 @@ FsWatches:: /user/username/projects/container/tsconfig.json: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 4 + /user/username/projects/container/compositeExec/tsconfig.json + /dev/null/inferredProject1* + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/compositeExec/index.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json +/user/username/projects/container/exec/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/lib/index.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/container/compositeExec/tsconfig.json + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/temp/temp.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1399,6 +1596,51 @@ FsWatches:: /user/username/projects/temp/temp.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 +/user/username/projects/container/compositeExec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/exec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/lib/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 4 + /user/username/projects/container/compositeExec/tsconfig.json + /dev/null/inferredProject1* + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/compositeExec/index.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json +/user/username/projects/container/exec/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/lib/index.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/container/compositeExec/tsconfig.json + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/temp/temp.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -1416,7 +1658,7 @@ Info seq [hh:mm:ss:mss] For info: /user/username/projects/temp/temp.ts :: No co Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) @@ -1553,3 +1795,48 @@ FsWatches *deleted*:: {} /user/username/projects/temp/temp.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 3 + projectProgramVersion: 1 +/user/username/projects/container/compositeExec/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/exec/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/lib/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/container/compositeExec/tsconfig.json *deleted* + /user/username/projects/container/lib/tsconfig.json *deleted* + /user/username/projects/container/exec/tsconfig.json *deleted* +/user/username/projects/container/compositeExec/index.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/container/compositeExec/tsconfig.json *deleted* +/user/username/projects/container/exec/index.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/container/exec/tsconfig.json *deleted* +/user/username/projects/container/lib/index.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/container/compositeExec/tsconfig.json *deleted* + /user/username/projects/container/lib/tsconfig.json *deleted* + /user/username/projects/container/exec/tsconfig.json *deleted* +/user/username/projects/temp/temp.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js index 4276ff322ad44..95d8f4146e343 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js @@ -316,7 +316,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app/src/program/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app/src/program/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app/src/program/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -465,6 +465,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/shared/src/library: *new* {} +Projects:: +/user/username/projects/myproject/app/src/program/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json +/user/username/projects/myproject/app/src/program/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json +/user/username/projects/myproject/app/src/program/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json *default* +/user/username/projects/myproject/shared/bld/library/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js index 43c8313b0962b..b57338c8086b5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js @@ -314,7 +314,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app/src/program/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app/src/program/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app/src/program/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -462,6 +462,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/shared/src/library: *new* {} +Projects:: +/user/username/projects/myproject/app/src/program/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json +/user/username/projects/myproject/app/src/program/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json +/user/username/projects/myproject/app/src/program/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json *default* +/user/username/projects/myproject/shared/src/library/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js index 612cb258401b5..f21359e650155 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js @@ -145,7 +145,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app/src/program/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/app/src/program/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app/src/program/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -293,6 +293,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/shared/src/library: *new* {} +Projects:: +/user/username/projects/myproject/app/src/program/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json +/user/username/projects/myproject/app/src/program/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json +/user/username/projects/myproject/app/src/program/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json *default* +/user/username/projects/myproject/shared/src/library/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/app/src/program/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js index 4d03b54e45e95..6d414b94cc4e5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js +++ b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js @@ -427,7 +427,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -552,6 +552,28 @@ FsWatches:: /user/username/projects/container/tsconfig.json: *new* {} +Projects:: +/user/username/projects/container/compositeExec/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json +/user/username/projects/container/compositeExec/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json *default* +/user/username/projects/container/lib/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -585,7 +607,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -702,7 +724,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -802,7 +824,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/exec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/exec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/exec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/exec/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/exec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/exec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -980,3 +1002,39 @@ FsWatches:: {} /user/username/projects/container/tsconfig.json: {} + +Projects:: +/user/username/projects/container/compositeExec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/exec/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/lib/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/container/compositeExec/tsconfig.json + /user/username/projects/container/lib/tsconfig.json *new* + /user/username/projects/container/exec/tsconfig.json *new* +/user/username/projects/container/compositeExec/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json *default* +/user/username/projects/container/exec/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/lib/index.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/container/compositeExec/tsconfig.json + /user/username/projects/container/lib/tsconfig.json *new* + /user/username/projects/container/exec/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js index eb9b55eb12f96..f69d479baf646 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js @@ -236,7 +236,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -432,6 +432,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Info seq [hh:mm:ss:mss] getDefaultProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] findDefaultConfiguredProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request @@ -448,7 +470,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -484,6 +506,36 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* *new* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -543,6 +595,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -602,6 +674,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -617,7 +720,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -702,6 +805,37 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/src/helpers/functions.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -800,7 +934,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -831,7 +965,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -915,6 +1049,36 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-src.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1016,7 +1180,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -1061,7 +1225,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1117,7 +1281,7 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1142,6 +1306,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig-src.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined @@ -1155,3 +1337,14 @@ Info seq [hh:mm:ss:mss] response: After request Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig-src.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index ca42a8b359d45..ab87c3bed5a3f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -189,7 +189,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -263,7 +263,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -389,6 +389,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json *default* + Info seq [hh:mm:ss:mss] getDefaultProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-indirect1.json Info seq [hh:mm:ss:mss] findDefaultConfiguredProject for /user/username/projects/myproject/src/main.ts: undefined Before request @@ -405,7 +431,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -441,6 +467,40 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig-indirect1.json + /dev/null/inferredProject1* *new* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -500,6 +560,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-indirect1.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json + Before request Info seq [hh:mm:ss:mss] request: @@ -559,6 +643,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-indirect1.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json + Before request Info seq [hh:mm:ss:mss] request: @@ -574,7 +693,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -661,6 +780,41 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/indirect1/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* +/user/username/projects/myproject/src/helpers/functions.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -737,7 +891,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -769,7 +923,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -855,6 +1009,40 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-indirect1.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -937,7 +1125,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -982,7 +1170,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1040,7 +1228,7 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig-indirect1.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1065,6 +1253,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig-indirect1.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined @@ -1078,3 +1284,14 @@ Info seq [hh:mm:ss:mss] response: After request Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index c038ee2ea9c3d..80bf891b8c118 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -151,7 +151,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -236,7 +236,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -298,6 +298,24 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] getDefaultProject for /user/username/projects/myproject/src/main.ts: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] findDefaultConfiguredProject for /user/username/projects/myproject/src/main.ts: undefined Before request @@ -314,7 +332,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -394,6 +412,32 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,6 +503,30 @@ FsWatches *deleted*:: /user/username/projects/myproject/tsconfig.json: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -508,6 +576,29 @@ FsWatches:: /user/username/projects/myproject/src/main.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject2* *deleted* +/user/username/projects/myproject/src/main.ts + version: SVC-1-0 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -523,7 +614,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -588,6 +679,29 @@ FsWatches *deleted*:: /user/username/projects/myproject/src/main.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* + /dev/null/inferredProject1* *deleted* +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -646,7 +760,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -687,7 +801,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -755,6 +869,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject2* + /dev/null/inferredProject3* *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -816,7 +956,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -872,7 +1012,7 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -898,7 +1038,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -923,6 +1063,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined @@ -978,3 +1136,14 @@ FsWatchesRecursive:: {} Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* +/dev/null/inferredProject3* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js index af5a20854d171..2566b8fe6395f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -565,7 +565,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/exec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/exec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/exec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/exec/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/exec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/exec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -652,7 +652,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -752,7 +752,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -807,6 +807,23 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/exec/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -844,6 +861,42 @@ FsWatches:: /user/username/projects/container/tsconfig.json: *new* {} +Projects:: +/user/username/projects/container/compositeExec/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/exec/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/lib/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/container/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 3 + /user/username/projects/container/compositeExec/tsconfig.json + /user/username/projects/container/exec/tsconfig.json + /user/username/projects/container/lib/tsconfig.json +/user/username/projects/container/compositeExec/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/container/compositeExec/tsconfig.json +/user/username/projects/container/exec/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/lib/index.ts *new* + version: Text-1 + containingProjects: 3 + /user/username/projects/container/compositeExec/tsconfig.json + /user/username/projects/container/exec/tsconfig.json + /user/username/projects/container/lib/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index 1d721aca32dff..a4886b1dde100 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" @@ -277,6 +277,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -312,7 +327,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -488,6 +503,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 3eba9b14af754..3f6d303c42d63 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" @@ -289,6 +289,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -324,7 +339,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -500,6 +515,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -679,3 +720,24 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/b: {} + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index 3f61b922a8aed..bacdb87d47c4f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -277,6 +277,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -311,7 +326,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -485,6 +500,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/a/tsconfig.json + /user/username/projects/myproject/b/tsconfig.json *new* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 44f02e6843f01..1d68aa91c14cc 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -289,6 +289,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -323,7 +338,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -497,6 +512,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/a/tsconfig.json + /user/username/projects/myproject/b/tsconfig.json *new* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index cf0c184668437..dc2e1feac2430 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" @@ -277,6 +277,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -312,7 +327,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -488,6 +503,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 29ac87edc33d4..e5436d2311585 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" @@ -289,6 +289,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -324,7 +339,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -500,6 +515,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -679,3 +720,24 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/b: {} + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index 552edca22287b..7fd98b21e60fb 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -277,6 +277,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -311,7 +326,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -485,6 +500,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/a/tsconfig.json + /user/username/projects/myproject/b/tsconfig.json *new* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 92b4cfb2864de..ddeff714c37a3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -289,6 +289,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -323,7 +338,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -497,6 +512,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/a/tsconfig.json + /user/username/projects/myproject/b/tsconfig.json *new* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index 78cd54b0c790f..90f1f8cd2c7e3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" @@ -277,6 +277,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 33b89937309d7..e57c584f8aad1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" @@ -289,6 +289,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -417,3 +432,19 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/b: {} + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/b/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index f6c1f5250c872..c45424db9fa57 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -277,6 +277,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 8a279616a253d..8e8f874ffac9f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -289,6 +289,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index 6debd5c76c275..1703d6271b9ee 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" @@ -277,6 +277,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index af6496bc10747..43084d0570e98 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/lib/index.d.ts Text-1 "export declare class B {\n M(): void;\n}\n//# sourceMappingURL=index.d.ts.map" @@ -289,6 +289,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -329,7 +344,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -561,3 +576,32 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/b: {} + +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json +/user/username/projects/myproject/b/lib/index.d.ts.map *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index b9e3daa55f424..cfa96717709e9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -277,6 +277,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -315,7 +330,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -543,3 +558,26 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/b: {} + +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/b/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/a/tsconfig.json + /user/username/projects/myproject/b/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 95deb234a35a0..1ce045f28dbc9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -289,6 +289,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -327,7 +342,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/b/index.ts Text-1 "export class B {\n M() {}\n}" @@ -555,3 +570,26 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/b: {} + +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/user/username/projects/myproject/a/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/a/tsconfig.json *default* +/user/username/projects/myproject/b/helper.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/b/tsconfig.json +/user/username/projects/myproject/b/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/a/tsconfig.json + /user/username/projects/myproject/b/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js index 0fd6e260fb67a..cb6343706be4c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/compiler/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/compiler/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/compiler/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -243,6 +243,28 @@ FsWatches:: /user/username/projects/solution/tsconfig.json: *new* {} +Projects:: +/user/username/projects/solution/compiler/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/compiler/tsconfig.json +/user/username/projects/solution/compiler/program.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/compiler/tsconfig.json *default* +/user/username/projects/solution/compiler/types.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/compiler/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -366,7 +388,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -451,7 +473,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/services/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/services/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/services/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/services/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/services/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/services/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -626,3 +648,35 @@ FsWatches:: {} /user/username/projects/solution/tsconfig.json: {} + +Projects:: +/user/username/projects/solution/compiler/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/services/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/solution/compiler/tsconfig.json + /user/username/projects/solution/services/tsconfig.json *new* +/user/username/projects/solution/compiler/program.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /user/username/projects/solution/compiler/tsconfig.json *default* + /user/username/projects/solution/services/tsconfig.json *new* +/user/username/projects/solution/compiler/types.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/solution/compiler/tsconfig.json + /user/username/projects/solution/services/tsconfig.json *new* +/user/username/projects/solution/services/services.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/services/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js index d550b2795b54c..cd38163b6f818 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js @@ -183,7 +183,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -312,6 +312,28 @@ FsWatchesRecursive:: /user/username/projects/solution/a: *new* {} +Projects:: +/user/username/projects/solution/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/b/tsconfig.json +/user/username/projects/solution/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/b/tsconfig.json +/user/username/projects/solution/b/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -346,7 +368,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -487,7 +509,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -578,7 +600,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -677,7 +699,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/d/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/d/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -961,6 +983,54 @@ FsWatchesRecursive:: /user/username/projects/solution/c: *new* {} +Projects:: +/user/username/projects/solution/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/d/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /user/username/projects/solution/b/tsconfig.json + /user/username/projects/solution/a/tsconfig.json *new* + /user/username/projects/solution/c/tsconfig.json *new* + /user/username/projects/solution/d/tsconfig.json *new* +/user/username/projects/solution/a/index.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /user/username/projects/solution/b/tsconfig.json + /user/username/projects/solution/a/tsconfig.json *new* + /user/username/projects/solution/c/tsconfig.json *new* + /user/username/projects/solution/d/tsconfig.json *new* +/user/username/projects/solution/b/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 3 *changed* + /user/username/projects/solution/b/tsconfig.json *default* + /user/username/projects/solution/c/tsconfig.json *new* + /user/username/projects/solution/d/tsconfig.json *new* +/user/username/projects/solution/c/index.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/solution/c/tsconfig.json + /user/username/projects/solution/d/tsconfig.json +/user/username/projects/solution/d/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/d/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js index 8be3272a7ce6c..1fb54f9879b34 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js @@ -324,7 +324,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -460,6 +460,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -578,6 +601,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -605,7 +651,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js index ae52918409aaa..99d5111a23a7f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js @@ -320,7 +320,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -455,6 +455,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -573,6 +596,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -600,7 +646,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js index 1c34fc75651a7..f79a091ab80ae 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js @@ -146,7 +146,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -282,6 +282,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -400,6 +423,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +473,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js index 09df26beee56b..67ec3c612ea24 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js @@ -142,7 +142,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -277,6 +277,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -395,6 +418,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +468,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index c779f5e99043b..50df5ca007aea 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -324,7 +324,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -460,6 +460,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -578,6 +601,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -605,7 +651,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js index b440358ae5fbe..7dabbae240f7a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js @@ -320,7 +320,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -455,6 +455,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -573,6 +596,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -600,7 +646,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 3287d3949582d..81232521d44dc 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -146,7 +146,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -282,6 +282,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -400,6 +423,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +473,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js index ce90faf2aac0a..d3883904ab24f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js @@ -142,7 +142,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -277,6 +277,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -395,6 +418,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +468,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js index c4340b8ed4c99..a2ea14856c4e0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js @@ -321,7 +321,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -457,6 +457,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -575,6 +598,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js index d7b37ab1c43e5..4b53dd73234d3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js @@ -317,7 +317,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -452,6 +452,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -570,6 +593,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -597,7 +643,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js index 99d72bea29427..48a3ce9fa93c3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js @@ -143,7 +143,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -279,6 +279,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -397,6 +420,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -424,7 +470,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js index f6f05c2857f63..41fa19f082960 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -274,6 +274,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -392,6 +415,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -419,7 +465,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 14f24ffaee6fc..af9f37916b859 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -321,7 +321,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -457,6 +457,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -575,6 +598,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js index 890b7a8727712..343a9f93cfd17 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js @@ -317,7 +317,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -452,6 +452,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -570,6 +593,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -597,7 +643,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 7f64f4636f780..4d0a7e96376c2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -143,7 +143,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -279,6 +279,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -397,6 +420,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -424,7 +470,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js index 63f85deaa8cc5..9de5923a36cde 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -274,6 +274,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -392,6 +415,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/A/src/test.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json *default* +/user/username/projects/myproject/packages/B/src/bar/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json +/user/username/projects/myproject/packages/B/src/foo.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/A/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -419,7 +465,7 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js index 08d644631df4a..9e9c6f4dfcbbe 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -237,6 +237,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: *new* {} +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -252,10 +271,15 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/projects/project2/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -322,6 +346,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: {} +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -371,10 +400,15 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/projects/project2/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -452,6 +486,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: {} +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class3.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory @@ -512,10 +569,33 @@ Timeout callback:: count: 2 5: /user/username/projects/myproject/projects/project2/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class3.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/projects/project2/tsconfig.json *deleted* +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -590,6 +670,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: {} +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -639,10 +724,15 @@ Timeout callback:: count: 2 7: /user/username/projects/myproject/projects/project2/tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 4 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -719,3 +809,26 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/projects/project2: {} + +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 5 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class3.d.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js index 5fae8f7f7b831..d9b1f1df2e12b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -234,6 +234,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: *new* {} +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -249,10 +268,15 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/projects/project2/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -330,6 +354,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: {} +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js index 8cad371562e58..ed26cbbebd931 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -237,6 +237,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: *new* {} +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -270,7 +289,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -396,6 +415,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: {} +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/projects/project2/tsconfig.json + /user/username/projects/myproject/projects/project1/tsconfig.json *new* +/user/username/projects/myproject/projects/project1/class1.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project1/tsconfig.json *default* +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -415,10 +461,18 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/projects/project1/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -429,7 +483,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -521,6 +575,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: {} +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/projects/project2/tsconfig.json + /user/username/projects/myproject/projects/project1/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project1/tsconfig.json *default* +/user/username/projects/myproject/projects/project1/class3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project1/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -574,10 +659,18 @@ Timeout callback:: count: 2 5: /user/username/projects/myproject/projects/project2/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -672,6 +765,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: {} +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/projects/project2/tsconfig.json + /user/username/projects/myproject/projects/project1/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project1/tsconfig.json *default* +/user/username/projects/myproject/projects/project1/class3.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project1/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory @@ -736,10 +864,45 @@ Timeout callback:: count: 2 7: /user/username/projects/myproject/projects/project2/tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/projects/project2/tsconfig.json + /user/username/projects/myproject/projects/project1/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project1/tsconfig.json *default* +/user/username/projects/myproject/projects/project1/class3.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/projects/project2/tsconfig.json *deleted* +/user/username/projects/myproject/projects/project1/class3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project1/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -831,6 +994,14 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: {} +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -884,10 +1055,18 @@ Timeout callback:: count: 2 9: /user/username/projects/myproject/projects/project2/tsconfig.json *new* 10: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 4 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -981,3 +1160,38 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/projects/project2: {} + +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 5 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/projects/project2/tsconfig.json + /user/username/projects/myproject/projects/project1/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project1/tsconfig.json *default* +/user/username/projects/myproject/projects/project1/class3.d.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class3.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project1/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js index 036362baab4b8..cc6ceeadab58b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -234,6 +234,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: *new* {} +Projects:: +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -268,7 +287,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -396,6 +415,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: {} +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/projects/project2/tsconfig.json + /user/username/projects/myproject/projects/project1/tsconfig.json *new* +/user/username/projects/myproject/projects/project1/class1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/projects/project2/tsconfig.json + /user/username/projects/myproject/projects/project1/tsconfig.json *default* *new* +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -415,10 +459,18 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/projects/project1/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -439,7 +491,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/projects/project1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -527,6 +579,35 @@ FsWatchesRecursive:: /user/username/projects/myproject/projects/project2: {} +Projects:: +/user/username/projects/myproject/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/projects/project2/tsconfig.json + /user/username/projects/myproject/projects/project1/tsconfig.json +/user/username/projects/myproject/projects/project1/class1.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/projects/project2/tsconfig.json + /user/username/projects/myproject/projects/project1/tsconfig.json *default* +/user/username/projects/myproject/projects/project1/class3.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/projects/project2/tsconfig.json + /user/username/projects/myproject/projects/project1/tsconfig.json +/user/username/projects/myproject/projects/project2/class2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/projects/project2/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js index 177023a759d02..1b0305863972c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -220,7 +220,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -339,6 +339,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Info seq [hh:mm:ss:mss] getDefaultProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] findDefaultConfiguredProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request @@ -438,7 +460,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -474,6 +496,36 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* *new* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -529,6 +581,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -584,6 +656,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -599,7 +702,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -678,6 +781,37 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/src/helpers/functions.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -735,7 +869,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -766,7 +900,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -846,6 +980,36 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-src.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -901,6 +1065,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-src.json +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -916,7 +1111,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -965,6 +1160,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-src.json +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1025,7 +1240,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -1070,7 +1285,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1128,7 +1343,7 @@ Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig- Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1153,6 +1368,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig-src.json +Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined @@ -1167,6 +1400,17 @@ After request Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig-src.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -1286,6 +1530,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* +/user/username/projects/myproject/target/src/helpers/functions.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map *new* + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1345,6 +1614,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1404,6 +1699,43 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1450,7 +1782,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirect3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1638,6 +1970,54 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 5 + projectProgramVersion: 2 +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json *new* + /dev/null/inferredProject1* *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/dummy/dummy.ts *deleted* + version: SVC-1-0 + containingProjects: 0 +/user/username/projects/myproject/indirect3/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json *default* +/user/username/projects/myproject/src/helpers/functions.ts *changed* + version: Text-2 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-2-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/user/username/projects/myproject/target/src/helpers/functions.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json *new* +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/main.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1700,7 +2080,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -1730,7 +2110,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1917,3 +2297,47 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/target: {} + +Projects:: +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *new* +/user/username/projects/myproject/indirect3/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json *default* +/user/username/projects/myproject/src/helpers/functions.ts *changed* + version: Text-2 + containingProjects: 1 *changed* + /user/username/projects/myproject/tsconfig-src.json *new* +/user/username/projects/myproject/src/main.ts *new* + version: Text-3 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/main.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json +/user/username/projects/myproject/target/src/main.d.ts.map *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js index 3737fe1348093..c258b873cf191 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js @@ -234,7 +234,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -307,7 +307,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -430,6 +430,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Info seq [hh:mm:ss:mss] getDefaultProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] findDefaultConfiguredProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request @@ -529,7 +551,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -565,6 +587,36 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* *new* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -624,6 +676,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -683,6 +755,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -698,7 +801,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -783,6 +886,37 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/src/helpers/functions.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -880,7 +1014,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -911,7 +1045,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -995,6 +1129,36 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-src.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1054,6 +1218,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-src.json +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1069,7 +1264,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -1122,6 +1317,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-src.json +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1220,7 +1435,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -1265,7 +1480,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1323,7 +1538,7 @@ Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig- Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1348,6 +1563,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig-src.json +Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined @@ -1362,6 +1595,17 @@ After request Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig-src.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -1393,7 +1637,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1483,7 +1727,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1763,6 +2007,62 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-indirect1.json *new* + /user/username/projects/myproject/tsconfig-indirect2.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/indirect2/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/src/helpers/functions.ts *changed* + version: Text-2 + containingProjects: 3 *changed* + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json *new* + /user/username/projects/myproject/tsconfig-indirect2.json *new* +/user/username/projects/myproject/src/main.ts (Open) *changed* + version: SVC-2-0 + containingProjects: 3 *changed* + /user/username/projects/myproject/tsconfig-src.json *default* + /user/username/projects/myproject/tsconfig-indirect1.json *new* + /user/username/projects/myproject/tsconfig-indirect2.json *new* +/user/username/projects/myproject/target/src/helpers/functions.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map *new* + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1838,6 +2138,46 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/indirect2/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-2-0 + containingProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1913,6 +2253,63 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect2.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/indirect2/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/src/main.ts + version: SVC-2-0 + containingProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1959,7 +2356,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirect3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2205,6 +2602,74 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 5 + projectProgramVersion: 2 +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect2.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-src.json *deleted* + /dev/null/inferredProject1* *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* + /user/username/projects/myproject/tsconfig-indirect2.json *deleted* +/dummy/dummy.ts *deleted* + version: SVC-1-0 + containingProjects: 0 +/user/username/projects/myproject/indirect1/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* +/user/username/projects/myproject/indirect2/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-indirect2.json *deleted* +/user/username/projects/myproject/indirect3/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json *default* +/user/username/projects/myproject/src/helpers/functions.ts *changed* + version: Text-2 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* + /user/username/projects/myproject/tsconfig-indirect2.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-2-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* + /user/username/projects/myproject/tsconfig-indirect2.json *deleted* +/user/username/projects/myproject/target/src/helpers/functions.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json *new* +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/main.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2307,7 +2772,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -2337,7 +2802,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2389,7 +2854,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2434,7 +2899,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2716,3 +3181,67 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/target: {} + +Projects:: +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 4 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *new* + /user/username/projects/myproject/tsconfig-indirect1.json *new* + /user/username/projects/myproject/tsconfig-indirect2.json *new* +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/indirect2/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/indirect3/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json *default* +/user/username/projects/myproject/src/helpers/functions.ts *changed* + version: Text-2 + containingProjects: 3 *changed* + /user/username/projects/myproject/tsconfig-src.json *new* + /user/username/projects/myproject/tsconfig-indirect1.json *new* + /user/username/projects/myproject/tsconfig-indirect2.json *new* +/user/username/projects/myproject/src/main.ts *new* + version: Text-3 + containingProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/main.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json +/user/username/projects/myproject/target/src/main.d.ts.map *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js b/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js index fa5d6fddb510b..e89449e0de99a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js @@ -136,7 +136,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/compositea/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/compositea/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/compositea/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -261,6 +261,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/dist: *new* {} +Projects:: +/user/username/projects/myproject/compositea/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/compositea/tsconfig.json +/user/username/projects/myproject/compositea/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/compositea/tsconfig.json *default* +/user/username/projects/myproject/compositea/a2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/compositea/tsconfig.json +/user/username/projects/myproject/dist/compositeb/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/compositea/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -341,7 +364,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/compositec/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/compositec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/compositec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -481,6 +504,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/dist: {} +Projects:: +/user/username/projects/myproject/compositea/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/compositec/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/compositea/tsconfig.json + /user/username/projects/myproject/compositec/tsconfig.json *new* +/user/username/projects/myproject/compositea/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/compositea/tsconfig.json *default* +/user/username/projects/myproject/compositea/a2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/compositea/tsconfig.json +/user/username/projects/myproject/compositeb/b.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/compositec/tsconfig.json +/user/username/projects/myproject/compositec/c.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/compositec/tsconfig.json *default* +/user/username/projects/myproject/dist/compositeb/b.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/compositea/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/compositea/a2.ts 1:: WatchInfo: /user/username/projects/myproject/compositea/a2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/compositea/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -494,8 +552,44 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/compositea/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/compositea/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/compositec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/compositea/tsconfig.json + /user/username/projects/myproject/compositec/tsconfig.json +/user/username/projects/myproject/compositea/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/compositea/tsconfig.json *default* +/user/username/projects/myproject/compositea/a2.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/compositea/tsconfig.json +/user/username/projects/myproject/compositeb/b.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/compositec/tsconfig.json +/user/username/projects/myproject/compositec/c.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/compositec/tsconfig.json *default* +/user/username/projects/myproject/dist/compositeb/b.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/compositea/tsconfig.json + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/compositea/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/compositea/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/compositea/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/compositea/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js index c8610238ddd13..9e214e0217dc9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js @@ -349,7 +349,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/common/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/common/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/src/common/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -480,6 +480,28 @@ FsWatchesRecursive:: /user/username/projects/project/src/common: *new* {} +Projects:: +/user/username/projects/project/src/common/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/project/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/project/src/common/tsconfig.json +/user/username/projects/project/src/common/input/keyboard.test.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/project/src/common/tsconfig.json +/user/username/projects/project/src/common/input/keyboard.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project/src/common/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -542,7 +564,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -682,6 +704,39 @@ FsWatchesRecursive:: /user/username/projects/project/src/common: {} +Projects:: +/user/username/projects/project/src/common/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/project/src/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/project/src/common/tsconfig.json + /user/username/projects/project/src/tsconfig.json *new* +/user/username/projects/project/out/input/keyboard.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/project/src/tsconfig.json +/user/username/projects/project/src/common/input/keyboard.test.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/project/src/common/tsconfig.json + /user/username/projects/project/src/tsconfig.json *new* +/user/username/projects/project/src/common/input/keyboard.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /user/username/projects/project/src/common/tsconfig.json *default* + /user/username/projects/project/src/tsconfig.json *new* +/user/username/projects/project/src/terminal.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project/src/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -838,3 +893,31 @@ FsWatchesRecursive:: {} /user/username/projects/project/src/common: {} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/project/src/common/tsconfig.json + /user/username/projects/project/src/tsconfig.json +/user/username/projects/project/out/input/keyboard.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/project/src/tsconfig.json +/user/username/projects/project/out/input/keyboard.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/project/src/common/input/keyboard.test.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/project/src/common/tsconfig.json + /user/username/projects/project/src/tsconfig.json +/user/username/projects/project/src/common/input/keyboard.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/project/src/common/tsconfig.json *default* + /user/username/projects/project/src/tsconfig.json +/user/username/projects/project/src/terminal.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project/src/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js index 8b7590a3276c9..11dd7ac4db97d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js @@ -349,7 +349,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/common/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/common/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/src/common/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -480,6 +480,28 @@ FsWatchesRecursive:: /user/username/projects/project/src/common: *new* {} +Projects:: +/user/username/projects/project/src/common/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/project/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/project/src/common/tsconfig.json +/user/username/projects/project/src/common/input/keyboard.test.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/project/src/common/tsconfig.json +/user/username/projects/project/src/common/input/keyboard.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project/src/common/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -541,7 +563,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -678,6 +700,35 @@ FsWatchesRecursive:: /user/username/projects/project/src/common: {} +Projects:: +/user/username/projects/project/src/common/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/project/src/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/project/src/common/tsconfig.json + /user/username/projects/project/src/tsconfig.json *new* +/user/username/projects/project/src/common/input/keyboard.test.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/project/src/common/tsconfig.json + /user/username/projects/project/src/tsconfig.json *new* +/user/username/projects/project/src/common/input/keyboard.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /user/username/projects/project/src/common/tsconfig.json *default* + /user/username/projects/project/src/tsconfig.json *new* +/user/username/projects/project/src/terminal.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project/src/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js index f989f90098d6a..196d6f1fa883f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js @@ -254,7 +254,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -345,7 +345,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -472,6 +472,39 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Info seq [hh:mm:ss:mss] getDefaultProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] findDefaultConfiguredProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request @@ -488,7 +521,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -524,6 +557,47 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* *new* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -587,6 +661,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -650,6 +755,48 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -665,7 +812,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -771,6 +918,48 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/indirect1/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/own/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/src/helpers/functions.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -876,7 +1065,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -923,7 +1112,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1011,6 +1200,47 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-src.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1122,7 +1352,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1184,7 +1414,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1240,7 +1470,7 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig-src.json,/user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1265,6 +1495,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig-src.json,/user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined @@ -1278,3 +1526,14 @@ Info seq [hh:mm:ss:mss] response: After request Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig-src.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index c16707276cc95..f9fe1572cbd0b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -207,7 +207,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -426,6 +426,40 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/own/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json *default* + /user/username/projects/myproject/tsconfig-indirect1.json + Info seq [hh:mm:ss:mss] getDefaultProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] findDefaultConfiguredProject for /user/username/projects/myproject/src/main.ts: undefined Before request @@ -442,7 +476,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -478,6 +512,48 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /dev/null/inferredProject1* *new* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json *default* + /user/username/projects/myproject/tsconfig-indirect1.json + Before request Info seq [hh:mm:ss:mss] request: @@ -539,6 +615,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + Before request Info seq [hh:mm:ss:mss] request: @@ -600,6 +708,49 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/main.ts + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + Before request Info seq [hh:mm:ss:mss] request: @@ -615,7 +766,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -720,6 +871,49 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/indirect1/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* +/user/username/projects/myproject/own/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/src/helpers/functions.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -803,7 +997,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -850,7 +1044,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -938,6 +1132,48 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-indirect1.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/own/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json *default* + /user/username/projects/myproject/tsconfig-indirect1.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1029,7 +1265,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1091,7 +1327,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1149,7 +1385,7 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json,/user/username/projects/myproject/tsconfig-indirect1.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1174,6 +1410,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json,/user/username/projects/myproject/tsconfig-indirect1.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined @@ -1187,3 +1441,14 @@ Info seq [hh:mm:ss:mss] response: After request Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index f511e36a2c0fc..086c009acdafa 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -167,7 +167,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -286,6 +286,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Info seq [hh:mm:ss:mss] getDefaultProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] findDefaultConfiguredProject for /user/username/projects/myproject/src/main.ts: undefined Before request @@ -302,7 +325,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -334,6 +357,37 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* *new* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -387,6 +441,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -440,6 +518,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -455,7 +565,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -528,6 +638,38 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *deleted* +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/own/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/src/helpers/functions.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -592,7 +734,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -672,6 +814,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/own/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -741,7 +914,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -795,7 +968,7 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -816,6 +989,20 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined @@ -857,3 +1044,11 @@ FsWatchesRecursive:: {} Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js index de8e6ea19591d..1343811209d77 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js @@ -165,7 +165,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -253,7 +253,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -374,6 +374,35 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/own/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Info seq [hh:mm:ss:mss] getDefaultProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] findDefaultConfiguredProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request @@ -473,7 +502,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -509,6 +538,43 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* *new* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -566,6 +632,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -623,6 +716,44 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -638,7 +769,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -732,6 +863,44 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/own/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/src/helpers/functions.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -795,7 +964,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -839,7 +1008,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -921,6 +1090,43 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-src.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/own/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -978,6 +1184,44 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/own/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -993,7 +1237,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -1044,6 +1288,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/own/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1112,7 +1383,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1171,7 +1442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1229,7 +1500,7 @@ Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig- Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1254,6 +1525,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig-src.json,/user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined @@ -1268,6 +1557,17 @@ After request Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig-src.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -1436,6 +1736,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/own/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json *default* + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map *new* + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1497,6 +1829,39 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/own/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1558,6 +1923,50 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/own/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1604,7 +2013,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirect3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1807,6 +2216,61 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 5 + projectProgramVersion: 2 +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json *new* + /dev/null/inferredProject1* *deleted* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/dummy/dummy.ts *deleted* + version: SVC-1-0 + containingProjects: 0 +/user/username/projects/myproject/indirect3/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json *default* +/user/username/projects/myproject/own/main.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/src/helpers/functions.ts *changed* + version: Text-2 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-2-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/target/src/helpers/functions.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json *new* +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/main.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1874,7 +2338,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1918,7 +2382,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2154,3 +2618,54 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/target: {} + +Projects:: +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json + /user/username/projects/myproject/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-src.json *new* +/user/username/projects/myproject/indirect3/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json *default* +/user/username/projects/myproject/own/main.ts *new* + version: Text-3 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *changed* + version: Text-2 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-src.json *new* +/user/username/projects/myproject/src/main.ts *new* + version: Text-3 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/main.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json +/user/username/projects/myproject/target/src/main.d.ts.map *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js index 231d405fa1711..f78e478c84a25 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js @@ -252,7 +252,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -343,7 +343,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -470,6 +470,39 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Info seq [hh:mm:ss:mss] getDefaultProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] findDefaultConfiguredProject for /user/username/projects/myproject/src/main.ts: /user/username/projects/myproject/tsconfig-src.json Before request @@ -569,7 +602,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -605,6 +638,47 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* *new* +/dummy/dummy.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -668,6 +742,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -731,6 +836,48 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + /dev/null/inferredProject1* +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/indirect1/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts + version: SVC-1-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + Before request Info seq [hh:mm:ss:mss] request: @@ -746,7 +893,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -852,6 +999,48 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/indirect1/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/own/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/src/helpers/functions.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -956,7 +1145,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1003,7 +1192,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1091,6 +1280,47 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-src.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *new* + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1154,6 +1384,48 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/indirect1/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1169,7 +1441,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /dummy/dummy.ts 500 un Info seq [hh:mm:ss:mss] Search path: /dummy Info seq [hh:mm:ss:mss] For info: /dummy/dummy.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -1226,6 +1498,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/dummy/dummy.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/user/username/projects/myproject/indirect1/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/own/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json +/user/username/projects/myproject/src/main.ts (Open) + version: SVC-2-0 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1334,7 +1637,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1396,7 +1699,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1454,7 +1757,7 @@ Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig- Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1479,6 +1782,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig-src.json,/user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /dummy/dummy.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined @@ -1493,6 +1814,17 @@ After request Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig-src.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -1536,7 +1868,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1641,7 +1973,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1912,6 +2244,70 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 5 *changed* + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-indirect1.json *new* + /user/username/projects/myproject/tsconfig-indirect2.json *new* +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts *changed* + version: Text-2 + containingProjects: 2 *changed* + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json *new* +/user/username/projects/myproject/indirect2/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/own/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *changed* + version: Text-2 + containingProjects: 4 *changed* + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json *new* + /user/username/projects/myproject/tsconfig-indirect2.json *new* +/user/username/projects/myproject/src/main.ts (Open) *changed* + version: SVC-2-0 + containingProjects: 4 *changed* + /user/username/projects/myproject/tsconfig-src.json *default* + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json *new* + /user/username/projects/myproject/tsconfig-indirect2.json *new* +/user/username/projects/myproject/target/src/helpers/functions.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map *new* + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -1989,6 +2385,54 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 5 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/dummy/dummy.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/indirect1/main.ts + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/indirect2/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/own/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/src/main.ts *changed* + open: false *changed* + version: SVC-2-0 + containingProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -2066,6 +2510,71 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect2.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 5 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject1* + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/dummy/dummy.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/indirect1/main.ts + version: Text-2 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/indirect2/main.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/own/main.ts + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts + version: Text-2 + containingProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/src/main.ts + version: SVC-2-0 + containingProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -2112,7 +2621,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirect3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2376,6 +2885,82 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 5 + projectProgramVersion: 2 +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect2.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-src.json *deleted* + /user/username/projects/myproject/tsconfig.json *deleted* + /dev/null/inferredProject1* *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* + /user/username/projects/myproject/tsconfig-indirect2.json *deleted* +/dummy/dummy.ts *deleted* + version: SVC-1-0 + containingProjects: 0 +/user/username/projects/myproject/indirect1/main.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* +/user/username/projects/myproject/indirect2/main.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-indirect2.json *deleted* +/user/username/projects/myproject/indirect3/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json *default* +/user/username/projects/myproject/own/main.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/src/helpers/functions.ts *changed* + version: Text-2 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* + /user/username/projects/myproject/tsconfig-indirect2.json *deleted* +/user/username/projects/myproject/src/main.ts *deleted* + version: SVC-2-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig-src.json *deleted* + /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-indirect1.json *deleted* + /user/username/projects/myproject/tsconfig-indirect2.json *deleted* +/user/username/projects/myproject/target/src/helpers/functions.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json *new* +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/main.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2484,7 +3069,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2531,7 +3116,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-src.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2594,7 +3179,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect1.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2655,7 +3240,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig-indirect2.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -2928,3 +3513,75 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/target: {} + +Projects:: +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 5 *changed* + /user/username/projects/myproject/indirect3/tsconfig.json + /user/username/projects/myproject/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-src.json *new* + /user/username/projects/myproject/tsconfig-indirect1.json *new* + /user/username/projects/myproject/tsconfig-indirect2.json *new* +/user/username/projects/myproject/indirect1/main.ts *new* + version: Text-3 + containingProjects: 2 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/indirect2/main.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/indirect3/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json *default* +/user/username/projects/myproject/own/main.ts *new* + version: Text-3 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/helpers/functions.ts *changed* + version: Text-2 + containingProjects: 4 *changed* + /user/username/projects/myproject/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-src.json *new* + /user/username/projects/myproject/tsconfig-indirect1.json *new* + /user/username/projects/myproject/tsconfig-indirect2.json *new* +/user/username/projects/myproject/src/main.ts *new* + version: Text-3 + containingProjects: 4 + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json +/user/username/projects/myproject/target/src/helpers/functions.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/target/src/main.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect3/tsconfig.json +/user/username/projects/myproject/target/src/main.d.ts.map *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js index ae2fc0fb4cc80..b0fa07a424ff1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/api/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -284,6 +284,28 @@ FsWatchesRecursive:: /user/username/projects/solution/shared/src: *new* {} +Projects:: +/user/username/projects/solution/api/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json +/user/username/projects/solution/api/src/server.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json *default* +/user/username/projects/solution/shared/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -318,7 +340,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -440,7 +462,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -527,7 +549,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -699,3 +721,39 @@ FsWatchesRecursive:: {} /user/username/projects/solution/shared/src: {} + +Projects:: +/user/username/projects/solution/api/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/shared/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/app/tsconfig.json *new* +/user/username/projects/solution/api/src/server.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json *default* +/user/username/projects/solution/app/src/app.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/app/tsconfig.json +/user/username/projects/solution/shared/src/index.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/app/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js index 222eefec2b4eb..20a5e2edb0333 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/api/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -285,6 +285,28 @@ FsWatchesRecursive:: /user/username/projects/solution/shared/src: *new* {} +Projects:: +/user/username/projects/solution/api/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json +/user/username/projects/solution/api/src/server.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json *default* +/user/username/projects/solution/shared/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -319,7 +341,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -465,3 +487,30 @@ FsWatchesRecursive:: {} /user/username/projects/solution/shared/src: {} + +Projects:: +/user/username/projects/solution/api/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/shared/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/shared/tsconfig.json *new* +/user/username/projects/solution/api/src/server.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json *default* +/user/username/projects/solution/shared/src/index.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/shared/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js index a4f18080001e6..531a45aa962df 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/api/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -284,6 +284,28 @@ FsWatchesRecursive:: /user/username/projects/solution/shared/src: *new* {} +Projects:: +/user/username/projects/solution/api/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json +/user/username/projects/solution/api/src/server.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json *default* +/user/username/projects/solution/shared/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -318,7 +340,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -440,7 +462,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -527,7 +549,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -699,3 +721,39 @@ FsWatchesRecursive:: {} /user/username/projects/solution/shared/src: {} + +Projects:: +/user/username/projects/solution/api/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/shared/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/app/tsconfig.json *new* +/user/username/projects/solution/api/src/server.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json *default* +/user/username/projects/solution/app/src/app.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/app/tsconfig.json +/user/username/projects/solution/shared/src/index.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/app/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js index 4f173a24355f2..2b573021558d4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js @@ -154,7 +154,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/api/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -286,6 +286,28 @@ FsWatchesRecursive:: /user/username/projects/solution/shared/src: *new* {} +Projects:: +/user/username/projects/solution/api/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json +/user/username/projects/solution/api/src/server.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json *default* +/user/username/projects/solution/shared/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -320,7 +342,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -442,7 +464,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -529,7 +551,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -701,3 +723,39 @@ FsWatchesRecursive:: {} /user/username/projects/solution/shared/src: {} + +Projects:: +/user/username/projects/solution/api/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/shared/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/app/tsconfig.json *new* +/user/username/projects/solution/api/src/server.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json *default* +/user/username/projects/solution/app/src/app.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/app/tsconfig.json +/user/username/projects/solution/shared/src/index.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/app/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js index 440ced9c701a4..0880d8c4c9b73 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/api/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/api/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -284,6 +284,28 @@ FsWatchesRecursive:: /user/username/projects/solution/shared/src: *new* {} +Projects:: +/user/username/projects/solution/api/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json +/user/username/projects/solution/api/src/server.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json *default* +/user/username/projects/solution/shared/src/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -318,7 +340,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -440,7 +462,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -527,7 +549,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -699,3 +721,39 @@ FsWatchesRecursive:: {} /user/username/projects/solution/shared/src: {} + +Projects:: +/user/username/projects/solution/api/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/shared/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/app/tsconfig.json *new* +/user/username/projects/solution/api/src/server.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/api/tsconfig.json *default* +/user/username/projects/solution/app/src/app.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/app/tsconfig.json +/user/username/projects/solution/shared/src/index.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/app/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js index 7705951c05bdf..e49b880aab851 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js @@ -454,7 +454,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -607,6 +607,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/refToCoreRef3: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,7 +653,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/core/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/core/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/core/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -799,6 +814,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/refToCoreRef3: {} +Projects:: +/user/username/projects/myproject/core/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/core/tsconfig.json *new* +/user/username/projects/myproject/core/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/core/tsconfig.json *default* +/user/username/projects/myproject/main/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -832,7 +870,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirect/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirect/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -916,7 +954,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/coreRef1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/coreRef1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/coreRef1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1000,7 +1038,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1085,7 +1123,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1170,7 +1208,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/refToCoreRef3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1254,7 +1292,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef3/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/coreRef3/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/coreRef3/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/coreRef3/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1444,3 +1482,74 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/refToCoreRef3: {} + +Projects:: +/user/username/projects/myproject/core/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/coreRef1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/coreRef3/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/indirect/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/refToCoreRef3/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 8 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/core/tsconfig.json + /user/username/projects/myproject/indirect/tsconfig.json *new* + /user/username/projects/myproject/coreRef1/tsconfig.json *new* + /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json *new* + /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json *new* + /user/username/projects/myproject/refToCoreRef3/tsconfig.json *new* + /user/username/projects/myproject/coreRef3/tsconfig.json *new* +/user/username/projects/myproject/core/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/core/tsconfig.json *default* +/user/username/projects/myproject/coreRef1/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/coreRef1/tsconfig.json +/user/username/projects/myproject/coreRef3/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/coreRef3/tsconfig.json +/user/username/projects/myproject/indirect/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirect/tsconfig.json +/user/username/projects/myproject/indirectDisabledChildLoad1/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json +/user/username/projects/myproject/indirectDisabledChildLoad2/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json +/user/username/projects/myproject/main/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/refToCoreRef3/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/refToCoreRef3/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js index 53b87469df665..2b15dfbb2740a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js @@ -150,7 +150,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/consumer/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/consumer/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/packages/consumer/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -281,6 +281,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/emit-composite/src: *new* {} +Projects:: +/user/username/projects/myproject/packages/consumer/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/consumer/tsconfig.json +/user/username/projects/myproject/packages/consumer/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/packages/consumer/tsconfig.json *default* +/user/username/projects/myproject/packages/emit-composite/src/index.js *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/consumer/tsconfig.json +/user/username/projects/myproject/packages/emit-composite/src/testModule.js *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/packages/consumer/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js b/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js index dc3aafc73ce27..ecede4483f0d4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js +++ b/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/solution/compiler/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/compiler/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/solution/compiler/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/solution/compiler/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -234,6 +234,25 @@ FsWatches:: /user/username/projects/solution/compiler/types.ts: *new* {} +Projects:: +/user/username/projects/solution/compiler/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/compiler/tsconfig.json +/user/username/projects/solution/compiler/program.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/solution/compiler/tsconfig.json *default* +/user/username/projects/solution/compiler/types.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/solution/compiler/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 002d6b29b1bce..10c241dfd73df 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -380,6 +380,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +437,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -539,6 +554,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -632,6 +670,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -653,9 +712,39 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -764,6 +853,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js index 94d80aaf2963d..f59574dc3a106 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -380,6 +380,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +437,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -539,6 +554,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -632,6 +670,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -651,6 +710,36 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -663,7 +752,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -715,6 +804,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js index c41e2b7df713c..8022721b7448d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js @@ -261,7 +261,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -372,6 +372,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -414,7 +429,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -531,6 +546,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -673,6 +711,14 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/dependency/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -685,7 +731,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info @@ -767,6 +813,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1078,6 +1145,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1143,6 +1232,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1202,6 +1313,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1261,6 +1394,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1351,3 +1506,33 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js index 0387ee16972d4..a9d3c147aab31 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -380,6 +380,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +437,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -539,6 +554,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -632,6 +670,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -674,6 +733,35 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -686,7 +774,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: @@ -1078,6 +1166,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1144,6 +1251,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1201,6 +1327,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1258,6 +1400,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1344,3 +1502,27 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js index d11a4562e1036..fdc032741a7df 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js @@ -261,7 +261,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -372,6 +372,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -414,7 +429,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -531,6 +546,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -930,6 +968,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -993,6 +1047,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1050,6 +1120,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1107,6 +1193,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1193,3 +1295,27 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index a70e360c94e80..dedd3764e73ba 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -380,6 +380,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +437,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -539,6 +554,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -632,6 +670,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -656,9 +715,39 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -767,6 +856,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js index bc5c29d40fde5..3081c403a992b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -380,6 +380,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +437,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -539,6 +554,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -632,6 +670,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -654,6 +713,36 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -666,7 +755,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -718,6 +807,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js index 5a63e9dda16e2..320dc83344aa1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js @@ -266,7 +266,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -377,6 +377,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -419,7 +434,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -536,6 +551,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -629,6 +667,24 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 0:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -673,6 +729,14 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -685,7 +749,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -766,6 +830,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1077,6 +1162,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1142,6 +1249,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1201,6 +1330,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1260,6 +1411,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1349,3 +1522,33 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js index 7b0902ec43d66..d669535ffcd52 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -380,6 +380,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +437,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -539,6 +554,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -632,6 +670,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -674,6 +733,35 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -686,7 +774,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] response: @@ -1078,6 +1166,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1143,6 +1250,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1202,6 +1328,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1261,6 +1406,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1350,3 +1514,30 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js index e6e83f1ef80ad..a06f83332efd6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js @@ -266,7 +266,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -377,6 +377,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -419,7 +434,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -536,6 +551,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -629,6 +667,24 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -940,6 +996,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1005,6 +1080,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1064,6 +1158,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1123,6 +1236,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1212,3 +1344,30 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js index 6be8e9d343782..fb98c58123727 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -380,6 +380,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +437,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -539,6 +554,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -632,6 +670,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -943,6 +1002,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1008,6 +1089,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1067,6 +1170,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1126,6 +1251,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1215,3 +1362,33 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 15905b2320bea..8e6eabc8f0686 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -380,6 +380,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +437,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -539,6 +554,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -632,6 +670,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -654,6 +713,35 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -672,7 +760,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js index be64d7a5531f3..4b0a97cacd079 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -380,6 +380,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -422,7 +437,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -539,6 +554,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -632,6 +670,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -654,6 +713,35 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -668,7 +756,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js index e0a76880e26d5..284d7f4791b03 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -658,9 +717,39 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -769,6 +858,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js index c4cdde00f2a2b..4bb87f28981fc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -656,6 +715,36 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -668,7 +757,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -720,6 +809,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js index bc5447c282694..d0c7801641851 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js @@ -266,7 +266,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -377,6 +377,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -419,7 +434,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -536,6 +551,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -678,6 +716,14 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/dependency/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -690,7 +736,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info @@ -772,6 +818,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1083,6 +1150,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1148,6 +1237,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1207,6 +1318,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1266,6 +1399,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1356,3 +1511,33 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js index 4d739ec48e71a..5aedc25c1644e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -679,6 +738,35 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -691,7 +779,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: @@ -1083,6 +1171,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1149,6 +1256,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1206,6 +1332,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1263,6 +1405,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1349,3 +1507,27 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js index 8fd311d4a67e2..9f23e4d373c58 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js @@ -266,7 +266,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -377,6 +377,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -419,7 +434,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -536,6 +551,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -935,6 +973,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -998,6 +1052,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1055,6 +1125,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1112,6 +1198,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1198,3 +1300,27 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 095febf94ea78..8fa5803eb1e3c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -661,9 +720,39 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -772,6 +861,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js index d51a018ff6988..0d7e1a05f5684 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -659,6 +718,36 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -671,7 +760,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -723,6 +812,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js index cb652e307480b..83e3a5b9eff99 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -382,6 +382,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -424,7 +439,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -541,6 +556,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -634,6 +672,24 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 0:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -678,6 +734,14 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -690,7 +754,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -771,6 +835,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1082,6 +1167,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1147,6 +1254,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1206,6 +1335,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1265,6 +1416,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1354,3 +1527,33 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js index 07926ced970a1..ec350dead38a1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -679,6 +738,35 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -691,7 +779,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] response: @@ -1083,6 +1171,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1148,6 +1255,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1207,6 +1333,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1266,6 +1411,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1355,3 +1519,30 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js index 7eb60862d3ade..9a20fef2dcec7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -382,6 +382,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -424,7 +439,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -541,6 +556,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -634,6 +672,24 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -945,6 +1001,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1010,6 +1085,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1069,6 +1163,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1128,6 +1241,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1217,3 +1349,30 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js index 290c89e2092bf..b40251b1ed33c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -659,6 +718,35 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -677,7 +765,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js index 1f5e1919dd031..b198df7799084 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -659,6 +718,35 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -673,7 +761,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js index 16015dfb72896..194b74e86c5d5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -948,6 +1007,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1013,6 +1094,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1072,6 +1175,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1131,6 +1256,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1220,3 +1367,33 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js index 11c551a0c7863..dfb4a21e7e474 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -659,6 +718,35 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -677,7 +765,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js index 81e00018653d6..67bc346680bdc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js @@ -274,7 +274,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +442,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -659,6 +718,35 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -673,7 +761,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js index d477a1523fdde..53592046ea286 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -222,6 +222,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -264,7 +279,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -381,6 +396,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -780,6 +818,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -843,6 +897,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -900,6 +970,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -957,6 +1043,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1043,3 +1145,27 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 43f340da0e409..9cd0a394f2a33 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -275,7 +275,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -386,6 +386,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -428,7 +443,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -545,6 +560,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,6 +676,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -659,9 +718,39 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -770,6 +859,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js index 782f0d551cf28..e5a8265622566 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js @@ -275,7 +275,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -386,6 +386,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -428,7 +443,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -545,6 +560,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,6 +676,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -657,6 +716,36 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -669,7 +758,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -721,6 +810,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js index c6de66319e483..51351e0087a5e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js @@ -267,7 +267,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -378,6 +378,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -420,7 +435,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -537,6 +552,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -679,6 +717,14 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/dependency/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -691,7 +737,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info @@ -773,6 +819,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1084,6 +1151,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1149,6 +1238,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1208,6 +1319,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1267,6 +1400,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1357,3 +1512,33 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js index f9de1540cc2af..b0444f6a528ff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js @@ -275,7 +275,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -386,6 +386,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -428,7 +443,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -545,6 +560,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,6 +676,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -680,6 +739,35 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -692,7 +780,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: @@ -1084,6 +1172,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1150,6 +1257,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1207,6 +1333,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1264,6 +1406,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1350,3 +1508,27 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js index c89f3095e7793..50bac6aef7108 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js @@ -267,7 +267,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -378,6 +378,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -420,7 +435,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -537,6 +552,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -936,6 +974,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -999,6 +1053,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1056,6 +1126,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1113,6 +1199,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1199,3 +1301,27 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 023a3f45301db..92f6607b99f83 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -275,7 +275,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -386,6 +386,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -428,7 +443,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -545,6 +560,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,6 +676,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -662,9 +721,39 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -773,6 +862,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js index 7be9a1b21e16c..bef7476ed8335 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js @@ -275,7 +275,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -386,6 +386,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -428,7 +443,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -545,6 +560,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,6 +676,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -660,6 +719,36 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -672,7 +761,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -724,6 +813,28 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js index c4fd948f79825..f94dce46a5651 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js @@ -272,7 +272,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -383,6 +383,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -425,7 +440,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -542,6 +557,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -635,6 +673,24 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 0:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -679,6 +735,14 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -691,7 +755,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -772,6 +836,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1083,6 +1168,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1148,6 +1255,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1207,6 +1336,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1266,6 +1417,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1355,3 +1528,33 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js index ad370cf325548..8a933926d27ca 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js @@ -275,7 +275,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -386,6 +386,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -428,7 +443,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -545,6 +560,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,6 +676,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -680,6 +739,35 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/dependency/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -692,7 +780,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] response: @@ -1084,6 +1172,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1149,6 +1256,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1208,6 +1334,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1267,6 +1412,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1356,3 +1520,30 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js index d1958023b0bd9..180f4ab080774 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js @@ -272,7 +272,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -383,6 +383,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -425,7 +440,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -542,6 +557,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -635,6 +673,24 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -946,6 +1002,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1011,6 +1086,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1070,6 +1164,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1129,6 +1242,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1218,3 +1350,30 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js index 88a403c33347f..644d623c1c673 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js @@ -275,7 +275,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -386,6 +386,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -428,7 +443,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -545,6 +560,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,6 +676,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -949,6 +1008,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1014,6 +1095,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1073,6 +1176,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1132,6 +1257,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1221,3 +1368,33 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/dependency: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 517d385846627..07167c0807c6d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -275,7 +275,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -386,6 +386,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -428,7 +443,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -545,6 +560,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,6 +676,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -660,6 +719,35 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -678,7 +766,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js index 72780950d4f8c..153b5c2f92b9a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js @@ -275,7 +275,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -386,6 +386,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -428,7 +443,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -545,6 +560,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -638,6 +676,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -660,6 +719,35 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -674,7 +762,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 5567dad98d9fb..39e0048a538ff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -433,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -560,6 +579,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +781,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -824,6 +905,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -947,9 +1055,48 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/dependency/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -959,7 +1106,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -1018,6 +1165,34 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js index 231885cff6077..6e36b2e4e61e8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -433,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -560,6 +579,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +781,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -824,6 +905,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -944,6 +1052,45 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/dependency/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -956,7 +1103,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1003,6 +1150,34 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1225,7 +1400,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js index 16e264b188a62..2b99a65052a29 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js @@ -262,7 +262,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -374,6 +374,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -419,7 +434,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -586,7 +624,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -717,6 +755,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -931,6 +1000,17 @@ Timeout callback:: count: 3 4: *ensureProjectForOpenFiles* *new* 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -945,7 +1025,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1043,6 +1123,44 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/dependency/tsconfig.json 6: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1265,7 +1383,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json @@ -1817,6 +1935,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1896,6 +2042,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1969,6 +2143,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2042,6 +2244,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2115,6 +2345,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2243,3 +2501,42 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js index 855845e2e19d8..4359d4d9a86ce 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -433,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -560,6 +579,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +781,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -824,6 +905,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -979,6 +1087,44 @@ Timeout callback:: count: 4 4: *ensureProjectForOpenFiles* *new* 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -991,7 +1137,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1049,6 +1195,17 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/dependency/tsconfig.json 4: *ensureProjectForOpenFiles* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1271,7 +1428,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: @@ -1685,6 +1842,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1765,6 +1946,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1836,6 +2041,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1907,6 +2133,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1978,6 +2225,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2099,3 +2367,35 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js index ab480c9884fca..e7cffbe6b5f37 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js @@ -262,7 +262,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -374,6 +374,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -419,7 +434,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +559,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -586,7 +624,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -717,6 +755,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1398,6 +1467,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1475,6 +1565,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1546,6 +1657,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1617,6 +1749,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1688,6 +1841,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1809,3 +1983,35 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index cba8e2df3846d..5bb1aa7520b81 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -433,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -560,6 +579,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +781,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -824,6 +905,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -950,13 +1058,52 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/main/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -1067,6 +1214,34 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js index d2cd99ade5f6f..8b2b0158aed0c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -433,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -560,6 +579,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +781,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -824,6 +905,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -947,6 +1055,45 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/main/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -959,7 +1106,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -1000,6 +1147,34 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1222,7 +1397,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js index 9691795057d43..0c04297034751 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js @@ -268,7 +268,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -557,6 +576,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -599,7 +645,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -732,6 +778,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -941,6 +1022,17 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/dependency/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -953,7 +1045,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1031,6 +1123,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1253,7 +1372,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json @@ -1805,6 +1924,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1884,6 +2031,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1957,6 +2132,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2030,6 +2233,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2103,6 +2334,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2230,3 +2489,42 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js index 3cd46c713a81b..2c5c64702f032 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -433,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -560,6 +579,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +781,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -824,6 +905,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -977,6 +1085,44 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/main/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -989,7 +1135,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] response: @@ -1289,7 +1435,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -1666,6 +1812,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1745,6 +1916,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1818,6 +2014,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1891,6 +2112,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1964,6 +2210,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2091,3 +2362,39 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js index cef6df862fe7b..b939c57d859ed 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js @@ -268,7 +268,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -557,6 +576,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -599,7 +645,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -732,6 +778,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1417,6 +1498,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1496,6 +1602,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1569,6 +1700,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1642,6 +1798,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1715,6 +1896,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1842,3 +2048,39 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js index 35e60cb55e34e..2a825841a7c87 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -433,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -560,6 +579,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +781,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -824,6 +905,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1595,6 +1703,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1674,6 +1810,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1747,6 +1911,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1820,6 +2012,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1893,6 +2113,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2020,3 +2268,42 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 8513b860fecc2..1d67f61df6598 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -433,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -560,6 +579,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +781,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -824,6 +905,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -944,6 +1052,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -966,6 +1112,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -984,7 +1168,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1253,7 +1437,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js index 92f788678e244..92dd4bf6ea783 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -433,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -560,6 +579,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -602,7 +648,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +781,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -824,6 +905,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -944,6 +1052,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -966,6 +1112,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -980,7 +1164,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1249,7 +1433,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js index f092fcea34d84..7dd72296075cd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1015,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -963,13 +1066,52 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/dependency/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -1386,6 +1528,34 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js index afb82089e153d..7adcaa912a853 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1015,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -960,6 +1063,45 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/dependency/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -972,7 +1114,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -1235,7 +1377,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json @@ -1322,6 +1464,34 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js index ba06f84dcd0f5..ac0802e61a8ad 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js @@ -288,7 +288,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -409,6 +409,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -441,7 +460,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -570,6 +589,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -612,7 +656,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -743,6 +787,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -992,6 +1068,17 @@ Timeout callback:: count: 3 4: *ensureProjectForOpenFiles* *new* 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -1269,7 +1356,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json @@ -1394,6 +1481,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1859,6 +1973,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1938,6 +2080,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2011,6 +2181,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2084,6 +2282,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2157,6 +2383,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2285,3 +2539,42 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js index 051372fc10564..dd745331221b5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1015,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -995,6 +1098,44 @@ Timeout callback:: count: 4 3: *ensureProjectForOpenFiles* *new* 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -1007,7 +1148,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -1276,7 +1417,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json @@ -1865,6 +2006,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1945,6 +2111,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2016,6 +2207,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2087,6 +2300,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2158,6 +2393,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2282,3 +2539,36 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js index 1867e4e11ac9a..5d8a5f7ae2f66 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js @@ -288,7 +288,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -409,6 +409,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -441,7 +460,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -570,6 +589,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -612,7 +656,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -743,6 +787,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1599,6 +1675,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1676,6 +1774,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1747,6 +1867,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1818,6 +1960,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1889,6 +2053,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2013,3 +2199,36 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 813772e32a3f9..ecfcdafd4b0d3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1015,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -966,13 +1069,52 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/dependency/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -1389,6 +1531,34 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js index 55395034d020c..5eba61e2476c2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1015,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -963,6 +1066,45 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/dependency/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -975,7 +1117,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -1238,7 +1380,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json @@ -1325,6 +1467,34 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js index cabe30552065d..c11cee392208d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js @@ -293,7 +293,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -414,6 +414,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -446,7 +465,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -575,6 +594,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -617,7 +661,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -748,6 +792,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -936,6 +1012,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 0:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -992,6 +1092,17 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/dependency/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -1004,7 +1115,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -1267,7 +1378,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json @@ -1391,6 +1502,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1856,6 +1994,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1935,6 +2101,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2008,6 +2202,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2081,6 +2303,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2154,6 +2404,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2281,3 +2559,42 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js index a099edca0c7bf..aa4dd28e39b46 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1015,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -993,6 +1096,44 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/dependency/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -1005,7 +1146,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -1268,7 +1409,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json @@ -1857,6 +1998,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1936,6 +2102,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2009,6 +2200,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2082,6 +2298,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2155,6 +2396,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2282,3 +2548,39 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js index 9893dd41acb3d..18c1f272bd9eb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js @@ -293,7 +293,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -414,6 +414,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -446,7 +465,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -575,6 +594,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -617,7 +661,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -748,6 +792,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1144,6 +1220,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1609,6 +1709,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1688,6 +1813,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1761,6 +1911,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1834,6 +2009,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1907,6 +2107,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2034,3 +2259,39 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js index de6a2a2974fa3..ef3de3946c1ba 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1015,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -961,6 +1064,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -979,7 +1120,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1248,7 +1389,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js index d6ce20a25849d..f3c3192dbe09b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1015,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -961,6 +1064,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -975,7 +1116,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1244,7 +1385,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js index 6a37100adcba5..fd15263c366bb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1147,6 +1223,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1612,6 +1715,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1691,6 +1822,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1764,6 +1923,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1837,6 +2024,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1910,6 +2125,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2037,3 +2280,42 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js index 862cb14eca064..83ccd74ecf1b8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1015,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -961,6 +1064,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -983,6 +1124,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -1001,7 +1180,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1270,7 +1449,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js index 9cd14d29c412c..a44c37a4e9c52 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +468,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +664,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -751,6 +795,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1015,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -961,6 +1064,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -983,6 +1124,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-2-1 *changed* + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -997,7 +1176,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1266,7 +1445,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js index 6055183f5f781..a45a5a8902375 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js @@ -133,7 +133,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -254,6 +254,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -286,7 +305,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -415,6 +434,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -457,7 +501,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -588,6 +632,38 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1444,6 +1520,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1521,6 +1619,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1592,6 +1712,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1663,6 +1805,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1734,6 +1898,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1858,3 +2044,36 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 75b4c2543d63f..7ba0d23bdef07 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +666,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -753,6 +799,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -842,6 +923,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -965,9 +1073,48 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/dependency/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -977,7 +1124,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -1036,6 +1183,34 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js index 60d2edf9bc34b..03382276fe07a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +666,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -753,6 +799,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -842,6 +923,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -962,6 +1070,45 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/dependency/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -974,7 +1121,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1021,6 +1168,34 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1243,7 +1418,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js index 072fdc4fb113a..69d2424c00f73 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js @@ -289,7 +289,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -406,6 +406,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -437,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -562,6 +577,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -604,7 +642,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +773,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -949,6 +1018,17 @@ Timeout callback:: count: 3 4: *ensureProjectForOpenFiles* *new* 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -963,7 +1043,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1061,6 +1141,44 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/dependency/tsconfig.json 6: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1283,7 +1401,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json @@ -1835,6 +1953,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1914,6 +2060,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1987,6 +2161,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2060,6 +2262,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2133,6 +2363,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2261,3 +2519,42 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js index 21138cf1a857f..ec8e54dc26cc9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +666,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -753,6 +799,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -842,6 +923,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -997,6 +1105,44 @@ Timeout callback:: count: 4 4: *ensureProjectForOpenFiles* *new* 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -1009,7 +1155,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1067,6 +1213,17 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/dependency/tsconfig.json 4: *ensureProjectForOpenFiles* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1289,7 +1446,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: @@ -1703,6 +1860,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1783,6 +1964,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1854,6 +2059,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1925,6 +2151,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1996,6 +2243,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2117,3 +2385,35 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js index 9fa93f8cbc5ed..2ab058849401f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js @@ -289,7 +289,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -406,6 +406,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -437,7 +452,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -562,6 +577,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -604,7 +642,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +773,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1416,6 +1485,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1493,6 +1583,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1564,6 +1675,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1635,6 +1767,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1706,6 +1859,27 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1827,3 +2001,35 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 1ab22fe47db1c..7f747bb577f4d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +666,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -753,6 +799,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -842,6 +923,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -968,13 +1076,52 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/main/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -1085,6 +1232,34 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js index 4bdaae1517eec..b5bbccb42ef28 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +666,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -753,6 +799,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -842,6 +923,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -965,6 +1073,45 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/main/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -977,7 +1124,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -1018,6 +1165,34 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1240,7 +1415,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js index a7bc2a3abb9df..9b763489ab0df 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js @@ -295,7 +295,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -448,7 +467,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -575,6 +594,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -617,7 +663,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -750,6 +796,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -959,6 +1040,17 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/dependency/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -971,7 +1063,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1049,6 +1141,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1271,7 +1390,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json @@ -1823,6 +1942,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1902,6 +2049,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1975,6 +2150,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2048,6 +2251,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2121,6 +2352,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2248,3 +2507,42 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js index f5055406622bd..4f569e21118ff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +666,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -753,6 +799,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -842,6 +923,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -995,6 +1103,44 @@ Timeout callback:: count: 3 3: /user/username/projects/myproject/main/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -1007,7 +1153,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] response: @@ -1307,7 +1453,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -1684,6 +1830,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1763,6 +1934,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1836,6 +2032,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1909,6 +2130,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1982,6 +2228,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2109,3 +2380,39 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js index 2ada9fd4a0d89..57c6ba21c6e5b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js @@ -295,7 +295,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -448,7 +467,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -575,6 +594,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -617,7 +663,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -750,6 +796,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1435,6 +1516,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1514,6 +1620,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1587,6 +1718,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1660,6 +1816,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1733,6 +1914,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1860,3 +2066,39 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js index cdbd4cf7ff6d0..b0763d427e52b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +666,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -753,6 +799,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -842,6 +923,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1613,6 +1721,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1692,6 +1828,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1765,6 +1929,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1838,6 +2030,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1911,6 +2131,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -2038,3 +2286,42 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 2fce283ebadc7..8a2ce9fc2aaca 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +666,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -753,6 +799,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -842,6 +923,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -962,6 +1070,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -984,6 +1130,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -1002,7 +1186,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1271,7 +1455,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js index 9414642015220..397edc359c6db 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -578,6 +597,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -620,7 +666,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -753,6 +799,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -842,6 +923,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -962,6 +1070,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -984,6 +1130,44 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -998,7 +1182,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1267,7 +1451,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js index 8d4321ae7d664..1a4b8e5ddd11f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -551,6 +570,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +683,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -908,6 +979,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -977,6 +1074,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1040,6 +1163,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1103,6 +1252,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1202,3 +1377,37 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 99b0dfd5048b0..da47c70f37e60 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -551,6 +570,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +683,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -658,9 +729,43 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -712,6 +817,32 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js index aa389d72ba68c..3994bc5543cb4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -551,6 +570,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +683,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -656,6 +727,40 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -668,7 +773,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -715,6 +820,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js index c8f894b9d2d60..c20ff4dc3b31d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js @@ -262,7 +262,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -374,6 +374,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -416,7 +431,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -535,6 +550,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -617,7 +655,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -710,6 +748,39 @@ Timeout callback:: count: 1 1: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -981,6 +1052,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1050,6 +1147,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1113,6 +1236,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1176,6 +1325,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1275,3 +1450,37 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js index a7401b4a1acf6..29aa965b2c82e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -551,6 +570,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +683,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 2:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -687,6 +758,39 @@ Timeout callback:: count: 3 2: *ensureProjectForOpenFiles* *new* 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -699,7 +803,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -756,6 +860,14 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json 2: *ensureProjectForOpenFiles* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1025,6 +1137,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1094,6 +1228,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1151,6 +1307,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1208,6 +1380,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1295,3 +1483,27 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js index 583f72088c41f..9920513419e50 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js @@ -262,7 +262,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -374,6 +374,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -416,7 +431,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -535,6 +550,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -852,6 +890,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -915,6 +969,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -972,6 +1042,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1029,6 +1115,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1116,3 +1218,27 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 5d70dfdbd9377..514832d936562 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -551,6 +570,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +683,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -661,9 +732,43 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -761,6 +866,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js index ce8652cfd76b5..e82441acec64d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -551,6 +570,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +683,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -659,6 +730,40 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -671,7 +776,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -712,6 +817,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js index 91829506ca54a..856158f7578ab 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js @@ -268,7 +268,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +446,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -548,6 +567,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -679,6 +725,14 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -691,7 +745,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info @@ -766,6 +820,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1037,6 +1116,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1106,6 +1211,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1169,6 +1300,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1232,6 +1389,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1331,3 +1514,37 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js index 7d2cb16591d96..ef39788f31841 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -551,6 +570,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +683,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -685,6 +756,39 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -697,7 +801,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] response: @@ -1042,6 +1146,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1112,6 +1239,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1173,6 +1323,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1234,6 +1404,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1330,3 +1520,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js index c726e2e4f8f72..90dd44dda8d8a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js @@ -268,7 +268,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -385,6 +385,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -427,7 +446,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -548,6 +567,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -900,6 +946,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -967,6 +1033,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1028,6 +1114,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1089,6 +1195,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1185,3 +1311,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js index bf640e223774d..52619039515c6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -551,6 +570,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +683,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -659,6 +730,39 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -677,7 +781,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js index 26ec68b096a11..e94b5be8c42d8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +388,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -430,7 +449,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -551,6 +570,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -637,6 +683,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -659,6 +730,39 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -673,7 +777,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js index 91f6ba188de92..5b125e0ba8691 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -907,6 +953,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -976,6 +1042,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1039,6 +1125,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1102,6 +1208,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1202,3 +1328,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js index fdc6be0dc1757..bfd95acc6c12c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js index 1777b99dbeb9e..58bbe6aa7ab14 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js index a0f84f29dcd8f..85aeb86610a47 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js @@ -288,7 +288,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -409,6 +409,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -576,6 +595,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -968,6 +1014,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1037,6 +1103,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1100,6 +1186,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1163,6 +1269,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1263,3 +1389,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js index 624598231a99d..352cb887d0794 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -969,6 +1015,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1038,6 +1104,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1101,6 +1187,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1164,6 +1270,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1264,3 +1390,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js index 0df149d2c0a85..3b842d0252be2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js @@ -288,7 +288,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -409,6 +409,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -451,7 +470,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -576,6 +595,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -899,6 +945,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -968,6 +1034,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1031,6 +1117,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1094,6 +1200,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1194,3 +1320,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 7bc692fe07c70..7bf684393ae3a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js index 90c79d11abd97..3cb9dedd01cd5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js index efd8f3fde9b9a..abe6f89c2ffe0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js @@ -293,7 +293,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -414,6 +414,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -456,7 +475,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -581,6 +600,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -961,6 +1007,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1030,6 +1096,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1093,6 +1179,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1156,6 +1262,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1256,3 +1382,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js index ff62759012fee..e82ef9daa07f6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -962,6 +1008,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1031,6 +1097,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1094,6 +1180,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1157,6 +1263,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1257,3 +1383,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js index 4b21906ad1b7e..94421d3d3ef2f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js @@ -293,7 +293,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -414,6 +414,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -456,7 +475,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -581,6 +600,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -904,6 +950,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -973,6 +1039,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1036,6 +1122,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1099,6 +1205,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1199,3 +1325,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js index 3b32bae58a86a..84f069fdb498d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -657,9 +703,37 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -711,6 +785,26 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js index 0d82ea3602cff..9d498d5c1e9ce 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -655,6 +701,34 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -667,7 +741,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -714,6 +788,26 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js index 9ae8af363207f..cdb6f55173f6c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -658,6 +704,33 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -676,7 +749,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js index 13e261a67f154..2c19885b1b665 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js @@ -296,7 +296,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -658,6 +704,33 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -672,7 +745,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js index 0e0928401b159..c92a3c24784a9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js @@ -133,7 +133,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -254,6 +254,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -296,7 +315,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -421,6 +440,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -744,6 +790,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -813,6 +879,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -876,6 +962,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -939,6 +1045,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1039,3 +1165,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js index e9a722337f0de..ed09aae89567f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -462,7 +481,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -587,6 +606,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -677,6 +723,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -952,6 +1023,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1025,6 +1122,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1092,6 +1215,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1159,6 +1308,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1265,3 +1440,37 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 82089dc8e9d87..4697c35ef4842 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -462,7 +481,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -587,6 +606,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -677,6 +723,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -698,9 +769,43 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -752,6 +857,32 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js index 7628326931584..7a25dd0e5b2f9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -462,7 +481,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -587,6 +606,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -677,6 +723,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -696,6 +767,40 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -708,7 +813,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -755,6 +860,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js index 757066c487b78..b81f3061f8ae5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js @@ -289,7 +289,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -406,6 +406,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -448,7 +463,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -571,6 +586,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -653,7 +691,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -750,6 +788,39 @@ Timeout callback:: count: 1 1: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1025,6 +1096,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1098,6 +1195,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1165,6 +1288,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1232,6 +1381,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1338,3 +1513,37 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js index 0823f4b64896f..cdb5636257df4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -462,7 +481,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -587,6 +606,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -677,6 +723,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 2:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -731,6 +802,39 @@ Timeout callback:: count: 3 2: *ensureProjectForOpenFiles* *new* 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -743,7 +847,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -800,6 +904,14 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json 2: *ensureProjectForOpenFiles* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1073,6 +1185,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1146,6 +1280,28 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1207,6 +1363,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1268,6 +1440,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1362,3 +1550,27 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js index 0a0eebc8f417c..b05948e2ade19 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js @@ -289,7 +289,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -406,6 +406,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -448,7 +463,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -571,6 +586,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -892,6 +930,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -959,6 +1013,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1020,6 +1090,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1081,6 +1167,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1175,3 +1277,27 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index ee2ab7f8413a6..81c87eec2935e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -462,7 +481,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -587,6 +606,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -677,6 +723,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -701,9 +772,43 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -801,6 +906,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js index 9e8235d68b9a8..33289aedf6f7c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -462,7 +481,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -587,6 +606,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -677,6 +723,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -699,6 +770,40 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -711,7 +816,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] response: { @@ -752,6 +857,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js index 2f7c53763414c..029ab01fe1bea 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js @@ -295,7 +295,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -723,6 +769,14 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -735,7 +789,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info @@ -814,6 +868,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1089,6 +1168,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1162,6 +1267,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1229,6 +1360,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1296,6 +1453,32 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1402,3 +1585,37 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js index 585116d8cff55..44eed1fc45bd3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -462,7 +481,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -587,6 +606,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -677,6 +723,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -729,6 +800,39 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/main/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -741,7 +845,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] response: @@ -1094,6 +1198,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1168,6 +1295,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *deleted* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1233,6 +1383,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1298,6 +1468,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1401,3 +1591,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js index fe00bfbebbad3..f55218d197d24 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js @@ -295,7 +295,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -417,6 +417,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -459,7 +478,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -584,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -944,6 +990,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1015,6 +1081,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1080,6 +1166,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1145,6 +1251,26 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/random.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -1248,3 +1374,31 @@ FsWatchesRecursive *deleted*:: {} /user/username/projects/myproject/main: {} + +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/random/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/decls/fns.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/main/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/main/tsconfig.json *deleted* +/user/username/projects/myproject/random/random.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index cdd33e297cba0..a7def716a1b00 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -462,7 +481,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -587,6 +606,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -677,6 +723,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -699,6 +770,39 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -717,7 +821,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js index 0deeba6839abf..b11428331355e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -420,6 +420,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/main: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -462,7 +481,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/random/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -587,6 +606,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: *new* {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json *new* +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -677,6 +723,31 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -699,6 +770,39 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -713,7 +817,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js b/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js index c96fbb0c26c5d..3dd9326490374 100644 --- a/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js +++ b/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/c/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.ts Text-1 "let x = 1;" @@ -197,6 +197,21 @@ FsWatchesRecursive:: /a/c: *new* {} +Projects:: +/a/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/c/tsconfig.json +/a/c/f.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/c/tsconfig.json *default* + Configured project: /a/c/tsconfig.json hasOpenRef:: true isClosed: false Before request @@ -236,7 +251,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1;" @@ -392,6 +407,26 @@ FsWatchesRecursive:: /a/c: {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/c/tsconfig.json + /a/b/tsconfig.json *default* *new* +/a/c/f.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/c/tsconfig.json *default* + Configured project: /a/c/tsconfig.json hasOpenRef:: true isClosed: false Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request @@ -441,6 +476,18 @@ FsWatchesRecursive:: /a/c: {} +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 2 + /a/c/tsconfig.json + /a/b/tsconfig.json *default* +/a/c/f.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/c/tsconfig.json + Configured project: /a/c/tsconfig.json hasOpenRef:: false isClosed: false Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request @@ -490,6 +537,18 @@ FsWatchesRecursive:: /a/c: {} +ScriptInfos:: +/a/b/app.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 2 + /a/c/tsconfig.json + /a/b/tsconfig.json +/a/c/f.ts + version: SVC-1-0 + containingProjects: 1 + /a/c/tsconfig.json + Configured project: /a/c/tsconfig.json hasOpenRef:: false isClosed: false Configured project: /a/b/tsconfig.json hasOpenRef:: false isClosed: false Before request @@ -557,4 +616,24 @@ FsWatchesRecursive *deleted*:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/a/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/c/tsconfig.json + /a/b/tsconfig.json *deleted* +/a/c/f.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 + /a/c/tsconfig.json *default* + Configured project: /a/c/tsconfig.json hasOpenRef:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js b/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js index 418c1b1fe08ac..0233be3d36609 100644 --- a/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js +++ b/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -172,6 +172,25 @@ FsWatches:: /user/username/projects/myproject/tsconfig.json: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -191,6 +210,11 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -212,7 +236,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -276,6 +300,25 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + Containing projects for /user/username/projects/myproject/src/file2.ts:: Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/src/file2.ts 1:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/src/file2.ts 1:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info @@ -284,6 +327,20 @@ Before running Timeout callback:: count: 0 export let y = 10;export let z = 10; +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 + After running Timeout callback:: count: 0 Containing projects for /user/username/projects/myproject/src/file2.ts:: \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js b/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js index 9385c7298048c..e58b40ab52610 100644 --- a/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js +++ b/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: C:/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/a/lib/lib.d.ts 500 undefined Project: C:/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: C:/a/node_modules/@types 1 undefined Project: C:/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: C:/a/node_modules/@types 1 undefined Project: C:/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: C:/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: C:/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'C:/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) C:/a/f1.ts SVC-1-0 "let x = 1;" @@ -196,3 +196,14 @@ C:/a: *new* {} C:/a/tsconfig.json: *new* {} + +Projects:: +C:/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +C:/a/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + C:/a/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js b/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js index 6e103628aeba8..34ee24c5b6560 100644 --- a/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js +++ b/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js @@ -37,7 +37,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/commonFile1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -67,6 +67,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Before request @@ -76,6 +91,20 @@ FsWatches:: /a/lib/lib.d.ts: {} +ScriptInfos:: +/a/b/commonFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/commonFile2.ts *new* + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "command": "applyChangedToOpenFiles", @@ -96,7 +125,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile1.ts 50 Info seq [hh:mm:ss:mss] Search path: /random Info seq [hh:mm:ss:mss] For info: /random/random.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" diff --git a/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js b/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js index d83386a03432f..d5060ebd5c396 100644 --- a/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js +++ b/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js @@ -25,7 +25,7 @@ Info seq [hh:mm:ss:mss] For info: /a/b/f1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/b/f2.ts Text-1 "export let x = 1" @@ -59,6 +59,21 @@ FsWatches:: /a/b/f2.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -74,7 +89,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/c Info seq [hh:mm:ss:mss] For info: /a/c/f3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/c/f3.ts SVC-1-0 "export let y = 1;" @@ -103,6 +118,28 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/f2.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/c/f3.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/f2.ts 1:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -118,9 +155,32 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/f2.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /dev/null/inferredProject1* +/a/c/f3.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/c/f3.ts SVC-1-0 "export let y = 1;" @@ -153,7 +213,7 @@ Info seq [hh:mm:ss:mss] FileName: /a/c/f3.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2*,/dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -189,5 +249,29 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/f2.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /dev/null/inferredProject1* +/a/c/f3.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* + /dev/null/inferredProject2* *deleted* + Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false Inferred project: /dev/null/inferredProject2* isOrphan:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js b/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js index 203d47a3c5c92..7de9f197047bf 100644 --- a/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js +++ b/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -96,6 +96,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/project' (External) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -109,6 +114,25 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/b/project (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project +/a/b/lib.html *new* + version: Text-1 + containingProjects: 1 + /a/b/project +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project + Before request Info seq [hh:mm:ss:mss] request: @@ -142,6 +166,21 @@ FsWatches *deleted*:: /a/b/app.ts: {} +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/project *default* +/a/b/lib.html + version: Text-1 + containingProjects: 1 + /a/b/project +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project + Before request Info seq [hh:mm:ss:mss] request: @@ -155,7 +194,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -178,6 +217,26 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/project (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/project *default* +/a/b/lib.html (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /a/b/project *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project + Before request Info seq [hh:mm:ss:mss] request: @@ -636,6 +695,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/project (External) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/project *default* +/a/b/lib.html *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /a/b/project +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project + Before request Info seq [hh:mm:ss:mss] request: @@ -650,7 +730,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1072,3 +1152,18 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/project *default* +/a/b/lib.html *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /a/b/project +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project diff --git a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js index 78c7ea05e2340..01f5604fa4258 100644 --- a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js +++ b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts SVC-1-0 "let x = 1;" @@ -197,6 +197,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -242,6 +257,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 2:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) @@ -285,6 +311,21 @@ FsWatchesRecursive *deleted*:: Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* +/a/b/f2.ts (Open) *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* + Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -295,7 +336,7 @@ Info seq [hh:mm:ss:mss] FileName: /a/b/f2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.ts SVC-1-0 "let x = 1;" @@ -307,7 +348,7 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/f2.ts Text-1 "let y = 2;" @@ -349,3 +390,21 @@ After running Timeout callback:: count: 0 PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/a/b/f2.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* diff --git a/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js b/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js index 4b85ef2a5e71e..b639cc7eb3358 100644 --- a/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js +++ b/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js @@ -26,7 +26,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/c Info seq [hh:mm:ss:mss] For info: /a/c/f2.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/c/f2.ts SVC-1-0 "export let x = 1;" @@ -53,6 +53,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/c/f2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false Before request @@ -69,7 +80,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/d Info seq [hh:mm:ss:mss] For info: /a/d/f3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/d/f3.ts SVC-1-0 "export let y = 1;" @@ -98,6 +109,24 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/c/f2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/d/f3.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false Inferred project: /dev/null/inferredProject2* isOrphan:: false isClosed: false Before request @@ -115,7 +144,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/f1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject3* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/c/f2.ts SVC-1-0 "export let x = 1;" @@ -170,6 +199,33 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* +/a/c/f2.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject3* *default* *new* + /dev/null/inferredProject1* *deleted* +/a/d/f3.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject3* *default* *new* + /dev/null/inferredProject2* *deleted* + Inferred project: /dev/null/inferredProject3* isOrphan:: false isClosed: false Before request @@ -184,7 +240,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject4* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject4* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/c/f2.ts SVC-1-0 "export let x = 1;" @@ -196,7 +252,7 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject5* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject5* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject5*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/d/f3.ts SVC-1-0 "export let y = 1;" @@ -238,6 +294,34 @@ FsWatches:: /a/b/f1.ts: *new* {} +Projects:: +/dev/null/inferredProject3* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject4* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject3* *deleted* +/a/c/f2.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject4* *default* *new* + /dev/null/inferredProject3* +/a/d/f3.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject5* *default* *new* + /dev/null/inferredProject3* + Inferred project: /dev/null/inferredProject3* isOrphan:: true isClosed: false Inferred project: /dev/null/inferredProject4* isOrphan:: false isClosed: false Inferred project: /dev/null/inferredProject5* isOrphan:: false isClosed: false @@ -284,6 +368,33 @@ FsWatches:: /a/d/f3.ts: *new* {} +Projects:: +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts + version: SVC-1-0 + containingProjects: 0 +/a/c/f2.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /dev/null/inferredProject4* *default* + /dev/null/inferredProject3* +/a/d/f3.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject3* + /dev/null/inferredProject5* *deleted* + Inferred project: /dev/null/inferredProject3* isOrphan:: true isClosed: false Inferred project: /dev/null/inferredProject4* isOrphan:: false isClosed: false Inferred project: /dev/null/inferredProject5* isOrphan:: true isClosed: false @@ -303,7 +414,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/d Info seq [hh:mm:ss:mss] For info: /a/d/f3.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject3* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -311,7 +422,7 @@ Info seq [hh:mm:ss:mss] Files (0) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject5* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject5* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) @@ -350,5 +461,32 @@ FsWatches *deleted*:: /a/d/f3.ts: {} +Projects:: +/dev/null/inferredProject3* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts *deleted* + version: SVC-1-0 + containingProjects: 0 +/a/c/f2.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject4* *default* + /dev/null/inferredProject3* *deleted* +/a/d/f3.ts (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject5* *default* *new* + /dev/null/inferredProject3* *deleted* + Inferred project: /dev/null/inferredProject5* isOrphan:: false isClosed: false Inferred project: /dev/null/inferredProject4* isOrphan:: false isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js index 140dda6c6d245..407ecaba688c9 100644 --- a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js @@ -58,6 +58,8 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] Host file extension mappings updated Info seq [hh:mm:ss:mss] response: { @@ -98,6 +100,11 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating configuration project /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -109,6 +116,11 @@ FsWatches:: /tsconfig.json: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + Info seq [hh:mm:ss:mss] Calling ensureInferredProjectsUpToDate_TestOnly Info seq [hh:mm:ss:mss] Loading configured project /tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -133,7 +145,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.deferred Text-1 "" diff --git a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js index 0f76bea2bd3b4..15aa0c3122490 100644 --- a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js +++ b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js @@ -58,6 +58,8 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] Host file extension mappings updated Info seq [hh:mm:ss:mss] response: { @@ -120,7 +122,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.deferred Text-1 "" @@ -180,6 +182,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -199,4 +206,15 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.deferred *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + Info seq [hh:mm:ss:mss] Has allowNonTsExtension: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js b/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js index 18cb2f83df14f..68da5b45f8e2f 100644 --- a/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js +++ b/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js @@ -26,7 +26,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/c/f3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/c/f3.ts Text-1 "export let y = 1;" @@ -65,6 +65,25 @@ FsWatches:: /a/c/f3.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/c/f3.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -106,6 +125,21 @@ FsWatches *deleted*:: /a/c/f3.ts: {} +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/f2.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/c/f3.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/f2.ts 2:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* @@ -128,11 +162,30 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/f2.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/c/f3.ts (Open) + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/f2 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/f2 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.ts SVC-1-0 "export * from \"./f2\"" @@ -155,7 +208,7 @@ Info seq [hh:mm:ss:mss] FileName: /a/c/f3.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/c/f3.ts Text-1 "export let y = 1;" @@ -199,3 +252,22 @@ PolledWatches:: {"pollingInterval":500} /a/lib/lib.d.ts: {"pollingInterval":500} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/c/f3.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* diff --git a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js index d2625feac7e2b..0bf545503333f 100644 --- a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js +++ b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /project/node_modules/@types/a/index.d.ts Text-1 "{}" @@ -206,6 +206,25 @@ FsWatchesRecursive:: /project/node_modules: *new* {} +Projects:: +/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/node_modules/@types/a/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json +/project/node_modules/@types/b/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -247,7 +266,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_mod Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/@types/a/node_modules/@types 1 undefined Project: /project/node_modules/@types/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/@types/node_modules/@types 1 undefined Project: /project/node_modules/@types/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/@types/node_modules/@types 1 undefined Project: /project/node_modules/@types/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/node_modules/@types/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/node_modules/@types/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/node_modules/@types/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /project/node_modules/@types/a/index.d.ts Text-1 "{}" @@ -409,6 +428,31 @@ FsWatchesRecursive:: /project/node_modules/@types/a: *new* {} +Projects:: +/project/node_modules/@types/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/project/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/project/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/node_modules/@types/a/index.d.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 *changed* + /project/tsconfig.json + /project/node_modules/@types/a/tsconfig.json *default* *new* +/project/node_modules/@types/b/index.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /project/tsconfig.json + /project/node_modules/@types/a/tsconfig.json *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -468,3 +512,20 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /project/node_modules: {} + +ScriptInfos:: +/project/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /project/tsconfig.json *default* +/project/node_modules/@types/a/index.d.ts (Open) + version: Text-1 + containingProjects: 2 + /project/tsconfig.json + /project/node_modules/@types/a/tsconfig.json *default* +/project/node_modules/@types/b/index.d.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 2 + /project/tsconfig.json *default* + /project/node_modules/@types/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/external-project-including-config-file.js b/tests/baselines/reference/tsserver/projects/external-project-including-config-file.js index ccabd8839a0a1..3f329bbe88534 100644 --- a/tests/baselines/reference/tsserver/projects/external-project-including-config-file.js +++ b/tests/baselines/reference/tsserver/projects/external-project-including-config-file.js @@ -32,7 +32,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: externalproject -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalproject Version: 1 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: externalproject projectStateVersion: 1 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -74,4 +74,20 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'externalproject' (External) +Info seq [hh:mm:ss:mss] Files (0) NoProgram + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: After request + +Projects:: +externalproject (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/f1.ts *new* + version: Text-1 + containingProjects: 1 + externalproject diff --git a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js index 4a9b817527616..00b9b92e230c8 100644 --- a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -194,6 +194,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/playground: *new* {} +Projects:: +/user/username/projects/myproject/playground/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json +/user/username/projects/myproject/playground/tests.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json *default* +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -241,6 +264,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/playground: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json +/user/username/projects/myproject/playground/tests.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -286,7 +328,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -425,6 +467,35 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/playground: {} +Projects:: +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/playground/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json *new* + /user/username/projects/myproject/playground/tsconfig.json *deleted* +/user/username/projects/myproject/playground/tests.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/playground/tsconfig.json *deleted* +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json *new* + /user/username/projects/myproject/playground/tsconfig.json *deleted* +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/playground/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -462,7 +533,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -557,3 +628,26 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject/playground/tsconfig-json/src: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* diff --git a/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js b/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js index d2caf56154791..1c0b8988d8ce6 100644 --- a/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js +++ b/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f1.js 500 undefin Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/constructor.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -97,6 +97,25 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +project (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/constructor.js *new* + version: Text-1 + containingProjects: 1 + project +/a/b/f1.js *new* + version: Text-1 + containingProjects: 1 + project +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + project + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -263,6 +282,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'project' (External) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -287,3 +311,8 @@ FsWatches:: FsWatchesRecursive:: /a: *new* {} + +Projects:: +project (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js index 1ce78dcc73aab..cc43a454ed405 100644 --- a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js +++ b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/con Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/config/node_modules/@types 1 undefined Project: /a/b/projects/config/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/config/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/config/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/config/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/projects/config/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/projects/config/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -175,6 +175,25 @@ FsWatchesRecursive:: /a/b/projects/config: *new* {} +Projects:: +/a/b/projects/config/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/config/file.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/projects/config/tsconfig.json *default* +/a/b/projects/files/file1.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/projects/config/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/projects/config/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -224,6 +243,21 @@ FsWatchesRecursive:: /a/b/projects/config: {} +ScriptInfos:: +/a/b/projects/config/file.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/projects/config/tsconfig.json *default* +/a/b/projects/files/file1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/projects/config/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/projects/config/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -267,6 +301,21 @@ FsWatchesRecursive:: /a/b/projects/config: {} +ScriptInfos:: +/a/b/projects/config/file.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/projects/config/tsconfig.json +/a/b/projects/files/file1.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/projects/config/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/projects/config/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -287,7 +336,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/fil Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/files/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -367,6 +416,33 @@ FsWatchesRecursive *deleted*:: /a/b/projects/config: {} +Projects:: +/a/b/projects/config/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/config/file.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/b/projects/config/tsconfig.json *deleted* +/a/b/projects/files/file1.ts (Open) *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/projects/config/tsconfig.json *deleted* +/a/b/projects/files/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *new* + /a/b/projects/config/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -398,7 +474,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/fil Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/files/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -431,3 +507,26 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/files/file1.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* +/a/b/projects/files/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* diff --git a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js index 753a7000f58f3..f2c28a0ccbb2f 100644 --- a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js +++ b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js @@ -24,7 +24,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: projectFileName Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: projectFileName WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: projectFileName Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: projectFileName projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'projectFileName' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.html Text-1 "" @@ -40,6 +40,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +projectFileName (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/f1.html *new* + version: Text-1 + containingProjects: 1 + projectFileName + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -178,6 +189,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'projectFileName' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -193,6 +209,11 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +projectFileName (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] Text of/a/b/f1.html: Before request @@ -207,7 +228,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: projectFileName -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: projectFileName Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: projectFileName projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'projectFileName' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.html SVC-2-0 "var x = 1;" @@ -226,6 +247,18 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +projectFileName (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.html (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + projectFileName *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -282,4 +315,17 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +projectFileName (External) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.html *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + projectFileName + Info seq [hh:mm:ss:mss] Text of/a/b/f1.html: \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js b/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js index f847ad341f467..3d81d675fdbc1 100644 --- a/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js +++ b/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -155,6 +155,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -190,6 +205,17 @@ FsWatchesRecursive:: /a/b: {} +ScriptInfos:: +/a/b/app.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js index 1502f29251db4..cb61b330ec11a 100644 --- a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js +++ b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -174,6 +174,25 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/sub/a.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -224,6 +243,21 @@ FsWatchesRecursive:: /users/username/projects/project: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/sub/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -248,6 +282,11 @@ Timeout callback:: count: 2 3: /users/username/projects/project/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "close", @@ -278,6 +317,21 @@ Timeout callback:: count: 2 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/sub/a.ts *deleted* + open: false *changed* + version: Text-1 + containingProjects: 0 *changed* + /users/username/projects/project/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -293,7 +347,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /users/username/projects/project Info seq [hh:mm:ss:mss] For info: /users/username/projects/project/a.ts :: Config file name: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -324,6 +378,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before running Timeout callback:: count: 2 5: /users/username/projects/project/tsconfig.json 6: *ensureProjectForOpenFiles* @@ -395,6 +468,26 @@ Timeout callback:: count: 2 7: /users/username/projects/project/tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json +/users/username/projects/project/a.ts *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /users/username/projects/project/tsconfig.json *deleted* +/users/username/projects/project/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -411,7 +504,7 @@ Info seq [hh:mm:ss:mss] Search path: /users/username/projects/project/sub Info seq [hh:mm:ss:mss] For info: /users/username/projects/project/sub/a.ts :: Config file name: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/a.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -451,7 +544,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -509,6 +602,29 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /users/username/projects/project/tsconfig.json + /dev/null/inferredProject1* *new* +/users/username/projects/project/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/sub/a.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before running Timeout callback:: count: 2 7: /users/username/projects/project/tsconfig.json 8: *ensureProjectForOpenFiles* @@ -580,6 +696,14 @@ Timeout callback:: count: 2 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + Info seq [hh:mm:ss:mss] request: { "command": "geterr", @@ -615,7 +739,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/a.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -674,6 +798,30 @@ FsWatchesRecursive:: Immedidate callback:: count: 1 1: semanticCheck *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /users/username/projects/project/tsconfig.json + /dev/null/inferredProject1* +/users/username/projects/project/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/sub/a.ts (Open) *changed* + version: SVC-2-0 + containingProjects: 1 *changed* + /users/username/projects/project/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* + Before running Immedidate callback:: count: 1 1: semanticCheck diff --git a/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js b/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js index e65d9a6a8e83d..895e0dfed0877 100644 --- a/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js +++ b/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js @@ -33,7 +33,7 @@ Info seq [hh:mm:ss:mss] For info: /a/b/commonFile1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -67,6 +67,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -136,10 +151,15 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -192,6 +212,25 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/commonFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-custom-safe-type-list.js b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-custom-safe-type-list.js index c83472a3e2a67..36f009d0254e7 100644 --- a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-custom-safe-type-list.js +++ b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-custom-safe-type-list.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Excluding files based on rule quack matching file '/lib Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: project WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.js Text-1 "export let x = 5" @@ -71,6 +71,17 @@ FsWatches:: /a/b/f1.js: *new* {} +Projects:: +project (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/f1.js *new* + version: Text-1 + containingProjects: 1 + project + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -232,6 +243,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'project' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -257,6 +273,11 @@ FsWatchesRecursive:: /lib: *new* {} +Projects:: +project (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + TypeAcquisition:: { "include": [ "duck-types" diff --git a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-legacy-safe-type-list.js b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-legacy-safe-type-list.js index 72fd52132665b..3361b976338b2 100644 --- a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-legacy-safe-type-list.js +++ b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-a-legacy-safe-type-list.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Excluded '/a/b/bliss.js' because it matched bliss from Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/foo.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: project WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/foo.js Text-1 "" @@ -77,6 +77,17 @@ FsWatches:: /a/b/foo.js: *new* {} +Projects:: +project (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/foo.js *new* + version: Text-1 + containingProjects: 1 + project + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -233,6 +244,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'project' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -255,3 +271,8 @@ FsWatches:: FsWatchesRecursive:: /a: *new* {} + +Projects:: +project (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-the-default-type-list.js b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-the-default-type-list.js index 2b32ea6a0bc88..e37f56f31beb6 100644 --- a/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-the-default-type-list.js +++ b/tests/baselines/reference/tsserver/projects/ignores-files-excluded-by-the-default-type-list.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] Excluding files based on rule Office Nuget matching fil Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: project WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.js Text-1 "export let x = 5" @@ -82,6 +82,17 @@ FsWatches:: /a/b/f1.js: *new* {} +Projects:: +project (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/f1.js *new* + version: Text-1 + containingProjects: 1 + project + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -269,6 +280,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'project' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -298,6 +314,11 @@ FsWatchesRecursive:: /scripts: *new* {} +Projects:: +project (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + TypeAcquisition:: { "include": [ "kendo-ui", diff --git a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js index 352b80bf06025..9905d487f8126 100644 --- a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -214,6 +214,29 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/apps/editor/src/src.js *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/mocks/cssMock.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -259,6 +282,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/apps/editor/src/src.js + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/mocks/cssMock.js *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -306,7 +348,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/apps/editor/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/apps/editor/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/apps/editor/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/apps/editor/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/apps/editor/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/apps/editor/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -424,7 +466,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -487,6 +529,40 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/user/username/projects/myproject/apps/editor/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/apps/editor/tsconfig.json *new* + /dev/null/inferredProject1* *new* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/apps/editor/src/src.js *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/apps/editor/tsconfig.json *new* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/mocks/cssMock.js *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -671,3 +747,11 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject/apps/editor/src: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/user/username/projects/myproject/apps/editor/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js b/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js index 4eadda07b4ec9..3378e990477de 100644 --- a/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js +++ b/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js @@ -41,6 +41,8 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] Host file extension mappings updated Info seq [hh:mm:ss:mss] response: { @@ -94,7 +96,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/main.ts SVC-1-0 "let x = 1" @@ -238,6 +240,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -275,6 +288,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/main.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -347,7 +367,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/main.js SVC-1-0 "var y = 1" @@ -359,6 +379,24 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/main.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/main.ts + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -418,6 +456,14 @@ Timeout callback:: count: 2 5: /a/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", @@ -549,6 +595,14 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -598,6 +652,25 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/main.js *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/main.ts + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -613,7 +686,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /main.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /main.js SVC-1-0 "var y = 1" @@ -796,3 +869,27 @@ FsWatches *deleted*:: FsWatchesRecursive *deleted*:: /a: {} + +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/main.js *deleted* + version: SVC-1-0 + containingProjects: 0 +/a/main.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/main.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* diff --git a/tests/baselines/reference/tsserver/projects/loose-file-included-in-config-file-(applyCodeChanges).js b/tests/baselines/reference/tsserver/projects/loose-file-included-in-config-file-(applyCodeChanges).js index e466fb8037962..6c57835f470c5 100644 --- a/tests/baselines/reference/tsserver/projects/loose-file-included-in-config-file-(applyCodeChanges).js +++ b/tests/baselines/reference/tsserver/projects/loose-file-included-in-config-file-(applyCodeChanges).js @@ -28,7 +28,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -43,3 +43,14 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/projects/loose-file-included-in-config-file-(openClientFile).js b/tests/baselines/reference/tsserver/projects/loose-file-included-in-config-file-(openClientFile).js index 20da1db449f92..44e9b0a138696 100644 --- a/tests/baselines/reference/tsserver/projects/loose-file-included-in-config-file-(openClientFile).js +++ b/tests/baselines/reference/tsserver/projects/loose-file-included-in-config-file-(openClientFile).js @@ -24,7 +24,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -38,3 +38,14 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js b/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js index f7e468ffba76e..ce60368069fa7 100644 --- a/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js +++ b/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/a.ts SVC-1-0 "export const a = 10;" @@ -193,6 +193,17 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/a.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/a.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/a.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory diff --git a/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js b/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js index 9691a36758f23..8b80e634375ee 100644 --- a/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js +++ b/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js @@ -48,6 +48,8 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] Host file extension mappings updated Info seq [hh:mm:ss:mss] response: { @@ -102,7 +104,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -204,6 +206,25 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.html *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -273,6 +294,8 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] Host file extension mappings updated Info seq [hh:mm:ss:mss] response: { @@ -326,7 +349,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -425,6 +448,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -490,6 +528,8 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] Host file extension mappings updated Info seq [hh:mm:ss:mss] response: { @@ -542,7 +582,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -639,6 +679,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -712,6 +767,8 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] Host file extension mappings updated Info seq [hh:mm:ss:mss] response: { @@ -764,7 +821,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -862,6 +919,25 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.html *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -934,6 +1010,8 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] Host file extension mappings updated Info seq [hh:mm:ss:mss] response: { @@ -987,7 +1065,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1086,6 +1164,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js b/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js index 9c3b8ecea6b01..6cbbc29b93625 100644 --- a/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js +++ b/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js @@ -22,7 +22,7 @@ Info seq [hh:mm:ss:mss] For info: /a/b/f1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/b/f2.ts Text-1 "export let x = 1" @@ -56,6 +56,21 @@ FsWatches:: /a/b/f2.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/f2.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -93,6 +108,17 @@ FsWatches *deleted*:: /a/b/f2.ts: {} +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/f2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -124,8 +150,23 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/f2.ts (Open) + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.ts SVC-1-1 "let y = 1 from \"./f2\"" @@ -147,7 +188,7 @@ Info seq [hh:mm:ss:mss] FileName: /a/b/f2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/f2.ts Text-1 "export let x = 1" diff --git a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js index f0f6b55da10d6..708c9f83f4006 100644 --- a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -194,6 +194,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/playground: *new* {} +Projects:: +/user/username/projects/myproject/playground/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json +/user/username/projects/myproject/playground/tests.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json *default* +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -241,6 +264,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/playground: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json +/user/username/projects/myproject/playground/tests.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -286,7 +328,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -425,6 +467,35 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/playground: {} +Projects:: +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/playground/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json *new* + /user/username/projects/myproject/playground/tsconfig.json *deleted* +/user/username/projects/myproject/playground/tests.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/playground/tsconfig.json *deleted* +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json *new* + /user/username/projects/myproject/playground/tsconfig.json *deleted* +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/playground/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -464,7 +535,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -565,3 +636,26 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject/playground/tsconfig-json/src: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* diff --git a/tests/baselines/reference/tsserver/projects/regression-test-for-crash-in-acquireOrUpdateDocument.js b/tests/baselines/reference/tsserver/projects/regression-test-for-crash-in-acquireOrUpdateDocument.js index c8a9105f11ef8..85c028ddc3ebe 100644 --- a/tests/baselines/reference/tsserver/projects/regression-test-for-crash-in-acquireOrUpdateDocument.js +++ b/tests/baselines/reference/tsserver/projects/regression-test-for-crash-in-acquireOrUpdateDocument.js @@ -15,7 +15,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/file1.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/file1.ts SVC-1-0 "" @@ -42,6 +42,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -183,7 +194,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/file1.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/file1.js SVC-1-0 "var x = 10;" @@ -195,6 +206,24 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/a/b/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -334,3 +363,11 @@ PolledWatches:: {"pollingInterval":500} /a/lib/lib.d.ts: {"pollingInterval":500} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js b/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js index a56b739786237..491157e637334 100644 --- a/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js +++ b/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -96,6 +96,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/project' (External) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -111,6 +116,25 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/a/b/project (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project +/a/b/lib.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/project + Before request Info seq [hh:mm:ss:mss] request: @@ -146,6 +170,21 @@ FsWatches *deleted*:: /a/b/app.ts: {} +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /a/b/project *default* +/a/b/lib.ts + version: Text-1 + containingProjects: 1 + /a/b/project +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project + Before request Info seq [hh:mm:ss:mss] request: @@ -160,7 +199,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -191,6 +230,26 @@ FsWatches *deleted*:: /a/b/lib.ts: {} +Projects:: +/a/b/project (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/project *default* +/a/b/lib.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /a/b/project *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project + Before request Info seq [hh:mm:ss:mss] request: @@ -261,6 +320,27 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/a/b/project (External) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/project *default* +/a/b/lib.ts *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /a/b/project +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project + Before request Info seq [hh:mm:ss:mss] request: @@ -275,7 +355,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -308,3 +388,18 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +ScriptInfos:: +/a/b/app.ts (Open) + version: Text-1 + containingProjects: 1 + /a/b/project *default* +/a/b/lib.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /a/b/project +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/b/project diff --git a/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js b/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js index c7ec7f5475944..f217c37d6fe77 100644 --- a/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js +++ b/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -175,6 +175,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -224,6 +243,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -267,6 +301,27 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/src/file2.ts 1:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -294,7 +349,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -308,3 +363,18 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js b/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js index f521497b58715..218c51a3515ee 100644 --- a/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js +++ b/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/commonFile1.ts SVC-1-0 "let x = 1" @@ -192,6 +192,21 @@ FsWatches:: /a/b/tsconfig.json: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -210,6 +225,11 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -231,7 +251,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/commonFile1.ts SVC-1-0 "let x = 1" @@ -338,6 +358,21 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/commonFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /a/b/tsconfig.json *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -411,7 +446,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/commonFile2.ts Text-1 "let y = 1" @@ -451,3 +486,22 @@ FsWatches:: FsWatches *deleted*:: /a/b/commonFile2.ts: {} + +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* diff --git a/tests/baselines/reference/tsserver/projects/should-disable-features-when-the-files-are-too-large.js b/tests/baselines/reference/tsserver/projects/should-disable-features-when-the-files-are-too-large.js index 5303d8171933f..7f72b069d1dc5 100644 --- a/tests/baselines/reference/tsserver/projects/should-disable-features-when-the-files-are-too-large.js +++ b/tests/baselines/reference/tsserver/projects/should-disable-features-when-the-files-are-too-large.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: proj1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'proj1' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.js Text-1 "" @@ -61,6 +61,17 @@ FsWatches:: /a/b/f1.js: *new* {} +Projects:: +proj1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/f1.js *new* + version: Text-1 + containingProjects: 1 + proj1 + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -205,6 +216,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -228,6 +244,11 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +proj1 (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -260,7 +281,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: proj2 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: proj2 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: proj2 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'proj2' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/f2.js Text-1 "" @@ -394,6 +415,15 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project 'proj2' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -419,6 +449,24 @@ FsWatchesRecursive:: /a: {} +Projects:: +proj1 (External) + projectStateVersion: 1 + projectProgramVersion: 1 +proj2 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.js + version: Text-1 + containingProjects: 1 + proj1 +/a/b/f2.js *new* + version: Text-1 + containingProjects: 1 + proj2 + Before request Info seq [hh:mm:ss:mss] request: @@ -449,7 +497,7 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f3.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: proj3 -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: proj3 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: proj3 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'proj3' (External) Info seq [hh:mm:ss:mss] Files (0) @@ -505,6 +553,19 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project 'proj2' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project 'proj3' (External) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -531,3 +592,28 @@ FsWatches:: FsWatchesRecursive:: /a: {} + +Projects:: +proj1 (External) + projectStateVersion: 1 + projectProgramVersion: 1 +proj2 (External) + projectStateVersion: 1 + projectProgramVersion: 1 +proj3 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.js + version: Text-1 + containingProjects: 1 + proj1 +/a/b/f2.js + version: Text-1 + containingProjects: 1 + proj2 +/a/b/f3.js *new* + version: Text-1 + containingProjects: 1 + proj3 diff --git a/tests/baselines/reference/tsserver/projects/should-not-crash-when-opening-a-file-in-a-project-with-a-disabled-language-service.js b/tests/baselines/reference/tsserver/projects/should-not-crash-when-opening-a-file-in-a-project-with-a-disabled-language-service.js index 4e505b3cc069e..a8bfe5191746e 100644 --- a/tests/baselines/reference/tsserver/projects/should-not-crash-when-opening-a-file-in-a-project-with-a-disabled-language-service.js +++ b/tests/baselines/reference/tsserver/projects/should-not-crash-when-opening-a-file-in-a-project-with-a-disabled-language-service.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: proj1 -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: proj1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'proj1' (External) Info seq [hh:mm:ss:mss] Files (0) @@ -96,6 +96,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'proj1' (External) +Info seq [hh:mm:ss:mss] Files (0) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -109,6 +114,21 @@ FsWatches:: /a/b/f2.js: *new* {} +Projects:: +proj1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.js *new* + version: Text-1 + containingProjects: 1 + proj1 +/a/b/f2.js *new* + version: Text-1 + containingProjects: 1 + proj1 + Before request Info seq [hh:mm:ss:mss] request: @@ -141,3 +161,14 @@ FsWatches:: FsWatches *deleted*:: /a/b/f2.js: {} + +ScriptInfos:: +/a/b/f1.js + version: Text-1 + containingProjects: 1 + proj1 +/a/b/f2.js (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + proj1 *default* diff --git a/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js b/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js index 16243d4fb563e..170f9f036f7f6 100644 --- a/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js +++ b/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js @@ -23,7 +23,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1;" @@ -70,6 +70,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/proj.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -85,6 +90,17 @@ FsWatches:: /a/b/app.ts: *new* {} +Projects:: +/a/b/proj.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/proj.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -99,7 +115,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj.csproj Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-2-0 "let x = 1;\nlet y = 2;" @@ -126,6 +142,18 @@ FsWatches *deleted*:: /a/b/app.ts: {} +Projects:: +/a/b/proj.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /a/b/proj.csproj *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -234,6 +262,19 @@ FsWatches:: /a/b/app.ts: *new* {} +Projects:: +/a/b/proj.csproj (External) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /a/b/proj.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -247,7 +288,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj.csproj Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj.csproj projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-3-0 "let x = 1;" @@ -274,6 +315,14 @@ FsWatches *deleted*:: /a/b/app.ts: {} +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: SVC-3-0 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /a/b/proj.csproj *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js index fdcd43e6c6041..c5e1b5715d41e 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -193,6 +193,21 @@ FsWatchesRecursive:: /users/username/projects/project/A: *new* {} +Projects:: +/users/username/projects/project/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/A/tsconfig.json +/users/username/projects/project/A/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/A/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -243,7 +258,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/B/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -368,6 +383,30 @@ FsWatchesRecursive:: /users/username/projects/project/B: *new* {} +Projects:: +/users/username/projects/project/A/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/users/username/projects/project/B/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /users/username/projects/project/A/tsconfig.json + /users/username/projects/project/B/tsconfig.json *new* +/users/username/projects/project/A/a.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /users/username/projects/project/A/tsconfig.json *default* + /users/username/projects/project/B/tsconfig.json *new* +/users/username/projects/project/B/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/B/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js index bcc9b13ce6091..19d318bd8d3d8 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -196,6 +196,21 @@ FsWatchesRecursive:: /users/username/projects/project/A: *new* {} +Projects:: +/users/username/projects/project/A/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/A/tsconfig.json +/users/username/projects/project/A/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/A/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -248,7 +263,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/B/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -376,6 +391,33 @@ FsWatchesRecursive:: /users/username/projects/project/B: *new* {} +Projects:: +/users/username/projects/project/A/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/users/username/projects/project/B/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /users/username/projects/project/A/tsconfig.json + /users/username/projects/project/B/tsconfig.json *new* +/users/username/projects/project/A/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/A/tsconfig.json *default* +/users/username/projects/project/B/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/B/tsconfig.json *default* +/users/username/projects/project/B/b2.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/B/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -564,6 +606,14 @@ Timeout callback:: count: 3 2: /users/username/projects/project/B/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/users/username/projects/project/B/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "command": "synchronizeProjectList", @@ -622,7 +672,7 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/A/tsconfig.jso } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -683,7 +733,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/B/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -750,3 +800,31 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/users/username/projects/project/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/users/username/projects/project/B/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /users/username/projects/project/A/tsconfig.json + /users/username/projects/project/B/tsconfig.json +/users/username/projects/project/A/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/A/tsconfig.json *default* +/users/username/projects/project/B/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/B/tsconfig.json *default* +/users/username/projects/project/B/b2.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /users/username/projects/project/B/tsconfig.json + /users/username/projects/project/A/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js index ee374c3301c97..6ed58f71d0a42 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -174,6 +174,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js index e9636ddb28f28..af012959bfcd1 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -174,6 +174,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projects/syntax-tree-cache-handles-changes-in-project-settings.js b/tests/baselines/reference/tsserver/projects/syntax-tree-cache-handles-changes-in-project-settings.js index 535b8f25ee3c0..e167808f3b8a1 100644 --- a/tests/baselines/reference/tsserver/projects/syntax-tree-cache-handles-changes-in-project-settings.js +++ b/tests/baselines/reference/tsserver/projects/syntax-tree-cache-handles-changes-in-project-settings.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-1-0 "{x: 1}" @@ -66,6 +66,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -137,6 +148,11 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -168,6 +184,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -242,3 +264,11 @@ PolledWatches:: FsWatches:: /a/b/app.ts: *new* {} + +ScriptInfos:: +/a/b/app.ts *changed* + open: false *changed* + version: SVC-1-1 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* diff --git a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js index c3d124ec83795..b27eafa4a3c78 100644 --- a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js +++ b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/f1.ts SVC-1-0 " " @@ -195,6 +195,17 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/f1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -237,7 +248,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts SVC-1-0 " " @@ -328,6 +339,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /a/b/f1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /a/b/tsconfig.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /a/b/f1.ts ProjectRootPath: undefined @@ -350,6 +369,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.html *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -371,7 +405,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/f2.html :: Config file name: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts SVC-1-0 " " @@ -394,6 +428,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.html (Open) *changed* + open: true *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /a/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -854,6 +904,23 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.html *changed* + open: false *changed* + version: SVC-2-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /a/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -867,7 +934,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 4 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/f1.ts SVC-1-0 " " @@ -1288,3 +1355,14 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +ScriptInfos:: +/a/b/f1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/f2.html *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js index 5d90105059b7f..7eaa7bec06496 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js @@ -189,7 +189,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/sample1/node_modules/@types 1 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/sample1/tests/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -324,6 +324,33 @@ FsWatchesRecursive:: /user/username/projects/sample1/logic: *new* {} +Projects:: +/user/username/projects/sample1/tests/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/core/anotherModule.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/core/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/logic/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/tests/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/sample1/logic/index.ts 1:: WatchInfo: /user/username/projects/sample1/logic/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/sample1/tests/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -345,9 +372,37 @@ Timeout callback:: count: 2 1: /user/username/projects/sample1/tests/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/sample1/tests/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/core/anotherModule.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/core/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/logic/index.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/tests/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/sample1/tests/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/sample1/tests/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +443,29 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/core/anotherModule.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/core/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/logic/index.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/tests/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/sample1/logic/index.ts 1:: WatchInfo: /user/username/projects/sample1/logic/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/sample1/tests/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -409,9 +487,37 @@ Timeout callback:: count: 2 3: /user/username/projects/sample1/tests/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/sample1/tests/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/core/anotherModule.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/core/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/logic/index.ts *changed* + version: Text-2 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/tests/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/sample1/tests/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/sample1/tests/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -452,6 +558,29 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/core/anotherModule.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/core/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/logic/index.ts *changed* + version: Text-3 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json +/user/username/projects/sample1/tests/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/sample1/tests/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/sample1/logic/tsconfig.json 1:: WatchInfo: /user/username/projects/sample1/logic/tsconfig.json 2000 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/sample1/tests/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -478,6 +607,11 @@ Timeout callback:: count: 2 5: /user/username/projects/sample1/tests/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/sample1/tests/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/sample1/tests/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/sample1/logic/tsconfig.json : { @@ -497,7 +631,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/sample1/logic/tsconfig. } ] } -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/sample1/tests/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -537,3 +671,8 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/sample1/tests/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js index 78bff477b12c3..e17f788704565 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js @@ -179,7 +179,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -312,6 +312,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: *new* {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/b/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -330,6 +357,11 @@ Timeout callback:: count: 3 2: *ensureProjectForOpenFiles* *new* 3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.json : { @@ -343,7 +375,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -435,6 +467,33 @@ FsWatchesRecursive *deleted*:: Timeout callback:: count: 0 3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/c/tsconfig.json *deleted* +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/b/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -473,6 +532,11 @@ Timeout callback:: count: 3 5: *ensureProjectForOpenFiles* *new* 6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.json : { @@ -509,7 +573,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -598,3 +662,30 @@ FsWatchesRecursive:: Timeout callback:: count: 0 6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* + +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/c/tsconfig.json *new* +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js index 32ab84e353e91..5664b2ac29650 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js @@ -179,7 +179,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -312,6 +312,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: *new* {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -330,6 +357,11 @@ Timeout callback:: count: 3 2: *ensureProjectForOpenFiles* *new* 3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { @@ -340,7 +372,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js "configFilePath": "/user/username/projects/myproject/a/tsconfig.json" } } -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -384,6 +416,11 @@ After running Timeout callback:: count: 0 Timeout callback:: count: 0 3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -411,6 +448,11 @@ Timeout callback:: count: 3 5: *ensureProjectForOpenFiles* *new* 6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { @@ -422,7 +464,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js "configFilePath": "/user/username/projects/myproject/a/tsconfig.json" } } -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -465,3 +507,8 @@ After running Timeout callback:: count: 0 Timeout callback:: count: 0 6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* + +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js index 4087d5399adaa..5be7e2852e883 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js @@ -179,7 +179,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -312,6 +312,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: *new* {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/nrefs :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/nrefs :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -354,6 +381,11 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/c/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -384,7 +416,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -477,6 +509,37 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/a: {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/c/tsconfig.json *deleted* +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/nrefs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/b/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -510,6 +573,11 @@ Timeout callback:: count: 2 4: /user/username/projects/myproject/c/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.json : { @@ -538,7 +606,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -630,3 +698,34 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/nrefs: {} + +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/c/tsconfig.json *new* +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/nrefs/a.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/c/tsconfig.json *deleted* +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js index a8d576bdd5a20..e81430931eb43 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js @@ -179,7 +179,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -312,6 +312,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: *new* {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/nrefs :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/nrefs :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -353,6 +380,11 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/c/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/c/tsconfig.json @@ -393,7 +425,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -506,6 +538,37 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/refs: {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/nrefs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/refs/a.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/c/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/c/tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/c/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -538,6 +601,11 @@ Timeout callback:: count: 2 4: /user/username/projects/myproject/c/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -576,7 +644,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -688,3 +756,34 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/nrefs: {} + +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/nrefs/a.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/c/tsconfig.json *deleted* +/user/username/projects/myproject/refs/a.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/c/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js index 37ecb36383b40..a7edc0aaf0291 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js @@ -179,7 +179,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -312,6 +312,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: *new* {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/b/index.ts 1:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -328,9 +355,37 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/c/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -370,3 +425,26 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js index b1a01f574ec90..af515ec40256c 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js @@ -176,7 +176,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -311,6 +311,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: *new* {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/b/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -332,6 +359,11 @@ Timeout callback:: count: 3 2: *ensureProjectForOpenFiles* *new* 3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.json : { @@ -349,7 +381,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -443,6 +475,33 @@ FsWatchesRecursive *deleted*:: Timeout callback:: count: 0 3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/c/tsconfig.json *deleted* +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/b/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -478,6 +537,11 @@ Timeout callback:: count: 3 5: *ensureProjectForOpenFiles* *new* 6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.json : { @@ -518,7 +582,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -609,3 +673,30 @@ FsWatchesRecursive:: Timeout callback:: count: 0 6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* + +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/c/tsconfig.json *new* +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js index 0a4d5b426a6ab..3652b0a7d8b3b 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js @@ -176,7 +176,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -311,6 +311,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: *new* {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -332,6 +359,11 @@ Timeout callback:: count: 3 2: *ensureProjectForOpenFiles* *new* 3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { @@ -344,7 +376,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -388,6 +420,11 @@ After running Timeout callback:: count: 0 Timeout callback:: count: 0 3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -412,6 +449,11 @@ Timeout callback:: count: 3 5: *ensureProjectForOpenFiles* *new* 6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.json : { @@ -425,7 +467,7 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -468,3 +510,8 @@ After running Timeout callback:: count: 0 Timeout callback:: count: 0 6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* + +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js index cc57c8d31af26..2828c27423eaf 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js @@ -176,7 +176,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -311,6 +311,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: *new* {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/nrefs :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/nrefs :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -350,6 +377,11 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/c/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -380,7 +412,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -473,6 +505,37 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/c/tsconfig.json *deleted* +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/nrefs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/b/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -503,6 +566,11 @@ Timeout callback:: count: 2 4: /user/username/projects/myproject/c/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.json : { @@ -531,7 +599,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -625,3 +693,34 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/nrefs: {} + +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/c/tsconfig.json *new* +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/nrefs/a.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/c/tsconfig.json *deleted* +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js index 44af9e5e119a2..7a155f2ef0c44 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js @@ -176,7 +176,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -311,6 +311,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: *new* {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/nrefs :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/nrefs :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations @@ -349,6 +376,11 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/c/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/c/tsconfig.json @@ -389,7 +421,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -504,6 +536,37 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/refs: {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/nrefs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/refs/a.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/c/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/c/tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/c/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -533,6 +596,11 @@ Timeout callback:: count: 2 4: /user/username/projects/myproject/c/tsconfig.json *new* 5: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -571,7 +639,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -685,3 +753,34 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /user/username/projects/myproject/nrefs: {} + +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/nrefs/a.d.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/c/tsconfig.json *deleted* +/user/username/projects/myproject/refs/a.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/c/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js index bfab7ef8824e5..b7817aa075655 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js @@ -176,7 +176,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -311,6 +311,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/refs: *new* {} +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/b/index.ts 1:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -327,9 +354,37 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/c/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -369,3 +424,26 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/a/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/b/index.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json +/user/username/projects/myproject/c/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json *default* +/user/username/projects/myproject/refs/a.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/c/tsconfig.json diff --git a/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js b/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js index 3590ef2d53d39..ff68a6c324cce 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js +++ b/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] Config: /Foo/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Foo/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /Foo/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Foo/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Foo/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Foo/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /Foo/a.ts SVC-1-0 "const x = 0;" @@ -179,6 +179,17 @@ FsWatches:: /Foo/tsconfig.json: *new* {} +Projects:: +/Foo/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/Foo/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /Foo/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js b/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js index eb198d82c27ae..1294604ec3912 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js +++ b/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Config: /Foo/tsconfig.json : { Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Foo/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Foo/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /Foo/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Foo/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Foo/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Foo/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /Foo/a.ts SVC-1-0 "const x = 0;" @@ -190,6 +190,21 @@ FsWatches:: /Foo/tsconfig.json: *new* {} +Projects:: +/Foo/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/Foo/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /Foo/tsconfig.json *default* +/Foo/b.ts *new* + version: Text-1 + containingProjects: 1 + /Foo/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js index 6a4387190423e..18cde23088b82 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js +++ b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Config: /Bar/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Bar/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /Bar/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Bar/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Bar/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Bar/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /Bar/a.ts SVC-1-0 "const a = 1;\nconst b = 2;\nconsole.log(a, b);" @@ -187,6 +187,17 @@ FsWatches:: /Bar/tsconfig.json: *new* {} +Projects:: +/Bar/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/Bar/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /Bar/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js index 7eaf2832e25d6..fa8d784c6904f 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js +++ b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Config: /Foo/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Foo/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /Foo/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Foo/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Foo/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Foo/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /Foo/a.ts SVC-1-0 "const x = 0;" @@ -182,6 +182,17 @@ FsWatches:: /Foo/tsconfig.json: *new* {} +Projects:: +/Foo/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/Foo/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /Foo/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js b/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js index b73d2c86a54c1..d9b81b0a75a34 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js +++ b/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "export const a = 0;" @@ -179,6 +179,17 @@ FsWatches:: /tsconfig.json: *new* {} +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/refactors/use-formatting-options.js b/tests/baselines/reference/tsserver/refactors/use-formatting-options.js index 53fc12942e57c..81dd3219bfc33 100644 --- a/tests/baselines/reference/tsserver/refactors/use-formatting-options.js +++ b/tests/baselines/reference/tsserver/refactors/use-formatting-options.js @@ -20,7 +20,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "function f() {\n 1;\n}" @@ -47,6 +47,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js b/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js index e7790fe3aac7f..c4be3eaa1b2ed 100644 --- a/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js +++ b/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js @@ -35,7 +35,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -65,6 +65,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + contents set during open request:: Content of /a/b/app.ts:: let z = 1 Before request @@ -95,11 +110,38 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + contents of closed file:: Content of /a/b/app.ts:: let x = 1 Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false info:: /a/b/app.ts:: Before request +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 0 +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] request: { "command": "reload", @@ -130,6 +172,15 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-3 *changed* + containingProjects: 0 +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + contents of temp file:: Content of /a/b/app.ts:: const y = 42 Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false info:: /a/b/app.ts:: @@ -164,6 +215,15 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-4 *changed* + containingProjects: 0 +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + contents of closed file:: Content of /a/b/app.ts:: let x = 1 Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false info:: /a/b/app.ts:: @@ -182,7 +242,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/app.ts 500 undefi Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -216,6 +276,17 @@ FsWatches *deleted*:: /a/b/app.ts: {} +ScriptInfos:: +/a/b/app.ts (Open) *changed* + open: true *changed* + version: Text-4 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + contents of file when opened without specifying contents:: Content of /a/b/app.ts:: let x = 1 Before request @@ -246,6 +317,22 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + open: false *changed* + version: Text-4 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + contents of closed file:: Content of /a/b/app.ts:: let x = 1 Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false info:: /a/b/app.ts:: @@ -281,6 +368,15 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-5 *changed* + containingProjects: 0 +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + contents of temp file:: Content of /a/b/app.ts:: const y = 42 Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false info:: /a/b/app.ts:: @@ -315,6 +411,15 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-6 *changed* + containingProjects: 0 +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + contents of closed file:: Content of /a/b/app.ts:: let x = 1 Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false info:: /a/b/app.ts:: \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js b/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js index 92d924a506853..48d553f852367 100644 --- a/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js +++ b/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js @@ -21,7 +21,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-1-0 "let x = 1" @@ -48,6 +48,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -80,9 +91,26 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: Text-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Content of /a/b/app.ts:: const y = 42 Before request +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: SVC-2-0 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] request: { "command": "reload", @@ -112,4 +140,10 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/app.ts (Open) *changed* + version: Text-3 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Content of /a/b/app.ts:: let x = 1 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js index c1f8547d74c42..a7a6ecb92b1c9 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -220,6 +220,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request //// [/user/username/projects/myproject/node_modules/module1/index.d.ts] export function foo(): string; @@ -276,7 +295,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -328,6 +347,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined @@ -362,6 +389,29 @@ FsWatchesRecursive:: Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module1/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request //// [/user/username/projects/myproject/file2.ts] export function bar(){} @@ -417,7 +467,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -469,6 +519,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined @@ -501,6 +559,29 @@ FsWatchesRecursive:: Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *changed* + version: Text-2 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module1/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request //// [/user/username/projects/myproject/file2.ts] deleted @@ -557,7 +638,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -605,6 +686,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined @@ -640,3 +729,26 @@ FsWatchesRecursive:: {} Timeout callback:: count: 0 + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/node_modules/module1/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js index 3a6ff006efc3b..431f2fa2c7246 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -195,6 +195,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -220,6 +225,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -267,6 +291,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request //// [/user/username/projects/myproject/node_modules/module1/index.d.ts] export function foo(): string; @@ -323,7 +362,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -375,6 +414,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined @@ -409,6 +456,29 @@ FsWatchesRecursive:: Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module1/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request //// [/user/username/projects/myproject/file2.ts] export function bar(){} @@ -464,7 +534,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -516,6 +586,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (4) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined @@ -548,6 +626,29 @@ FsWatchesRecursive:: Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *changed* + version: Text-2 *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module1/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request //// [/user/username/projects/myproject/file2.ts] deleted @@ -604,7 +705,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -652,6 +753,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined @@ -687,3 +796,26 @@ FsWatchesRecursive:: {} Timeout callback:: count: 0 + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/file1.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/file2.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/node_modules/module1/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project.js b/tests/baselines/reference/tsserver/reloadProjects/external-project.js index 600a2f6c72896..384306232323d 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -140,6 +140,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -159,6 +164,25 @@ FsWatches:: /user/username/projects/myproject/file1.ts: *new* {} +Projects:: +/user/username/projects/myproject/project.sln (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln +/user/username/projects/myproject/file1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln + Before request Info seq [hh:mm:ss:mss] request: @@ -198,6 +222,21 @@ FsWatches *deleted*:: /user/username/projects/myproject/file1.ts: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln +/user/username/projects/myproject/file1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln *default* +/user/username/projects/myproject/file2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln + Before request //// [/user/username/projects/myproject/node_modules/module1/index.d.ts] export function foo(): string; @@ -229,7 +268,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -261,6 +300,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/project.sln +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) +Info seq [hh:mm:ss:mss] Files (4) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined @@ -291,6 +338,29 @@ FsWatchesRecursive:: Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/project.sln (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln +/user/username/projects/myproject/file1.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln *default* +/user/username/projects/myproject/file2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln +/user/username/projects/myproject/node_modules/module1/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln + Before request //// [/user/username/projects/myproject/file2.ts] export function bar(){} @@ -321,7 +391,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -353,6 +423,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/project.sln +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) +Info seq [hh:mm:ss:mss] Files (4) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined @@ -381,6 +459,29 @@ FsWatchesRecursive:: Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/project.sln (External) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln +/user/username/projects/myproject/file1.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln *default* +/user/username/projects/myproject/file2.ts *changed* + version: Text-2 *changed* + containingProjects: 1 + /user/username/projects/myproject/project.sln +/user/username/projects/myproject/node_modules/module1/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln + Before request //// [/user/username/projects/myproject/file2.ts] deleted @@ -414,7 +515,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.sln projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -442,6 +543,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/project.sln +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.sln' (External) +Info seq [hh:mm:ss:mss] Files (3) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined @@ -473,3 +582,26 @@ FsWatchesRecursive:: {} Timeout callback:: count: 0 + +Projects:: +/user/username/projects/myproject/project.sln (External) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln +/user/username/projects/myproject/file1.ts (Open) + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln *default* +/user/username/projects/myproject/file2.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /user/username/projects/myproject/project.sln *deleted* +/user/username/projects/myproject/node_modules/module1/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.sln diff --git a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js index 4cdf876d29e8f..1bdb1d7dd6fc3 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -143,6 +143,25 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/file2.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request //// [/user/username/projects/myproject/node_modules/module1/index.d.ts] export function foo(): string; @@ -182,7 +201,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -205,6 +224,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject @@ -239,6 +266,29 @@ FsWatchesRecursive:: Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/file2.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/module1/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request //// [/user/username/projects/myproject/file2.ts] export function bar(){} @@ -277,7 +327,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -300,6 +350,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject @@ -332,6 +390,29 @@ FsWatchesRecursive:: Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/file2.ts *changed* + version: Text-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/module1/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request //// [/user/username/projects/myproject/file2.ts] deleted @@ -372,7 +453,7 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -392,6 +473,14 @@ Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] After reloading projects.. +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (3) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject @@ -427,3 +516,26 @@ FsWatchesRecursive:: {} Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/file2.ts *deleted* + version: Text-2 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/node_modules/module1/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/rename/export-default-anonymous-function-works-with-prefixText-and-suffixText-when-disabled.js b/tests/baselines/reference/tsserver/rename/export-default-anonymous-function-works-with-prefixText-and-suffixText-when-disabled.js index 5d57bf00cf394..4663fae14193f 100644 --- a/tests/baselines/reference/tsserver/rename/export-default-anonymous-function-works-with-prefixText-and-suffixText-when-disabled.js +++ b/tests/baselines/reference/tsserver/rename/export-default-anonymous-function-works-with-prefixText-and-suffixText-when-disabled.js @@ -22,7 +22,7 @@ Info seq [hh:mm:ss:mss] For info: /b.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a.ts Text-1 "export default function() {}" @@ -56,6 +56,21 @@ FsWatches:: /a.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js b/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js index dd2d27ac17ad2..e0a587e4ff68e 100644 --- a/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js +++ b/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js @@ -21,7 +21,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "export const a = 1;" @@ -48,6 +48,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -63,7 +74,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /b.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a.ts SVC-1-0 "export const a = 1;" @@ -102,6 +113,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* +/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js b/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js index 198da5ab79c94..eeb16f45e4e77 100644 --- a/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js +++ b/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js @@ -21,7 +21,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "const x = 1; export { x };" @@ -48,6 +48,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -63,7 +74,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /b.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a.ts SVC-1-0 "const x = 1; export { x };" @@ -102,6 +113,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* +/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js index cff07fb2be29d..0a58bdf9767f2 100644 --- a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js +++ b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js @@ -110,7 +110,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node_modules/@types 1 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/temp/test/project1/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/temp/test/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/temp/test/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) C:/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -232,6 +232,24 @@ FsWatchesRecursive:: c:/temp/test/project1: *new* {} +Projects:: +c:/temp/test/project1/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +c:/temp/test/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +C:/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + c:/temp/test/project1/tsconfig.json +c:/temp/test/project1/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + c:/temp/test/project1/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -295,7 +313,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node_modules/@types 1 undefined Project: c:/temp/test/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: c:/temp/test/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: c:/temp/test/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/temp/test/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/temp/test/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/temp/test/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -385,7 +403,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node_modules/@types 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/temp/test/project2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/temp/test/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/temp/test/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) C:/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" @@ -574,3 +592,30 @@ c:/temp/test/project1: {} c:/temp/test/project2: *new* {} + +Projects:: +c:/temp/test/project1/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +c:/temp/test/project2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +c:/temp/test/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + +ScriptInfos:: +C:/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + c:/temp/test/project1/tsconfig.json + c:/temp/test/project2/tsconfig.json *new* +c:/temp/test/project1/index.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + c:/temp/test/project1/tsconfig.json *default* + c:/temp/test/project2/tsconfig.json *new* +c:/temp/test/project2/index.ts *new* + version: Text-1 + containingProjects: 1 + c:/temp/test/project2/tsconfig.json diff --git a/tests/baselines/reference/tsserver/rename/works-with-fileToRename.js b/tests/baselines/reference/tsserver/rename/works-with-fileToRename.js index d43f0f7596b3c..2ccb3c2878c49 100644 --- a/tests/baselines/reference/tsserver/rename/works-with-fileToRename.js +++ b/tests/baselines/reference/tsserver/rename/works-with-fileToRename.js @@ -22,7 +22,7 @@ Info seq [hh:mm:ss:mss] For info: /b.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a.ts Text-1 "export const a = 0;" @@ -56,6 +56,21 @@ FsWatches:: /a.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/rename/works-with-prefixText-and-suffixText-when-enabled.js b/tests/baselines/reference/tsserver/rename/works-with-prefixText-and-suffixText-when-enabled.js index 8af1515117515..4728ac65dfaa6 100644 --- a/tests/baselines/reference/tsserver/rename/works-with-prefixText-and-suffixText-when-enabled.js +++ b/tests/baselines/reference/tsserver/rename/works-with-prefixText-and-suffixText-when-enabled.js @@ -18,7 +18,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "const x = 0; const o = { x };" @@ -45,6 +45,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js index 0cce66e9dda94..d1b8085ee8531 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js +++ b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -222,6 +222,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/src/node_modules: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module2/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/node_modules/module1/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/file1.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/file1.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/file1.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory diff --git a/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js b/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js index ace932a16e813..facf91fb99468 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js +++ b/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib/package.json' do Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib.d.ts' does not exist. Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/cache/node_modules/@types/lib/index.d.ts Text-1 "export let x = 1" @@ -79,6 +79,21 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/cache/node_modules/@types/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + TI:: [hh:mm:ss:mss] Global cache location '/a/cache', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/cache' TI:: [hh:mm:ss:mss] Trying to find '/a/cache/package.json'... @@ -209,3 +224,8 @@ PolledWatches:: {"pollingInterval":500} /a/lib/lib.d.ts: {"pollingInterval":500} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js b/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js index 72a80533712a4..8d85d0eff003d 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js +++ b/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js @@ -19,7 +19,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.js SVC-1-0 "require(\"b\")" @@ -35,6 +35,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -179,6 +190,11 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js index 230f2a0827ba2..c3c7dfea5c978 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js @@ -164,7 +164,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -302,6 +302,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/product/node_modules: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module2/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/node_modules/module1/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/feature/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/product/test/file4.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/test/src/file3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/product/src/feature/file2.ts 1:: WatchInfo: /user/username/projects/myproject/product/src/feature/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -331,6 +366,44 @@ Timeout callback:: count: 2 5: /user/username/projects/myproject/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module2/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/node_modules/module1/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/feature/file2.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/product/test/file4.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/test/src/file3.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. @@ -341,7 +414,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/user Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -383,3 +456,41 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module2/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/node_modules/module1/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/feature/file2.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/product/test/file4.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/test/src/file3.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js index 191dce4a6fa12..100fb46ca6b3d 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js @@ -116,7 +116,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -240,6 +240,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/src/node_modules: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module2/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/node_modules/module1/index.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/src/file2.ts 1:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -255,13 +282,41 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module2/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/node_modules/module1/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/src/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/src/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -301,3 +356,31 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/module2/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/node_modules/module1/index.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js index b02d2e3a0aac0..3dd8a141aaf17 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js @@ -184,7 +184,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -277,6 +277,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/product/src/feature: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/module2/index.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/node_modules/module1/index.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/src/feature/file2.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/product/test/file4.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/test/src/file3.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/product/src/feature/file2.ts 1:: WatchInfo: /user/username/projects/myproject/product/src/feature/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -306,6 +341,44 @@ Timeout callback:: count: 2 5: /dev/null/inferredProject1* *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/module2/index.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/node_modules/module1/index.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/src/feature/file2.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/product/test/file4.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/test/src/file3.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Reusing resolution of module './feature/file2' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/src/feature/file2.ts'. @@ -319,7 +392,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/user Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -361,3 +434,41 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/module2/index.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/node_modules/module1/index.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/src/feature/file2.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/product/test/file4.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/product/test/src/file3.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js index 68a4c16f7f827..7b17fe05b5042 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js @@ -148,7 +148,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /users/username/projects/node_modules/moduleX/index.d.ts Text-1 "export const x = 10;" @@ -319,3 +319,26 @@ FsWatchesRecursive:: {} /users/username/projects/node_modules: *new* {} + +Projects:: +/users/username/projects/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/app/appA.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/app/tsconfig.json +/users/username/projects/app/appB.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/app/tsconfig.json *default* +/users/username/projects/common/moduleB.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/app/tsconfig.json +/users/username/projects/node_modules/moduleX/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js index 4208c6bbd402b..d56a8e9180d3e 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js +++ b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/tem Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -88,6 +88,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/projects/temp/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -251,6 +266,11 @@ Timeout callback:: count: 3 12: *ensureProjectForOpenFiles* *new* 14: /dev/null/inferredProject1*FailedLookupInvalidation *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -258,7 +278,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/tem Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -304,6 +324,25 @@ Timeout callback:: count: 1 14: /dev/null/inferredProject1*FailedLookupInvalidation *deleted* 15: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/projects/temp/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/projects/temp/node_modules/@types/pad/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before running Timeout callback:: count: 1 15: *ensureProjectForOpenFiles* diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js index 813570e2e791a..936c0c3ae3351 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -278,6 +278,41 @@ FsWatchesRecursive:: /user/username/projects/myproject/product: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/module2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/feature/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/product/src/module1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/test/file4.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/test/src/file3.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/product/src/feature/file2.ts 1:: WatchInfo: /user/username/projects/myproject/product/src/feature/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -307,6 +342,44 @@ Timeout callback:: count: 2 5: /user/username/projects/myproject/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/module2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/feature/file2.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/product/src/module1.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/test/file4.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/test/src/file3.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module './module1' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. @@ -317,7 +390,7 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '../src/module1}' from '/u Info seq [hh:mm:ss:mss] Reusing resolution of module '../module2' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../../src/module1' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../../module2' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -359,3 +432,41 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/module2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/feature/file2.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/product/src/module1.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/test/file4.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/product/test/src/file3.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js index 05cf271bb013f..fb2f7fdefb7c5 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -220,6 +220,33 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/module1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/src/file2.ts 1:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -235,13 +262,41 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/module1.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module './module1' from '/user/username/projects/myproject/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/module1.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../module2' from '/user/username/projects/myproject/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/module2.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module './module1' from '/user/username/projects/myproject/src/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/module1.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../module2' from '/user/username/projects/myproject/src/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/module2.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -281,3 +336,31 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/module2.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/src/file2.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/module1.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js index 3ace1dcafd1db..990749dc36b37 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js +++ b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /users/username/projects/project/moduleFile.ts Text-1 "export function bar() { };" @@ -204,6 +204,21 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -267,6 +282,21 @@ Timeout callback:: count: 2 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /users/username/projects/project/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json @@ -274,7 +304,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /users/username/projects/project/file1.ts SVC-1-0 "import * as T from './moduleFile'; T.bar();" @@ -340,6 +370,21 @@ FsWatchesRecursive:: /users/username/projects/project: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -429,6 +474,21 @@ Timeout callback:: count: 3 13: /users/username/projects/project/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile1.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /users/username/projects/project/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -457,7 +517,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /users/username/projects/project/moduleFile.ts Text-2 "export function bar() { };" @@ -503,3 +563,18 @@ FsWatches *deleted*:: FsWatchesRecursive:: /users/username/projects/project: {} + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/moduleFile.ts *new* + version: Text-2 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js index 716b216c17b50..1a41fd96f0fa2 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js +++ b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js @@ -28,7 +28,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /users/username/projects/project/moduleFile.ts Text-1 "export function bar() { };" @@ -70,6 +70,21 @@ FsWatches:: /users/username/projects/project/moduleFile.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/users/username/projects/project/moduleFile.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -121,13 +136,28 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/users/username/projects/project/moduleFile.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* + Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1.ts SVC-1-0 "import * as T from './moduleFile'; T.bar();" @@ -186,6 +216,11 @@ FsWatches:: /users/username/projects/project: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -243,6 +278,11 @@ Timeout callback:: count: 2 5: /dev/null/inferredProject1* *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Before request Info seq [hh:mm:ss:mss] request: @@ -265,6 +305,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before running Timeout callback:: count: 2 5: /dev/null/inferredProject1* 6: *ensureProjectForOpenFiles* @@ -276,7 +322,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /users/username/projects/project/moduleFile.ts Text-2 "export function bar() { };" @@ -344,6 +390,21 @@ FsWatches *deleted*:: /users/username/projects/project: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/users/username/projects/project/moduleFile.ts *new* + version: Text-2 + containingProjects: 1 + /dev/null/inferredProject1* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js index 30e37bfb8d325..329eb98be339e 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js @@ -143,7 +143,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules/@types 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /users/username/projects/node_modules/moduleX/index.d.ts Text-1 "export const x = 10;" @@ -317,3 +317,26 @@ FsWatchesRecursive:: {} /users/username/projects/node_modules: *new* {} + +Projects:: +/users/username/projects/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/app/appA.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/app/tsconfig.json +/users/username/projects/app/appB.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/app/tsconfig.json *default* +/users/username/projects/common/moduleB.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/app/tsconfig.json +/users/username/projects/node_modules/moduleX/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/app/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js b/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js index 8bff287187294..a7c1af2acdedd 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js +++ b/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js @@ -26,7 +26,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: project1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project1' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1" @@ -73,6 +73,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'project1' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -88,6 +93,17 @@ FsWatches:: /a/b/app.ts: *new* {} +Projects:: +project1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + project1 + Before request //// [/a/b/tsconfig.json] {} @@ -146,7 +162,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "let x = 1" @@ -206,6 +222,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -230,3 +251,18 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +project1 (External) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /a/b/tsconfig.json *new* + project1 *deleted* diff --git a/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js b/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js index 16f31f5b7f36f..717d3b46b20f0 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js +++ b/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js @@ -28,7 +28,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/file1.ts SVC-1-0 "import * as T from './moduleFile'; T.bar();" @@ -69,6 +69,17 @@ FsWatches:: /users/username/projects/project: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -122,6 +133,11 @@ Timeout callback:: count: 2 2: /dev/null/inferredProject1* *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -144,6 +160,12 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -161,7 +183,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project/moduleFile 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /users/username/projects/project/moduleFile.ts Text-1 "export function bar() { };" @@ -204,3 +226,18 @@ FsWatches:: FsWatches *deleted*:: /users/username/projects/project: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/users/username/projects/project/file1.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/users/username/projects/project/moduleFile.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/resolutionCache/suggestion-diagnostics.js b/tests/baselines/reference/tsserver/resolutionCache/suggestion-diagnostics.js index d980a0909c0c2..0b0717ae1d375 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/suggestion-diagnostics.js +++ b/tests/baselines/reference/tsserver/resolutionCache/suggestion-diagnostics.js @@ -19,7 +19,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.js SVC-1-0 "function f(p) {}" @@ -35,6 +35,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -169,6 +180,11 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/resolutionCache/suppressed-diagnostic-events.js b/tests/baselines/reference/tsserver/resolutionCache/suppressed-diagnostic-events.js index 011e201e338e3..b129a6cb2bbb0 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/suppressed-diagnostic-events.js +++ b/tests/baselines/reference/tsserver/resolutionCache/suppressed-diagnostic-events.js @@ -19,7 +19,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "1 = 2;" @@ -46,6 +46,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js b/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js index b8d3d4c44614c..2970fde645462 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js +++ b/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.ts SVC-1-0 "let x = 1" @@ -207,3 +207,18 @@ FsWatchesRecursive:: {} /a/b/node_modules: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/node_modules/@types/node/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js b/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js index ba6aa89ffcd34..cababd025bec1 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js +++ b/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts SVC-1-0 "let x = 1" @@ -226,3 +226,14 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js index 83a2b41568398..292cbd5d6df49 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js @@ -120,7 +120,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -260,3 +260,26 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/src/typings: *new* {} + +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json +/user/username/projects/myproject/src/somefolder/module1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json +/user/username/projects/myproject/src/somefolder/srcfile.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json *default* +/user/username/projects/myproject/src/typings/electron.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js index 7e860f2f52b3b..1d9df42601b7d 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -262,3 +262,30 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/src/typings: *new* {} + +Projects:: +/user/username/projects/myproject/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json +/user/username/projects/myproject/src/somefolder/module1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json +/user/username/projects/myproject/src/somefolder/srcfile.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json *default* +/user/username/projects/myproject/src/typings/electron.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json +/user/username/projects/myproject/src/typings/node.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js index 05965881f5b76..139bb14d21c87 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -175,6 +175,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/somemodule/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.cache :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.cache :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.cache :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js index 5b387262766ae..7654fc719e728 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -91,6 +91,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/somemodule/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.cache :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.cache :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.cache :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js index 4d69e2a8d1b21..3e125ed19132c 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /users/username/projects/project/app.ts SVC-1-0 "let x = 1;" @@ -210,6 +210,21 @@ FsWatchesRecursive:: /users/username/projects/project/node_modules/@types: *new* {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/node_modules/@types/lib1/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib1/index.d.ts :: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -238,12 +253,27 @@ Timeout callback:: count: 3 5: /users/username/projects/project/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/users/username/projects/project/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/node_modules/@types/lib1/index.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /users/username/projects/project/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /users/username/projects/project/app.ts SVC-1-0 "let x = 1;" @@ -304,6 +334,11 @@ FsWatchesRecursive:: /users/username/projects/project/node_modules/@types: {} +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2 :: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -339,11 +374,16 @@ Timeout callback:: count: 3 12: *ensureProjectForOpenFiles* *new* 14: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /users/username/projects/project/app.ts SVC-1-0 "let x = 1;" @@ -389,3 +429,18 @@ After running Timeout callback:: count: 0 Timeout callback:: count: 0 14: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *deleted* + +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/users/username/projects/project/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/project/tsconfig.json *default* +/users/username/projects/project/node_modules/@types/lib2/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project-with-skipLibCheck-as-false.js b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project-with-skipLibCheck-as-false.js index eeb69401180eb..c066c207aab82 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project-with-skipLibCheck-as-false.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project-with-skipLibCheck-as-false.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1.js 500 unde Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file2.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: project1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project1' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/file1.js Text-1 "let x =1;" @@ -63,6 +63,21 @@ FsWatches:: /a/b/file2.d.ts: *new* {} +Projects:: +project1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file1.js *new* + version: Text-1 + containingProjects: 1 + project1 +/a/b/file2.d.ts *new* + version: Text-1 + containingProjects: 1 + project1 + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -213,6 +228,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'project1' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -238,6 +258,11 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +project1 (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project.js b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project.js index 4eecfef229aa9..09a8b95ec44cd 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-external-project.js @@ -36,7 +36,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1.js 500 unde Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file2.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: project1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project1 Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: project1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'project1' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/file1.js Text-1 "let x =1;" @@ -61,6 +61,21 @@ FsWatches:: /a/b/file2.d.ts: *new* {} +Projects:: +project1 (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file1.js *new* + version: Text-1 + containingProjects: 1 + project1 +/a/b/file2.d.ts *new* + version: Text-1 + containingProjects: 1 + project1 + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -206,6 +221,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project 'project1' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -231,6 +251,11 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +project1 (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js index 4a9be0b8b9756..94a4dda92056d 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js @@ -30,7 +30,7 @@ Info seq [hh:mm:ss:mss] For info: /a/b/file1.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file2.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/b/file2.d.ts Text-1 "\n interface T {\n name: string;\n };\n interface T {\n name: number;\n };" @@ -53,6 +53,21 @@ FsWatches:: /a/b/file2.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file1.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/file2.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -192,6 +207,11 @@ FsWatches:: /a/b/file2.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -233,6 +253,17 @@ FsWatches *deleted*:: /a/b/file2.d.ts: {} +ScriptInfos:: +/a/b/file1.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/file2.d.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -263,7 +294,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/file2.d.ts Text-1 "\n interface T {\n name: string;\n };\n interface T {\n name: number;\n };" @@ -381,6 +412,22 @@ FsWatches:: /a/b/file1.js: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/file1.js *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/a/b/file2.d.ts (Open) + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -460,7 +507,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/file1.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/b/file2.d.ts Text-1 "\n interface T {\n name: string;\n };\n interface T {\n name: number;\n };" @@ -617,6 +664,26 @@ FsWatches *deleted*:: /a/b/file1.js: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file1.js (Open) *changed* + open: true *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* +/a/b/file2.d.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js index c6788c6708c8c..4daa73005afe8 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/jsFile.js SVC-1-0 "let x = 1;\n x === \"string\";" @@ -79,6 +79,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/jsFile.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -136,6 +147,11 @@ Timeout callback:: count: 2 5: /a/jsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/a/jsconfig.json", @@ -294,7 +310,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -384,6 +400,11 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js index da24094b7a124..200e57e2ad800 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/jsFile.js SVC-1-0 "\n // @ts-check\n let x = 1;\n x === \"string\";" @@ -75,6 +75,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/jsFile.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -132,6 +143,11 @@ Timeout callback:: count: 2 5: /a/jsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/a/jsconfig.json", @@ -286,7 +302,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -376,6 +392,11 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-with-tscheck.js b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-with-tscheck.js index 315dc5ae0c6c3..ba090ea046ae9 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-with-tscheck.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-with-tscheck.js @@ -21,7 +21,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/jsFile.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/jsFile.js SVC-1-0 "\n // @ts-check\n let x = 1;\n x === \"string\";" @@ -37,6 +37,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/jsFile.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -171,6 +182,11 @@ PolledWatches:: /a/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js b/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js index 952a8991c2ae3..c5494099eb70d 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/dTsFile1.d.ts 500 u Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/dTsFile2.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/dTsFile1.d.ts Text-1 "\n declare var x: number;" @@ -94,6 +94,25 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/dTsFile1.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/jsconfig.json +/a/dTsFile2.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/jsconfig.json +/a/jsFile.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -155,6 +174,11 @@ Timeout callback:: count: 2 5: /a/jsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/a/jsconfig.json", @@ -311,7 +335,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -405,6 +429,11 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js b/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js index eba632b154f63..9d33f601a8687 100644 --- a/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js +++ b/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /file.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -58,6 +58,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/file.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -195,6 +210,11 @@ FsWatches:: /a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js index 09828fd16b2a9..6fcabaaff3014 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js @@ -92,7 +92,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -211,6 +211,21 @@ FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src: *new* {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -375,6 +390,11 @@ Timeout callback:: count: 2 6: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* 7: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 6: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 7: *ensureProjectForOpenFiles* @@ -391,7 +411,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -476,6 +496,25 @@ FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src: {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* +/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -581,6 +620,11 @@ Timeout callback:: count: 2 9: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* 10: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -603,7 +647,7 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/p } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -662,6 +706,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index 2a06785c40355..bc7f4255e9069 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -215,6 +215,21 @@ FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src: *new* {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js index f47cf13389cb4..ffba824de8fca 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -208,6 +208,25 @@ FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src: *new* {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* +/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -335,6 +354,25 @@ Timeout callback:: count: 2 2: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* +/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -345,7 +383,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -423,6 +461,11 @@ FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src: {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js index 110f63859adc7..1e37c89cb5b90 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -243,6 +243,21 @@ FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-text: *new* {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -422,6 +437,11 @@ Timeout callback:: count: 2 9: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* 10: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 9: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 10: *ensureProjectForOpenFiles* @@ -443,7 +463,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -534,6 +554,25 @@ FsWatchesRecursive *deleted*:: /users/username/projects/myproject/javascript/packages/recognizers-text: {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* +/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -646,6 +685,11 @@ Timeout callback:: count: 2 12: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* 13: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -676,7 +720,7 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/myproject/javascript/p } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -735,6 +779,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index da77713a11a80..2bc33696b5f15 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -244,6 +244,21 @@ FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-text: *new* {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -368,6 +383,11 @@ Timeout callback:: count: 2 5: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 5: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 6: *ensureProjectForOpenFiles* @@ -389,7 +409,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -480,6 +500,25 @@ FsWatchesRecursive *deleted*:: /users/username/projects/myproject/javascript/packages/recognizers-text: {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* +/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js index 59b6be71cd756..1d595b161bad4 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -227,6 +227,25 @@ FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src: *new* {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* +/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -354,6 +373,25 @@ Timeout callback:: count: 2 2: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* +/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *deleted* + Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -370,7 +408,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -452,6 +490,11 @@ FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-text: *new* {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 @@ -580,6 +623,11 @@ Timeout callback:: count: 2 8: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* 9: *ensureProjectForOpenFiles* *new* +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Before running Timeout callback:: count: 2 8: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 9: *ensureProjectForOpenFiles* @@ -601,7 +649,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -692,6 +740,25 @@ FsWatchesRecursive *deleted*:: /users/username/projects/myproject/javascript/packages/recognizers-text: {} +Projects:: +/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *default* +/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts *new* + version: Text-2 + containingProjects: 1 + /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js b/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js index 4daecfc2f3f01..b74f3f6170a55 100644 --- a/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js +++ b/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/a/node_modules/@types 1 undefined Project: /users/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/a/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -194,6 +194,25 @@ FsWatchesRecursive:: /users/username/projects/a: *new* {} +Projects:: +/users/username/projects/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/a/tsconfig.json +/users/username/projects/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/a/tsconfig.json *default* +/users/username/projects/a/c/fc.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -238,7 +257,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/b/node_modules/@types 1 undefined Project: /users/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/b/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -363,6 +382,37 @@ FsWatchesRecursive:: /users/username/projects/b: *new* {} +Projects:: +/users/username/projects/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/users/username/projects/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /users/username/projects/a/tsconfig.json + /users/username/projects/b/tsconfig.json *new* +/users/username/projects/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/a/tsconfig.json *default* +/users/username/projects/a/c/fc.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/a/tsconfig.json +/users/username/projects/b/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/b/tsconfig.json *default* +/users/username/projects/b/c/fc.ts *new* + version: Text-1 + containingProjects: 1 + /users/username/projects/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -427,6 +477,30 @@ FsWatchesRecursive:: /users/username/projects/b: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /users/username/projects/a/tsconfig.json + /users/username/projects/b/tsconfig.json +/users/username/projects/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/a/tsconfig.json *default* +/users/username/projects/a/c/fc.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /users/username/projects/a/tsconfig.json *default* +/users/username/projects/b/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/b/tsconfig.json *default* +/users/username/projects/b/c/fc.ts + version: Text-1 + containingProjects: 1 + /users/username/projects/b/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -491,6 +565,30 @@ FsWatchesRecursive:: /users/username/projects/b: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /users/username/projects/a/tsconfig.json + /users/username/projects/b/tsconfig.json +/users/username/projects/a/a.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/a/tsconfig.json *default* +/users/username/projects/a/c/fc.ts (Open) + version: Text-1 + containingProjects: 1 + /users/username/projects/a/tsconfig.json *default* +/users/username/projects/b/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /users/username/projects/b/tsconfig.json *default* +/users/username/projects/b/c/fc.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /users/username/projects/b/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js index 0e0d7526ba2a3..63de8f38a6b95 100644 --- a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js +++ b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/no Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) c:/temp/replay/axios-src/lib/core/AxiosHeaders.js SVC-1-0 "export const b = 10;\n\n" @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) c:/temp/replay/axios-src/node_modules/follow-redirects/index.js Text-1 "export const x = 10;" @@ -152,6 +152,25 @@ FsWatchesRecursive:: c:/temp/replay/axios-src/node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +c:/temp/replay/axios-src/lib/core/AxiosHeaders.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +c:/temp/replay/axios-src/node_modules/follow-redirects/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -187,6 +206,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +c:/temp/replay/axios-src/lib/core/AxiosHeaders.js (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* +c:/temp/replay/axios-src/node_modules/follow-redirects/index.js + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -230,7 +268,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/no Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) c:/temp/replay/axios-src/lib/core/AxiosHeaders.js SVC-1-1 "export const b = 10;\n//comment\n" @@ -345,6 +383,38 @@ FsWatchesRecursive:: c:/temp/replay/axios-src/node_modules: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + autoImportProviderHost: undefined *changed* +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +c:/temp/replay/axios-src/lib/core/AxiosHeaders.js (Open) *changed* + version: SVC-1-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* +c:/temp/replay/axios-src/lib/core/dispatchRequest.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +c:/temp/replay/axios-src/lib/core/settle.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +c:/temp/replay/axios-src/node_modules/follow-redirects/index.js *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/autoImportProviderProject1* *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -374,7 +444,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/no Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) c:/temp/replay/axios-src/lib/core/AxiosHeaders.js SVC-1-1 "export const b = 10;\n//comment\n" @@ -389,7 +459,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) c:/temp/replay/axios-src/node_modules/follow-redirects/index.js Text-1 "export const x = 10;" @@ -424,6 +494,42 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* + +ScriptInfos:: +c:/temp/replay/axios-src/lib/core/AxiosHeaders.js (Open) *changed* + version: SVC-1-1 + containingProjects: 2 *changed* + /dev/null/inferredProject2* *default* + /dev/null/inferredProject3* *new* +c:/temp/replay/axios-src/lib/core/dispatchRequest.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +c:/temp/replay/axios-src/lib/core/mergeConfig.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* +c:/temp/replay/axios-src/lib/core/settle.js + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +c:/temp/replay/axios-src/node_modules/follow-redirects/index.js *changed* + version: Text-1 + containingProjects: 2 *changed* + /dev/null/inferredProject2* + /dev/null/autoImportProviderProject2* *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -517,6 +623,44 @@ FsWatchesRecursive:: c:/temp/replay/axios-src/node_modules: {} +Projects:: +/dev/null/autoImportProviderProject2* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject2* + +ScriptInfos:: +c:/temp/replay/axios-src/lib/core/AxiosHeaders.js *changed* + open: false *changed* + version: SVC-1-1 + pendingReloadFromDisk: true *changed* + containingProjects: 2 + /dev/null/inferredProject2* + /dev/null/inferredProject3* +c:/temp/replay/axios-src/lib/core/dispatchRequest.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +c:/temp/replay/axios-src/lib/core/mergeConfig.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* +c:/temp/replay/axios-src/lib/core/settle.js + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +c:/temp/replay/axios-src/node_modules/follow-redirects/index.js + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject2* + /dev/null/autoImportProviderProject2* + Before request Info seq [hh:mm:ss:mss] request: @@ -532,7 +676,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: c:/temp/replay/axios-s Info seq [hh:mm:ss:mss] Search path: c:/temp/replay/axios-src/lib/core Info seq [hh:mm:ss:mss] For info: c:/temp/replay/axios-src/lib/core/settle.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) c:/temp/replay/axios-src/lib/core/AxiosHeaders.js Text-2 "export const b = 10;\n\n" @@ -625,3 +769,29 @@ c:/temp/replay/axios-src/lib/core/settle.js: FsWatchesRecursive:: c:/temp/replay/axios-src/node_modules: {} + +ScriptInfos:: +c:/temp/replay/axios-src/lib/core/AxiosHeaders.js *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 2 + /dev/null/inferredProject2* + /dev/null/inferredProject3* +c:/temp/replay/axios-src/lib/core/dispatchRequest.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +c:/temp/replay/axios-src/lib/core/mergeConfig.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject3* *default* +c:/temp/replay/axios-src/lib/core/settle.js (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* *default* +c:/temp/replay/axios-src/node_modules/follow-redirects/index.js + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject2* + /dev/null/autoImportProviderProject2* diff --git a/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js b/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js index 6db42fe053b72..84de33587e94d 100644 --- a/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js +++ b/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pa Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/app/src 1 undefined Project: /packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/app/src 1 undefined Project: /packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /packages/app/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /packages/app/src/index.ts SVC-1-0 "import \"dep/does/not/exist\";" @@ -280,3 +280,14 @@ FsWatchesRecursive:: {} /packages/dep: *new* {} + +Projects:: +/packages/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/packages/app/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /packages/app/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/syntacticServer/files-go-to-inferred-project-and-semantic-operations-fail.js b/tests/baselines/reference/tsserver/syntacticServer/files-go-to-inferred-project-and-semantic-operations-fail.js index ec745f1ef9688..4d7a45c56134e 100644 --- a/tests/baselines/reference/tsserver/syntacticServer/files-go-to-inferred-project-and-semantic-operations-fail.js +++ b/tests/baselines/reference/tsserver/syntacticServer/files-go-to-inferred-project-and-semantic-operations-fail.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -59,6 +59,17 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) *new* + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -99,7 +110,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -116,6 +127,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/b.ts (Open) *new* + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -170,7 +196,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -189,6 +215,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/b.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/c.ts (Open) *new* + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -201,7 +246,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -222,6 +267,29 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/b.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/c.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/node_modules/something/index.d.ts (Open) *new* + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -250,6 +318,31 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/b.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/c.ts *changed* + open: false *changed* + version: Text-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/node_modules/something/index.d.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -275,3 +368,23 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/b.ts *changed* + open: false *changed* + version: Text-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/c.ts + version: Text-0 + pendingReloadFromDisk: true + containingProjects: 0 +/user/username/projects/myproject/node_modules/something/index.d.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/syntacticServer/should-not-include-auto-type-reference-directives.js b/tests/baselines/reference/tsserver/syntacticServer/should-not-include-auto-type-reference-directives.js index 55b2119c50142..f3ec10f70f53f 100644 --- a/tests/baselines/reference/tsserver/syntacticServer/should-not-include-auto-type-reference-directives.js +++ b/tests/baselines/reference/tsserver/syntacticServer/should-not-include-auto-type-reference-directives.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -61,3 +61,14 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) *new* + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/syntacticServer/should-not-include-referenced-files-from-unopened-files.js b/tests/baselines/reference/tsserver/syntacticServer/should-not-include-referenced-files-from-unopened-files.js index 2b480759f4b9c..8dd4841c1b355 100644 --- a/tests/baselines/reference/tsserver/syntacticServer/should-not-include-referenced-files-from-unopened-files.js +++ b/tests/baselines/reference/tsserver/syntacticServer/should-not-include-referenced-files-from-unopened-files.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -59,6 +59,17 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) *new* + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -71,7 +82,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -88,8 +99,23 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/b.ts (Open) *new* + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Before request @@ -114,3 +140,20 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": false } After request + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/myproject/b.ts *changed* + open: false *changed* + version: Text-0 + pendingReloadFromDisk: true *changed* + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* diff --git a/tests/baselines/reference/tsserver/syntacticServer/throws-on-unsupported-commands.js b/tests/baselines/reference/tsserver/syntacticServer/throws-on-unsupported-commands.js index 0fb8b1f5f42f8..44118450eaaa9 100644 --- a/tests/baselines/reference/tsserver/syntacticServer/throws-on-unsupported-commands.js +++ b/tests/baselines/reference/tsserver/syntacticServer/throws-on-unsupported-commands.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: false Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: false Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) NoProgram @@ -59,6 +59,17 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/myproject/a.ts (Open) *new* + version: Text-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js index 09865c035ea9e..4648e77d9b1df 100644 --- a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js +++ b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -164,6 +164,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: *new* {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/app.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/unitTest1.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -190,6 +205,11 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/unitTest1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json @@ -197,7 +217,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -266,6 +286,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/unitTest1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -320,6 +359,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/unitTest1.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -468,6 +522,26 @@ Timeout callback:: count: 2 3: /user/username/projects/myproject/tsconfig.json *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/unitTest1.ts *deleted* + open: false *changed* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + Before running Timeout callback:: count: 2 3: /user/username/projects/myproject/tsconfig.json 4: *ensureProjectForOpenFiles* @@ -478,7 +552,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -544,6 +618,11 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/unitTest1.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -568,6 +647,11 @@ Timeout callback:: count: 2 5: /user/username/projects/myproject/tsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/unitTest1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json @@ -575,7 +659,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -644,6 +728,25 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/unitTest1.ts *new* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -698,6 +801,21 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/app.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/unitTest1.ts (Open) *changed* + open: true *changed* + version: Text-2 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js b/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js index f7f5955bf142d..822310f796d80 100644 --- a/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js +++ b/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/moo.ts 500 undefi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/tsx.tsx 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) /src/dts.d.ts Text-1 "" @@ -255,3 +255,34 @@ FsWatches:: FsWatchesRecursive:: /src: *new* {} + +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/src/dts.d.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/js.js *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/jsx.jsx *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/moo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json +/src/ts.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/src/tsx.tsx *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json diff --git a/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js b/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js index b31a74ddcfd5e..3fa4db4d1d323 100644 --- a/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js +++ b/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.js SVC-1-0 "" @@ -212,3 +212,14 @@ PolledWatches:: FsWatches:: /jsconfig.json: *new* {} + +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js b/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js index 9813d58b44a80..05d603a27fee1 100644 --- a/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js +++ b/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2015.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.dom.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "" @@ -529,3 +529,14 @@ PolledWatches:: FsWatches:: /tsconfig.json: *new* {} + +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/telemetry/does-nothing-for-inferred-project.js b/tests/baselines/reference/tsserver/telemetry/does-nothing-for-inferred-project.js index a0d7b660a05cf..0e68578283e87 100644 --- a/tests/baselines/reference/tsserver/telemetry/does-nothing-for-inferred-project.js +++ b/tests/baselines/reference/tsserver/telemetry/does-nothing-for-inferred-project.js @@ -18,7 +18,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.js SVC-1-0 "" @@ -34,6 +34,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -167,3 +178,8 @@ PolledWatches:: {"pollingInterval":500} /node_modules: *new* {"pollingInterval":500} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js b/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js index 04e400286d297..6e4fa3fedbbf0 100644 --- a/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js +++ b/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.js SVC-1-0 "" @@ -77,6 +77,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -138,6 +149,11 @@ Timeout callback:: count: 2 7: /jsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/jsconfig.json", @@ -296,7 +312,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -385,3 +401,8 @@ FsWatches:: FsWatchesRecursive:: /: {} + +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/telemetry/not-for-ts-file.js b/tests/baselines/reference/tsserver/telemetry/not-for-ts-file.js index 169878ff8d780..a056ccdf5496c 100644 --- a/tests/baselines/reference/tsserver/telemetry/not-for-ts-file.js +++ b/tests/baselines/reference/tsserver/telemetry/not-for-ts-file.js @@ -18,7 +18,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.ts SVC-1-0 "" @@ -44,3 +44,14 @@ After request PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js b/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js index 9486f2d06d5b6..54eadb66245f6 100644 --- a/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js +++ b/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-1-0 "" @@ -188,6 +188,17 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -225,6 +236,13 @@ FsWatchesRecursive:: /a: {} +ScriptInfos:: +/a/a.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /a/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -240,7 +258,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /b.ts :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b.ts SVC-1-0 "" @@ -292,6 +310,24 @@ FsWatchesRecursive *deleted*:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /a/tsconfig.json *deleted* +/b.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -329,7 +365,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Co Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a 1 undefined Config: /a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/a.ts SVC-2-0 "" @@ -435,3 +471,21 @@ FsWatches:: FsWatchesRecursive:: /a: *new* {} + +Projects:: +/a/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/a.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /a/tsconfig.json *default* +/b.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/telemetry/sends-event-for-inferred-project.js b/tests/baselines/reference/tsserver/telemetry/sends-event-for-inferred-project.js index 98a6cbd3912a5..577fe7b6dc08c 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-event-for-inferred-project.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-event-for-inferred-project.js @@ -22,7 +22,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /a.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a.js SVC-1-0 "// @ts-check\nconst x = 0;" @@ -38,6 +38,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -172,6 +183,11 @@ PolledWatches:: /node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -187,7 +203,7 @@ Info seq [hh:mm:ss:mss] Search path: / Info seq [hh:mm:ss:mss] For info: /b.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /b.js SVC-1-0 "" @@ -309,6 +325,24 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/b.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js index 72c662b55a71e..02d3916b659fd 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /hunter2 1 undefi Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /hunter2 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /hunter2/a.ts SVC-1-0 "" @@ -211,3 +211,14 @@ FsWatches:: FsWatchesRecursive:: /hunter2: *new* {} + +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/hunter2/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js index d85b1e257b9f4..1a1dcc35ade3e 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a.js SVC-1-0 "1" @@ -90,6 +90,21 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/b.ts *new* + version: Text-1 + containingProjects: 1 + /jsconfig.json + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -153,6 +168,11 @@ Timeout callback:: count: 2 7: /jsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/jsconfig.json", @@ -308,7 +328,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -399,3 +419,8 @@ FsWatches:: FsWatchesRecursive:: /: {} + +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js index 1891f208cdff2..333f40b7159b5 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a.js SVC-1-0 "" @@ -82,6 +82,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -143,6 +154,11 @@ Timeout callback:: count: 2 7: /jsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/jsconfig.json", @@ -312,7 +328,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -401,3 +417,8 @@ FsWatches:: FsWatchesRecursive:: /: {} + +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js b/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js index 33d5c41beacce..db4cb50082cf6 100644 --- a/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js +++ b/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js @@ -25,7 +25,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /hunter2/foo.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /hunter2/foo.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /hunter2/foo.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /hunter2/foo.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/hunter2/foo.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a.ts Text-1 "" @@ -74,6 +74,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/hunter2/foo.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -89,6 +94,17 @@ FsWatches:: /a.ts: *new* {} +Projects:: +/hunter2/foo.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /hunter2/foo.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -122,6 +138,13 @@ FsWatches *deleted*:: /a.ts: {} +ScriptInfos:: +/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /hunter2/foo.csproj *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -153,6 +176,13 @@ FsWatches:: /a.ts: *new* {} +ScriptInfos:: +/a.ts *changed* + open: false *changed* + version: Text-1 + containingProjects: 1 + /hunter2/foo.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -175,6 +205,7 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /hunter2/foo.csproj WatchType: Missing file +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -190,6 +221,17 @@ FsWatches:: /a.ts: {} +Projects:: +/hunter2/foo.csproj (External) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *changed* + version: Text-1 + containingProjects: 0 *changed* + /hunter2/foo.csproj *deleted* + Before request Info seq [hh:mm:ss:mss] request: @@ -213,7 +255,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /hunter2/foo.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /hunter2/foo.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /hunter2/foo.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /hunter2/foo.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/hunter2/foo.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a.ts Text-1 "" @@ -223,6 +265,11 @@ Info seq [hh:mm:ss:mss] Files (1) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/hunter2/foo.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -238,6 +285,17 @@ FsWatches:: /a.ts: {} +Projects:: +/hunter2/foo.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /hunter2/foo.csproj *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -270,3 +328,10 @@ PolledWatches:: FsWatches *deleted*:: /a.ts: {} + +ScriptInfos:: +/a.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /hunter2/foo.csproj *default* diff --git a/tests/baselines/reference/tsserver/textStorage/should-be-able-to-return-the-file-size-when-a-JS-file-is-too-large-to-load-into-text.js b/tests/baselines/reference/tsserver/textStorage/should-be-able-to-return-the-file-size-when-a-JS-file-is-too-large-to-load-into-text.js index e7f8808270df3..5140a12645e32 100644 --- a/tests/baselines/reference/tsserver/textStorage/should-be-able-to-return-the-file-size-when-a-JS-file-is-too-large-to-load-into-text.js +++ b/tests/baselines/reference/tsserver/textStorage/should-be-able-to-return-the-file-size-when-a-JS-file-is-too-large-to-load-into-text.js @@ -30,7 +30,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/large.js SVC-1-0 "" @@ -46,6 +46,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/large.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -180,6 +191,11 @@ PolledWatches:: /a/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] Skipped loading contents of large file /a/large.js for info /a/large.js: fileSize: 4194305 Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js b/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js index b367aaca37601..00c47547394cd 100644 --- a/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/proje Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/node_modules/@types 1 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules/@types 1 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules/@types 1 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/myproject/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/myproject/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/user/projects/myproject/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -199,3 +199,18 @@ FsWatches:: FsWatchesRecursive:: /users/user/projects/myproject/src: *new* {} + +Projects:: +/users/user/projects/myproject/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /users/user/projects/myproject/src/tsconfig.json +/users/user/projects/myproject/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /users/user/projects/myproject/src/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/typeAquisition/does-not-depend-on-extension.js b/tests/baselines/reference/tsserver/typeAquisition/does-not-depend-on-extension.js index 8410961cb48b4..8df0d2b1b6eac 100644 --- a/tests/baselines/reference/tsserver/typeAquisition/does-not-depend-on-extension.js +++ b/tests/baselines/reference/tsserver/typeAquisition/does-not-depend-on-extension.js @@ -31,7 +31,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/proj.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.d.ts Text-1 "" @@ -54,6 +54,21 @@ FsWatches:: /a/b/app.d.ts: *new* {} +Projects:: +/a/b/proj.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/proj.csproj +/a/b/app.html *new* + version: Text-1 + containingProjects: 1 + /a/b/proj.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -193,6 +208,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/b/proj.csproj' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -212,4 +232,9 @@ FsWatches:: /a/b/app.d.ts: {} +Projects:: +/a/b/proj.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Typine acquisition should be enabled: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js index f985999c114ea..2d3fe263ac8ab 100644 --- a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js +++ b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/typings/node_modules/@types/bar/index.d.ts Text-1 "export let y: number" @@ -88,6 +88,21 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/jsconfig.json *default* +/a/typings/node_modules/@types/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/jsconfig.json + TI:: [hh:mm:ss:mss] Global cache location '/a/typings', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/typings' TI:: [hh:mm:ss:mss] Trying to find '/a/typings/package.json'... @@ -347,3 +362,8 @@ FsWatchesRecursive:: {} /a/b/node_modules: *new* {} + +Projects:: +/a/b/jsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js index 0a36a889931e8..85b07080459a0 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -79,6 +79,29 @@ FsWatches:: /b.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/c.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js index 90688b64cebb4..9ecfb5356c947 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c.ts 500 undefined Wa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -88,6 +88,33 @@ FsWatches:: /c.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/c.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js index dd270e7999b51..5063df339d4e5 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c.ts 500 undefined Wa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -88,6 +88,33 @@ FsWatches:: /c.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/c.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js index b455656cc9e3d..eca58de14f295 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -79,6 +79,29 @@ FsWatches:: /b.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/c.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js index 5ea1345d2f416..b5a86666e24ca 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -79,6 +79,29 @@ FsWatches:: /b.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/c.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js index 8b7c5f775946b..9fd16afd52ad6 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -79,6 +79,29 @@ FsWatches:: /b.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/c.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js index 28443dd4a5d4e..d78fb20ca7af8 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -79,6 +79,29 @@ FsWatches:: /b.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/c.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js index 0d84b756500fd..dd8acd4025ba5 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c.ts 500 undefined Wa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -88,6 +88,33 @@ FsWatches:: /c.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/b.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/c.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js index 2a6d736b58973..b7d03bbe64ff6 100644 --- a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js +++ b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js @@ -103,7 +103,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@types 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@app 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@app 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/test/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -223,6 +223,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/test: *new* {} +Projects:: +/user/username/projects/myproject/test/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json +/user/username/projects/myproject/lib/@app/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json +/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json +/user/username/projects/myproject/test/test.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/lib/@app/lib/index.d.ts 1:: WatchInfo: /user/username/projects/myproject/lib/@app/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/test/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -243,9 +266,33 @@ Timeout callback:: count: 2 1: /user/username/projects/myproject/test/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/myproject/test/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json +/user/username/projects/myproject/lib/@app/lib/index.d.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json +/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json +/user/username/projects/myproject/test/test.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/test/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/test/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -284,3 +331,22 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json +/user/username/projects/myproject/lib/@app/lib/index.d.ts *changed* + version: Text-2 *changed* + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json +/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json +/user/username/projects/myproject/test/test.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/test/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js index 4d1ec2b7fa9a9..fa3e6d2c08202 100644 --- a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js +++ b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/background/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/typedefs/filesystem.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/background/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/background/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/background/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -188,3 +188,22 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject/background: *new* {} + +Projects:: +/user/username/projects/myproject/background/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/background/tsconfig.json +/user/username/projects/myproject/background/a.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/background/tsconfig.json *default* +/user/username/projects/myproject/typedefs/filesystem.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/background/tsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js b/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js index 3ae4d1f26a7b7..bc0e29eb4c294 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js @@ -16,7 +16,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/app.js SVC-1-0 "\n import * as fs from \"fs\";\n import * as cmd from \"commander\n " @@ -32,6 +32,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -181,6 +192,11 @@ PolledWatches:: /a/node_modules: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -203,8 +219,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/app.js (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/app.js SVC-1-1 "\nlet x = 1;\n import * as fs from \"fs\";\n import * as cmd from \"commander\n " diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js index 0374de7ac1f76..e8dc4088bbef8 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /app.js SVC-1-0 "" @@ -80,6 +80,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -149,6 +160,11 @@ Timeout callback:: count: 2 5: /jsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/jsconfig.json", @@ -280,7 +296,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -375,6 +391,11 @@ PendingInstalls callback:: count: 1 "@types/jquery@ts5.4" ] *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor" @@ -405,6 +426,11 @@ Timeout callback:: count: 2 11: /jsconfig.json *new* 12: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + TI:: [hh:mm:ss:mss] Installed typings ["@types/jquery@tsFakeMajor.Minor"] TI:: [hh:mm:ss:mss] Installed typing files ["/tmp/node_modules/@types/jquery/index.d.ts"] TI:: [hh:mm:ss:mss] Sending response: @@ -498,7 +524,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /jsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /app.js SVC-1-0 "" @@ -638,3 +664,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/tmp/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js index bc25dec17fac4..f9c0251faeff4 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.js SVC-1-0 "" @@ -110,6 +110,17 @@ FsWatchesRecursive:: /a/b: *new* {} +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -363,6 +374,11 @@ PendingInstalls callback:: count: 1 "@types/jquery@ts5.4" ] *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor" @@ -452,13 +468,18 @@ Timeout callback:: count: 2 1: /a/b/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /a/b/tsconfig.json 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.js SVC-1-0 "" @@ -586,3 +607,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/data/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js index 32f658b011ef2..16c153ba81f23 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /app.js SVC-1-0 "" @@ -79,6 +79,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -148,6 +159,11 @@ Timeout callback:: count: 2 5: /jsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/jsconfig.json", @@ -281,7 +297,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -378,6 +394,11 @@ PendingInstalls callback:: count: 1 "@types/jquery@ts5.4" ] *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor" @@ -408,6 +429,11 @@ Timeout callback:: count: 2 11: /jsconfig.json *new* 12: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + TI:: [hh:mm:ss:mss] Installed typings ["@types/jquery@tsFakeMajor.Minor"] TI:: [hh:mm:ss:mss] Installed typing files ["/tmp/node_modules/@types/jquery/index.d.ts"] TI:: [hh:mm:ss:mss] Sending response: @@ -501,7 +527,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /jsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /app.js SVC-1-0 "" @@ -641,3 +667,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/tmp/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js index 4923a55b2afee..b445e83f56130 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /node_modules/jquery/index.js Text-1 "" @@ -112,6 +112,21 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/node_modules/jquery/index.js *new* + version: Text-1 + containingProjects: 1 + /jsconfig.json + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -205,6 +220,11 @@ Timeout callback:: count: 2 5: /jsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/jsconfig.json", @@ -325,7 +345,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -420,6 +440,11 @@ PendingInstalls callback:: count: 1 "@types/jquery@ts5.4" ] *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor" @@ -450,6 +475,11 @@ Timeout callback:: count: 2 11: /jsconfig.json *new* 12: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + TI:: [hh:mm:ss:mss] Installed typings ["@types/jquery@tsFakeMajor.Minor"] TI:: [hh:mm:ss:mss] Installed typing files ["/tmp/node_modules/@types/jquery/index.d.ts"] TI:: [hh:mm:ss:mss] Sending response: @@ -549,7 +579,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /jsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /tmp/node_modules/@types/jquery/index.d.ts Text-1 "" @@ -657,3 +687,21 @@ Timeout callback:: count: 2 14: *ensureProjectForOpenFiles* *deleted* 15: /jsconfig.json *new* 16: *ensureProjectForOpenFiles* *new* + +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/node_modules/jquery/index.js *changed* + version: Text-1 + containingProjects: 0 *changed* + /jsconfig.json *deleted* +/tmp/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js index cbb1bcd5b9261..7472429e81ad4 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /app.js SVC-1-0 "" @@ -105,6 +105,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -196,6 +207,11 @@ Timeout callback:: count: 2 5: /jsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/jsconfig.json", @@ -287,7 +303,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/jquery/index.js Text-1 "" @@ -355,7 +371,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -449,6 +465,25 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/node_modules/jquery/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before running PendingInstalls callback:: count: 0 After running PendingInstalls callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js index 88efcce4bfa15..606f5441a3481 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /app.js SVC-1-0 "" @@ -109,6 +109,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -200,6 +211,11 @@ Timeout callback:: count: 2 5: /jsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/jsconfig.json", @@ -297,7 +313,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/jquery/index.js Text-1 "" @@ -367,7 +383,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -484,6 +500,25 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/node_modules/jquery/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before running PendingInstalls callback:: count: 0 After running PendingInstalls callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js index 1663c8a5660bd..95fc26d9c05b2 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js @@ -76,7 +76,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /app.js SVC-1-0 "" @@ -100,6 +100,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -191,6 +202,11 @@ Timeout callback:: count: 2 5: /jsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/jsconfig.json", @@ -274,7 +290,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/jquery/index.js Text-1 "" @@ -341,7 +357,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -442,6 +458,25 @@ PendingInstalls callback:: count: 1 "@types/jquery@ts5.4" ] *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/node_modules/jquery/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor" @@ -472,6 +507,15 @@ Timeout callback:: count: 2 11: /jsconfig.json *new* 12: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/jsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + TI:: [hh:mm:ss:mss] Installed typings ["@types/jquery@tsFakeMajor.Minor"] TI:: [hh:mm:ss:mss] Installed typing files ["/tmp/node_modules/@types/jquery/index.d.ts"] TI:: [hh:mm:ss:mss] Sending response: @@ -565,7 +609,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /jsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /app.js SVC-1-0 "" @@ -719,3 +763,26 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/jsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/node_modules/jquery/index.js + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/tmp/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /jsconfig.json diff --git a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js index 3862e8906e951..e02cef7102c1a 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.js SVC-1-0 "" @@ -64,6 +64,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -224,6 +235,11 @@ PendingInstalls callback:: count: 1 "@types/jquery@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor" @@ -316,13 +332,18 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.js SVC-1-0 "" @@ -461,3 +482,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/data/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js index 516d66956ae74..398fe02c78e03 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js @@ -29,7 +29,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "" @@ -49,6 +49,17 @@ FsWatches:: /a/b/app.ts: *new* {} +Projects:: +/a/app/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -186,6 +197,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -210,6 +226,11 @@ PendingInstalls callback:: count: 1 "@types/jquery@ts5.4" ] *new* +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor" @@ -298,3 +319,8 @@ After running PendingInstalls callback:: count: 0 Timeout callback:: count: 1 1: /a/app/test.csproj *new* + +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js index 87efb3e3f247a..dd7eefd7e1a62 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js @@ -34,7 +34,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.js Text-1 "" @@ -61,6 +61,21 @@ FsWatchesRecursive:: /node_modules: *new* {} +Projects:: +/a/app/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/node_modules/@types/node/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -219,6 +234,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -245,3 +265,8 @@ FsWatches:: FsWatchesRecursive:: /node_modules: {} + +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-auto-typings.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-auto-typings.js index afc1ff009c0b3..568fb0447fa42 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-auto-typings.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-auto-typings.js @@ -28,7 +28,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "" @@ -75,6 +75,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -89,3 +94,14 @@ PolledWatches:: FsWatches:: /a/b/app.ts: *new* {} + +Projects:: +/a/app/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js index 8a894d2f88153..6af2cd2a10c79 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js @@ -29,7 +29,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/jquery.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/jquery.js Text-1 "" @@ -79,6 +79,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -93,3 +98,14 @@ PolledWatches:: FsWatches:: /a/b/jquery.js: *new* {} + +Projects:: +/a/app/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/jquery.js *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js index 281ff72a2592f..0d29222310d8a 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js @@ -34,7 +34,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/jquery.js 500 und Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/jquery.js Text-1 "" @@ -87,6 +87,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -103,3 +108,18 @@ FsWatches:: {} /a/b/jquery.js: *new* {} + +Projects:: +/a/app/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file2.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/b/jquery.js *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js index 14504766afe2b..534e140ba3ab1 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file2.jsx 500 und Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (2) /a/b/file2.jsx Text-1 "" @@ -87,6 +87,21 @@ FsWatches:: /a/b/file3.d.ts: *new* {} +Projects:: +/a/app/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file2.jsx *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/b/file3.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -254,6 +269,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -285,6 +305,11 @@ PendingInstalls callback:: count: 1 "@types/react@ts5.4" ] *new* +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/lodash@tsFakeMajor.Minor", @@ -387,12 +412,17 @@ After running PendingInstalls callback:: count: 0 Timeout callback:: count: 1 1: /a/app/test.csproj *new* +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 1 1: /a/app/test.csproj Info seq [hh:mm:ss:mss] Running: /a/app/test.csproj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (4) /a/b/file2.jsx Text-1 "" @@ -514,3 +544,26 @@ Info seq [hh:mm:ss:mss] event: } TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 0 + +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/file2.jsx + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/b/file3.d.ts + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/lodash/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/react/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js index 6ee4e61a94ce0..c3bae79438223 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js @@ -30,7 +30,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/jquery.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/jquery.js Text-1 "" @@ -50,6 +50,17 @@ FsWatches:: /a/b/jquery.js: *new* {} +Projects:: +/a/app/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/jquery.js *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -220,6 +231,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -243,6 +259,11 @@ FsWatches:: /a/b/jquery.js: {} +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 0 After running PendingInstalls callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js index 4530faece0018..037717236d608 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Excluded '/a/b/commander.js' because it matched command Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -99,6 +99,17 @@ FsWatches:: /a/b/file3.d.ts: *new* {} +Projects:: +/a/app/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file3.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -301,6 +312,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -334,6 +350,11 @@ PendingInstalls callback:: count: 1 "@types/express@ts5.4" ] *new* +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor", @@ -464,12 +485,17 @@ After running PendingInstalls callback:: count: 0 Timeout callback:: count: 1 1: /a/app/test.csproj *new* +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 1 1: /a/app/test.csproj Info seq [hh:mm:ss:mss] Running: /a/app/test.csproj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (5) /a/b/file3.d.ts Text-1 "" @@ -619,3 +645,30 @@ Info seq [hh:mm:ss:mss] event: } TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 0 + +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/file3.d.ts + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/commander/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/express/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/moment/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects.js index 7ca868cf93983..3af2f88995fdc 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects.js @@ -23,7 +23,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.ts Text-1 "" @@ -70,6 +70,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -84,3 +89,14 @@ PolledWatches:: FsWatches:: /a/b/app.ts: *new* {} + +Projects:: +/a/app/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/app.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects-with-disableFilenameBasedTypeAcquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects-with-disableFilenameBasedTypeAcquisition.js index fa91d05fb7f03..329a796d5ef78 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects-with-disableFilenameBasedTypeAcquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects-with-disableFilenameBasedTypeAcquisition.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/jquery.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/jquery.js SVC-1-0 "" @@ -56,6 +56,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/jquery.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -198,6 +209,11 @@ PolledWatches:: /a/lib/lib.d.ts: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 0 After running PendingInstalls callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js index 665b67f9bef59..a89cec762b60f 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js @@ -26,7 +26,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.js SVC-1-0 "" @@ -42,6 +42,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -188,6 +199,11 @@ PendingInstalls callback:: count: 1 "@types/jquery@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor" @@ -292,13 +308,18 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.js SVC-1-0 "" @@ -437,3 +458,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/data/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js index e93c9da6ad433..0b4ea97e853e9 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js @@ -21,7 +21,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.js SVC-1-0 "\n import * as fs from \"fs\";\n import * as commander from \"commander\";\n import * as component from \"@ember/component\";" @@ -37,6 +37,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/cache', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/cache' TI:: [hh:mm:ss:mss] Trying to find '/a/cache/package.json'... @@ -185,6 +196,11 @@ PendingInstalls callback:: count: 1 "@types/node@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/commander@tsFakeMajor.Minor", @@ -300,13 +316,18 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/cache/node_modules/@types/node/index.d.ts Text-1 "export let x: number" @@ -422,3 +443,24 @@ Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 3: /dev/null/inferredProject1* *new* 4: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/cache/node_modules/@types/commander/index.d.ts *new* + version: Text-1 + containingProjects: 0 +/a/cache/node_modules/@types/ember__component/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/a/cache/node_modules/@types/node/index.d.ts *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js index 3f7ad76dbb0cf..e3d6373edfb3a 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js @@ -27,7 +27,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/b/node_modules/fooo/index.d.ts Text-1 "export var x: string;" @@ -50,6 +50,21 @@ FsWatchesRecursive:: /a/b/node_modules: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/node_modules/fooo/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -184,6 +199,11 @@ PendingInstalls callback:: count: 1 "@types/foo@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] Resolution from : /a/b/app.js for "fooo" goes to: { "resolvedFileName": "/a/b/node_modules/fooo/index.d.ts", "extension": ".d.ts", @@ -298,13 +318,18 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) /tmp/node_modules/foo/a/a.d.ts Text-1 "export function a (): void;" @@ -426,8 +451,38 @@ Timeout callback:: count: 2 3: /dev/null/inferredProject1* *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/node_modules/fooo/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/a/a.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/a/b.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/a/c.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/index.d.ts *new* + version: Text-1 + containingProjects: 0 + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /tmp/node_modules/foo/a/a.d.ts Text-1 "export function a (): void;" @@ -544,6 +599,11 @@ Info seq [hh:mm:ss:mss] Resolution from : /a/b/app.js for "fooo" goes to: { } Before request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + Info seq [hh:mm:ss:mss] request: { "command": "applyChangedToOpenFiles", @@ -573,13 +633,43 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + +ScriptInfos:: +/a/b/app.js (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/node_modules/fooo/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/a/a.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/a/b.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/a/c.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/index.d.ts + version: Text-1 + containingProjects: 0 + Before running Timeout callback:: count: 2 3: /dev/null/inferredProject1* 4: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) /tmp/node_modules/foo/a/a.d.ts Text-1 "export function a (): void;" @@ -716,3 +806,8 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js index 432e690b789c9..552187bd70146 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js @@ -23,7 +23,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/b/node_modules/fooo/index.d.ts Text-1 "export var x: string;" @@ -46,6 +46,21 @@ FsWatchesRecursive:: /a/b/node_modules: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/node_modules/fooo/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -180,6 +195,11 @@ PendingInstalls callback:: count: 1 "@types/foo@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] Resolution from : /a/b/app.js for "fooo" goes to: { "resolvedFileName": "/a/b/node_modules/fooo/index.d.ts", "extension": ".d.ts", @@ -285,13 +305,18 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /tmp/node_modules/foo/index.d.ts Text-1 "export function a(): void;" @@ -405,8 +430,26 @@ Timeout callback:: count: 2 3: /dev/null/inferredProject1* *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/node_modules/fooo/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/index.d.ts *new* + version: Text-1 + containingProjects: 0 + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /tmp/node_modules/foo/index.d.ts Text-1 "export function a(): void;" @@ -517,6 +560,25 @@ Info seq [hh:mm:ss:mss] Resolution from : /a/b/app.js for "fooo" goes to: { } Before request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/b/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/node_modules/fooo/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/index.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *new* + Info seq [hh:mm:ss:mss] request: { "command": "applyChangedToOpenFiles", @@ -546,13 +608,32 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + +ScriptInfos:: +/a/b/app.js (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/b/node_modules/fooo/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/foo/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Before running Timeout callback:: count: 2 3: /dev/null/inferredProject1* 4: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /tmp/node_modules/foo/index.d.ts Text-1 "export function a(): void;" @@ -687,3 +768,8 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js b/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js index 2b03783a72d4c..d23e6815c49a7 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/config.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/config.js Text-1 "export let x = 1" @@ -93,6 +93,21 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/jsconfig.json *default* +/a/config.js *new* + version: Text-1 + containingProjects: 1 + /a/jsconfig.json + TI:: [hh:mm:ss:mss] Global cache location '/cache', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/cache' TI:: [hh:mm:ss:mss] Trying to find '/cache/package.json'... @@ -380,6 +395,11 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 0 After running PendingInstalls callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js b/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js index 1b6186f4633fe..8d658562d5928 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js @@ -21,7 +21,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.js SVC-1-0 "var x = 1" @@ -37,6 +37,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/cache/', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/cache/' TI:: [hh:mm:ss:mss] Trying to find '/a/cache/package.json'... @@ -196,6 +207,11 @@ FsWatches:: /a/b/package.json: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/package.json 1:: WatchInfo: /a/b/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location for typing installer TI:: [hh:mm:ss:mss] Got install request { @@ -367,13 +383,18 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/b/app.js SVC-1-0 "var x = 1" @@ -510,3 +531,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/cache/node_modules/@types/commander/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js index 0daad8e19ee5b..a054d5e07c655 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -128,6 +128,21 @@ FsWatchesRecursive:: /user/username/projects/project: *new* {} +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/project/tsconfig.json +/user/username/projects/project/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project/tsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -353,6 +368,11 @@ PendingInstalls callback:: count: 1 "@types/jquery@ts5.4" ] *new* +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor" @@ -442,13 +462,18 @@ Timeout callback:: count: 2 1: /user/username/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /user/username/projects/project/tsconfig.json 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -581,6 +606,25 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/data/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/project/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/project/tsconfig.json +/user/username/projects/project/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -628,6 +672,21 @@ FsWatchesRecursive:: /user/username/projects/project: {} +ScriptInfos:: +/a/data/node_modules/@types/jquery/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/project/tsconfig.json +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/project/tsconfig.json +/user/username/projects/project/app.js *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project/tsconfig.json + Before request Info seq [hh:mm:ss:mss] request: @@ -669,7 +728,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project2/node_modules/@types 1 undefined Project: /user/username/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project2/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project2/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -921,3 +980,30 @@ PendingInstalls callback:: count: 1 2: #2 with arguments:: [ "@types/commander@ts5.4" ] *new* + +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *deleted* + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/project2/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/data/node_modules/@types/jquery/index.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /user/username/projects/project/tsconfig.json *deleted* +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/project2/tsconfig.json *new* + /user/username/projects/project/tsconfig.json *deleted* +/user/username/projects/project/app.js *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/project/tsconfig.json *deleted* +/user/username/projects/project2/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/project2/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js b/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js index 7af660254bf24..5a1b19d6fc87d 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.js SVC-1-0 "" @@ -64,6 +64,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -254,6 +265,11 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 0 After running PendingInstalls callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js b/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js index 22ada980880d0..09f8a9fd45c23 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js @@ -28,7 +28,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/lib 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/lib 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.js SVC-1-0 "\n import * as a from \"foo/a/a\";\n import * as b from \"foo/a/b\";\n import * as c from \"foo/a/c\";\n import * as d from \"@bar/router/\";\n import * as e from \"@bar/common/shared\";\n import * as e from \"@bar/common/apps\";\n import * as f from \"./lib\"\n " @@ -46,6 +46,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -184,8 +195,13 @@ PendingInstalls callback:: count: 1 "@types/foo@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ diff --git a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification-for-error.js b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification-for-error.js index df29f8bd47ea1..76346cd78aeee 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification-for-error.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification-for-error.js @@ -25,7 +25,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/app.js SVC-1-0 "" @@ -41,6 +41,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/cache/', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/cache/' TI:: [hh:mm:ss:mss] Trying to find '/a/cache/package.json'... @@ -178,6 +189,11 @@ PendingInstalls callback:: count: 1 "@types/commander@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/commander@tsFakeMajor.Minor" diff --git a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js index e637585adf065..b8909da8e4ae5 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js @@ -34,7 +34,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/app.js SVC-1-0 "" @@ -50,6 +50,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/cache/', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/cache/' TI:: [hh:mm:ss:mss] Trying to find '/a/cache/package.json'... @@ -187,6 +198,11 @@ PendingInstalls callback:: count: 1 "@types/commander@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/commander@tsFakeMajor.Minor" @@ -282,13 +298,18 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/app.js SVC-1-0 "" @@ -425,3 +446,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/cache/node_modules/@types/commander/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/projectRootPath-is-provided-for-inferred-project.js b/tests/baselines/reference/tsserver/typingsInstaller/projectRootPath-is-provided-for-inferred-project.js index 7c7cab605af1c..2ec4f69a29922 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/projectRootPath-is-provided-for-inferred-project.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/projectRootPath-is-provided-for-inferred-project.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/san2/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /user/username/projects/san2/x.js SVC-1-0 "const aaaaaaav = 1;" @@ -102,6 +102,17 @@ PolledWatches:: /user/username/projects/san2/tsconfig.json: *new* {"pollingInterval":2000} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/san2/x.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/users/username/Library/Caches/typescript/2.7', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/users/username/Library/Caches/typescript/2.7' TI:: [hh:mm:ss:mss] Trying to find '/users/username/Library/Caches/typescript/2.7/package.json'... @@ -268,3 +279,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/san2/tsconfig.json: {"pollingInterval":2000} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js index 2fedeca852021..f7b6971491be1 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/node_modules/commander/index.js Text-1 "module.exports = 0" @@ -81,6 +81,21 @@ FsWatchesRecursive:: /user/username/projects/node_modules: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/user/username/projects/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/node_modules/commander/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + TI:: [hh:mm:ss:mss] Global cache location '/user/username/projects/a/cache', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/user/username/projects/a/cache' TI:: [hh:mm:ss:mss] Trying to find '/user/username/projects/a/cache/package.json'... @@ -231,6 +246,11 @@ PendingInstalls callback:: count: 1 "@types/commander@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/commander@tsFakeMajor.Minor" @@ -330,6 +350,11 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* 2: *ensureProjectForOpenFiles* @@ -338,7 +363,7 @@ Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/cache/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/cache/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/a/cache/node_modules/@types/commander/index.d.ts Text-1 "" @@ -476,3 +501,21 @@ Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 3: /dev/null/inferredProject1* *new* 4: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/user/username/projects/a/b/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/user/username/projects/a/cache/node_modules/@types/commander/index.d.ts *new* + version: Text-1 + containingProjects: 0 +/user/username/projects/node_modules/commander/index.js *changed* + version: Text-1 + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js index c4e80808e3e98..6bc90b62c234c 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /jsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) /app.js SVC-1-0 "" @@ -95,6 +95,17 @@ FsWatchesRecursive:: /: *new* {} +Projects:: +/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -186,6 +197,11 @@ Timeout callback:: count: 2 5: /jsconfig.json *new* 6: *ensureProjectForOpenFiles* *new* +Projects:: +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 0 + TI:: [hh:mm:ss:mss] Got install request { "projectName": "/jsconfig.json", @@ -269,7 +285,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /node_modules/@zkat/cacache/index.js Text-1 "" @@ -336,7 +352,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { @@ -437,6 +453,25 @@ PendingInstalls callback:: count: 1 "@types/zkat__cacache@ts5.4" ] *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + +ScriptInfos:: +/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/node_modules/@zkat/cacache/index.js *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/zkat__cacache@tsFakeMajor.Minor" @@ -467,6 +502,15 @@ Timeout callback:: count: 2 11: /jsconfig.json *new* 12: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/jsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + TI:: [hh:mm:ss:mss] Installed typings ["@types/zkat__cacache@tsFakeMajor.Minor"] TI:: [hh:mm:ss:mss] Installed typing files ["/tmp/node_modules/@types/zkat__cacache/index.d.ts"] TI:: [hh:mm:ss:mss] Sending response: @@ -560,7 +604,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /jsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /app.js SVC-1-0 "" @@ -682,3 +726,25 @@ Timeout callback:: count: 2 14: *ensureProjectForOpenFiles* *deleted* 15: /jsconfig.json *new* 16: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/jsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 2 *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + +ScriptInfos:: +/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /jsconfig.json *default* +/node_modules/@zkat/cacache/index.js + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/tmp/node_modules/@types/zkat__cacache/index.d.ts *new* + version: Text-1 + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js index c4b2af88c95d7..4bf201de89099 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js @@ -34,7 +34,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -53,6 +53,21 @@ FsWatches:: /a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -187,6 +202,11 @@ PendingInstalls callback:: count: 1 "@types/node@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/node@tsFakeMajor.Minor" @@ -294,13 +314,18 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -414,6 +439,24 @@ Timeout callback:: count: 2 3: /dev/null/inferredProject1* *new* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/node/index.d.ts *new* + version: Text-1 + containingProjects: 0 + Before request Info seq [hh:mm:ss:mss] request: @@ -445,13 +488,26 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/b/app.js (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/node/index.d.ts + version: Text-1 + containingProjects: 0 + Before running Timeout callback:: count: 2 3: /dev/null/inferredProject1* 4: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -594,6 +650,25 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/b/app.js (Open) + version: SVC-1-1 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/node/index.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -625,8 +700,27 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + +ScriptInfos:: +/a/b/app.js (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tmp/node_modules/node/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* + Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -736,3 +830,8 @@ Info seq [hh:mm:ss:mss] event: } } After program update + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/should-not-initialize-invaalid-package-names.js b/tests/baselines/reference/tsserver/typingsInstaller/should-not-initialize-invaalid-package-names.js index 1f87f45bbe7f2..37d1a4aa0367e 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/should-not-initialize-invaalid-package-names.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/should-not-initialize-invaalid-package-names.js @@ -25,7 +25,7 @@ Info seq [hh:mm:ss:mss] Search path: /a/b Info seq [hh:mm:ss:mss] For info: /a/b/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/b/app.js SVC-1-0 "let x = 1" @@ -41,6 +41,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/tmp', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/tmp' TI:: [hh:mm:ss:mss] Trying to find '/tmp/package.json'... @@ -187,3 +198,8 @@ PolledWatches:: FsWatches:: /a/b/package.json: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js index 7be357a81da66..fa327605d88c4 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js @@ -25,7 +25,7 @@ Info seq [hh:mm:ss:mss] Search path: /a Info seq [hh:mm:ss:mss] For info: /a/app.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) /a/app.js SVC-1-0 "" @@ -41,6 +41,17 @@ PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/app.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '/a/cache/', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/cache/' TI:: [hh:mm:ss:mss] Trying to find '/a/cache/package.json'... @@ -178,6 +189,11 @@ PendingInstalls callback:: count: 1 "@types/commander@ts5.4" ] *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/commander@tsFakeMajor.Minor" @@ -273,13 +289,18 @@ Timeout callback:: count: 2 1: /dev/null/inferredProject1* *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* 2: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/app.js SVC-1-0 "" @@ -416,3 +437,18 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/app.js (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/cache/node_modules/@types/commander/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js index e8e502bd6efe8..b259fa6a48b75 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] Excluded '/a/b/commander.js' because it matched command Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test1.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test1.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -87,6 +87,17 @@ FsWatches:: /a/b/file3.d.ts: *new* {} +Projects:: +/a/app/test1.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file3.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test1.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -304,6 +315,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -335,6 +351,11 @@ PendingInstalls callback:: count: 1 "@types/commander@ts5.4" ] *new* +Projects:: +/a/app/test1.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -363,7 +384,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test2.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test2.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -482,6 +503,15 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -489,6 +519,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/app/test1.csproj + /a/app/test2.csproj *new* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor", @@ -625,6 +670,14 @@ PendingInstalls callback:: count: 1 "@types/gulp@ts5.4" ] *new* +Projects:: +/a/app/test1.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/a/app/test2.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 + Before running PendingInstalls callback:: count: 1 2: #2 with arguments:: [ "@types/grunt@tsFakeMajor.Minor", @@ -730,13 +783,21 @@ Timeout callback:: count: 2 1: /a/app/test1.csproj 2: /a/app/test2.csproj *new* +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 2 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 1: /a/app/test1.csproj 2: /a/app/test2.csproj Info seq [hh:mm:ss:mss] Running: /a/app/test1.csproj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test1.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (5) /a/b/file3.d.ts Text-1 "" @@ -878,7 +939,7 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery Info seq [hh:mm:ss:mss] Running: /a/app/test2.csproj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test2.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (3) /a/b/file3.d.ts Text-1 "" @@ -994,3 +1055,42 @@ Info seq [hh:mm:ss:mss] event: } TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 0 + +Projects:: +/a/app/test1.csproj (External) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* +/a/app/test2.csproj (External) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/file3.d.ts + version: Text-1 + containingProjects: 2 + /a/app/test1.csproj + /a/app/test2.csproj +/a/data/node_modules/@types/commander/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test1.csproj +/a/data/node_modules/@types/cordova/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test1.csproj +/a/data/node_modules/@types/grunt/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test2.csproj +/a/data/node_modules/@types/gulp/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test2.csproj +/a/data/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test1.csproj +/a/data/node_modules/@types/lodash/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test1.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js index 68705b86c4099..c32b072069c0c 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Excluded '/a/b/commander.js' because it matched command Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -95,6 +95,17 @@ FsWatches:: /a/b/file3.d.ts: *new* {} +Projects:: +/a/app/test.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +/a/b/file3.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj + TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '/a/data' TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... @@ -307,6 +318,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -341,6 +357,11 @@ PendingInstalls callback:: count: 1 "@types/express@ts5.4" ] *new* +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor", @@ -476,12 +497,17 @@ After running PendingInstalls callback:: count: 0 Timeout callback:: count: 1 1: /a/app/test.csproj *new* +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 1 1: /a/app/test.csproj Info seq [hh:mm:ss:mss] Running: /a/app/test.csproj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (6) /a/b/file3.d.ts Text-1 "" @@ -631,3 +657,34 @@ Info seq [hh:mm:ss:mss] event: } TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 0 + +Projects:: +/a/app/test.csproj (External) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/b/file3.d.ts + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/commander/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/express/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/jquery/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/lodash/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj +/a/data/node_modules/@types/moment/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test.csproj diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js index eaed111ce854c..2f7a9bd67550a 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] Excluded '/a/b/commander.js' because it matched command Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test1.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test1.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -140,6 +140,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -158,6 +163,17 @@ FsWatches:: Timeout callback:: count: 1 1: /a/app/test1.csproj::discover *new* +Projects:: +/a/app/test1.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test1.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -186,7 +202,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test2.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test2.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -261,6 +277,15 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -268,6 +293,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/app/test1.csproj + /a/app/test2.csproj *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -299,7 +339,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Excluded '/a/b/lodash.js' because it matched lodash from the legacy safelist Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test2.csproj -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: { @@ -328,6 +368,15 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Scheduling throttled operation: "kind": "discover" } Info seq [hh:mm:ss:mss] TIAdapter:: Deferring request for: /a/app/test2.csproj +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -335,6 +384,14 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before running Timeout callback:: count: 1 1: /a/app/test1.csproj::discover @@ -739,6 +796,14 @@ Timeout callback:: count: 2 2: /a/app/test2.csproj::discover *new* 3: /a/app/test1.csproj *new* +Projects:: +/a/app/test1.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/a/app/test2.csproj (External) + projectStateVersion: 2 + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 2: /a/app/test2.csproj::discover 3: /a/app/test1.csproj @@ -1037,3 +1102,11 @@ After running PendingInstalls callback:: count: 0 Timeout callback:: count: 2 3: /a/app/test1.csproj 4: /a/app/test2.csproj *new* + +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 2 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js index 14244c256caaf..1445845f24b4e 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] Excluded '/a/b/commander.js' because it matched command Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test1.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test1.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -138,6 +138,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -156,6 +161,17 @@ FsWatches:: Timeout callback:: count: 1 1: /a/app/test1.csproj::discover *new* +Projects:: +/a/app/test1.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test1.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -184,7 +200,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test2.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test2.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -259,6 +275,15 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -266,6 +291,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/app/test1.csproj + /a/app/test2.csproj *new* + Before request Info seq [hh:mm:ss:mss] request: @@ -297,7 +337,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Excluded '/a/b/lodash.js' because it matched lodash from the legacy safelist Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test3.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test3.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test3.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test3.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test3.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -373,6 +413,19 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/app/test3.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -380,6 +433,25 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/app/test2.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/app/test3.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /a/app/test1.csproj + /a/app/test2.csproj + /a/app/test3.csproj *new* + Before running Timeout callback:: count: 1 1: /a/app/test1.csproj::discover @@ -764,6 +836,17 @@ Timeout callback:: count: 2 2: /a/app/test2.csproj::discover *new* 3: /a/app/test1.csproj *new* +Projects:: +/a/app/test1.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/a/app/test2.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/app/test3.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 2: /a/app/test2.csproj::discover 3: /a/app/test1.csproj @@ -1033,6 +1116,17 @@ Timeout callback:: count: 3 4: /a/app/test3.csproj::discover *new* 5: /a/app/test2.csproj *new* +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 2 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/a/app/test3.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 + Before running Timeout callback:: count: 3 3: /a/app/test1.csproj 4: /a/app/test3.csproj::discover @@ -1314,3 +1408,14 @@ Timeout callback:: count: 3 3: /a/app/test1.csproj 5: /a/app/test2.csproj 6: /a/app/test3.csproj *new* + +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 2 + projectProgramVersion: 1 +/a/app/test2.csproj (External) + projectStateVersion: 2 + projectProgramVersion: 1 +/a/app/test3.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js index c33b1c91ffc4b..7d817b47632d6 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] Excluded '/a/b/commander.js' because it matched command Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test1.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test1.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -146,6 +146,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -164,6 +169,17 @@ FsWatches:: Timeout callback:: count: 1 1: /a/app/test1.csproj::discover *new* +Projects:: +/a/app/test1.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test1.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -192,7 +208,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test2.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test2.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -267,6 +283,15 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -274,6 +299,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/app/test1.csproj + /a/app/test2.csproj *new* + Before running Timeout callback:: count: 1 1: /a/app/test1.csproj::discover @@ -698,6 +738,14 @@ Timeout callback:: count: 2 2: /a/app/test2.csproj::discover *new* 3: /a/app/test1.csproj *new* +Projects:: +/a/app/test1.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 +/a/app/test2.csproj (External) + projectStateVersion: 1 + projectProgramVersion: 1 + Before running Timeout callback:: count: 2 2: /a/app/test2.csproj::discover 3: /a/app/test1.csproj @@ -964,3 +1012,11 @@ After running PendingInstalls callback:: count: 0 Timeout callback:: count: 2 3: /a/app/test1.csproj 4: /a/app/test2.csproj *new* + +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 2 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js index c51f0098769fe..8c49e8b1b6385 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] Excluded '/a/b/commander.js' because it matched command Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file3.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test1.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test1.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -146,6 +146,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -164,6 +169,17 @@ FsWatches:: Timeout callback:: count: 1 1: /a/app/test1.csproj::discover *new* +Projects:: +/a/app/test1.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/app/test1.csproj + Before running Timeout callback:: count: 1 1: /a/app/test1.csproj::discover @@ -586,6 +602,11 @@ After running PendingInstalls callback:: count: 0 Timeout callback:: count: 1 2: /a/app/test1.csproj *new* +Projects:: +/a/app/test1.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -614,7 +635,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test2.csproj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test2.csproj WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (1) /a/b/file3.d.ts Text-1 "" @@ -689,6 +710,15 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) +Info seq [hh:mm:ss:mss] Files (1) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -700,6 +730,21 @@ Timeout callback:: count: 2 2: /a/app/test1.csproj 3: /a/app/test2.csproj::discover *new* +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 2 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/file3.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /a/app/test1.csproj + /a/app/test2.csproj *new* + Before running Timeout callback:: count: 2 2: /a/app/test1.csproj 3: /a/app/test2.csproj::discover @@ -966,3 +1011,11 @@ After running PendingInstalls callback:: count: 0 Timeout callback:: count: 2 2: /a/app/test1.csproj 4: /a/app/test2.csproj *new* + +Projects:: +/a/app/test1.csproj (External) + projectStateVersion: 2 + projectProgramVersion: 1 +/a/app/test2.csproj (External) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js index b5808e5c6a031..881f6cc85ada1 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.csproj' (External) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -121,6 +121,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.csproj' (External) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -146,6 +151,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/project.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/foo.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/src/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -191,6 +219,25 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/foo.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/src/main.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj *default* + Info seq [hh:mm:ss:mss] [ { "messageText": "File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '**/../*'.", diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js index 4bad2766464e8..baaac8bff1501 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.csproj' (External) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -148,6 +148,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.csproj' (External) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -169,6 +174,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/project.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/foo.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/src/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -209,3 +237,22 @@ FsWatches *deleted*:: FsWatchesRecursive:: /user/username/projects/myproject/src: {} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/foo.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/src/main.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj *default* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js index e25ef485ef357..82206f0f53aa0 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.csproj Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/project.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.csproj' (External) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -119,6 +119,11 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/project.csproj' (External) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] response: { "response": true, @@ -142,6 +147,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/user/username/projects/myproject/project.csproj (External) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/foo.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/src/main.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj + Before request Info seq [hh:mm:ss:mss] request: @@ -184,3 +212,22 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/src: {} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/foo.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/node_modules/bar/index.d.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj +/user/username/projects/myproject/src/main.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/project.csproj *default* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js index 2df63f5c31699..d6db24804277c 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/project/tsconfi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: c:/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: c:/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) c:/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -168,3 +168,22 @@ c:/project/tsconfig.json: *new* FsWatchesRecursive:: c:/project: *new* {} + +Projects:: +c:/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +c:/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + c:/project/tsconfig.json +c:/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + c:/project/tsconfig.json *default* +c:/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + c:/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js index 2df63f5c31699..d6db24804277c 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/project/tsconfi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: c:/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules/@types 1 undefined Project: c:/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) c:/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -168,3 +168,22 @@ c:/project/tsconfig.json: *new* FsWatchesRecursive:: c:/project: *new* {} + +Projects:: +c:/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +c:/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + c:/project/tsconfig.json +c:/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + c:/project/tsconfig.json *default* +c:/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + c:/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js index 889bf40d426b0..ef0b02012019b 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allpr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allproject/node_modules/@types 1 undefined Project: c:/myfolder/allproject/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/node_modules/@types 1 undefined Project: c:/myfolder/allproject/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/node_modules/@types 1 undefined Project: c:/myfolder/allproject/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/myfolder/allproject/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/myfolder/allproject/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/myfolder/allproject/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) c:/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -176,3 +176,22 @@ c:/myfolder/allproject/project/tsconfig.json: *new* FsWatchesRecursive:: c:/myfolder/allproject/project: *new* {} + +Projects:: +c:/myfolder/allproject/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +c:/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + c:/myfolder/allproject/project/tsconfig.json +c:/myfolder/allproject/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + c:/myfolder/allproject/project/tsconfig.json *default* +c:/myfolder/allproject/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + c:/myfolder/allproject/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js index 889bf40d426b0..ef0b02012019b 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allpr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/allproject/node_modules/@types 1 undefined Project: c:/myfolder/allproject/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/node_modules/@types 1 undefined Project: c:/myfolder/allproject/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/myfolder/node_modules/@types 1 undefined Project: c:/myfolder/allproject/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/myfolder/allproject/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/myfolder/allproject/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/myfolder/allproject/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) c:/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -176,3 +176,22 @@ c:/myfolder/allproject/project/tsconfig.json: *new* FsWatchesRecursive:: c:/myfolder/allproject/project: *new* {} + +Projects:: +c:/myfolder/allproject/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +c:/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + c:/myfolder/allproject/project/tsconfig.json +c:/myfolder/allproject/project/file1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + c:/myfolder/allproject/project/tsconfig.json *default* +c:/myfolder/allproject/project/file2.ts *new* + version: Text-1 + containingProjects: 1 + c:/myfolder/allproject/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js index 35228bd287640..e6f5a3a2c4c06 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -131,6 +131,29 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/bar/foo.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + Info seq [hh:mm:ss:mss] [ { "messageText": "File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '**/../*'.", diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js index a45692a5b61d2..51920355326fa 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js @@ -102,7 +102,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -153,3 +153,26 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/bar/foo.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js index aec75bad61e7b..09d005d305a35 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -126,3 +126,26 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/src: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/bar/foo.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/node_modules/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js b/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js index 351399799cae2..da772f6aa0723 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/proj Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/project/node_modules/@types 1 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/node_modules/@types 1 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/node_modules/@types 1 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Volumes/git/projects/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Volumes/git/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Volumes/git/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -172,6 +172,21 @@ FsWatchesRecursive:: /Volumes/git/projects/project: *new* {} +Projects:: +/Volumes/git/projects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/Volumes/git/projects/project/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /Volumes/git/projects/project/tsconfig.json *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /Volumes/git/projects/project/tsconfig.json + Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /Volumes/git/projects/project/Bar.ts :: WatchInfo: /Volumes/git/projects/project 1 undefined Config: /Volumes/git/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /Volumes/git/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -187,10 +202,15 @@ Timeout callback:: count: 2 1: /Volumes/git/projects/project/tsconfig.json *new* 2: *ensureProjectForOpenFiles* *new* +Projects:: +/Volumes/git/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /Volumes/git/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Volumes/git/projects/project/Bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Volumes/git/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Volumes/git/projects/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Volumes/git/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Volumes/git/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -256,3 +276,22 @@ FsWatches:: FsWatchesRecursive:: /Volumes/git/projects/project: {} + +Projects:: +/Volumes/git/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/Volumes/git/projects/project/Bar.ts *new* + version: Text-1 + containingProjects: 1 + /Volumes/git/projects/project/tsconfig.json +/Volumes/git/projects/project/foo.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /Volumes/git/projects/project/tsconfig.json *default* +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /Volumes/git/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js index 84ecc7a6d0845..2487f28955c27 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -85,3 +85,18 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/User/userName/Projects/i/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js index c536fd220e257..f636fcf04e406 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -85,3 +85,18 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/User/userName/Projects/I/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js index eaa463043087a..0594fc8c86fbd 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/Ä°/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -85,3 +85,18 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: *new* {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/User/userName/Projects/Ä°/foo.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js b/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js index 2fc5ad287dc96..63ebb2a7bd015 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/proje Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules 1 undefined Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 undefined Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 undefined Project: /a/username/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -178,6 +178,25 @@ FsWatches:: /a/username/project/tsconfig.json: *new* {} +Projects:: +/a/username/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/username/project/tsconfig.json *default* + After writing ignored file or folder //// [/a/username/project/node_modules/.cache/someFile.d.ts] diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js index 4d67724b25e6d..1b32297b2b373 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -176,6 +176,25 @@ FsWatches:: Timeout callback:: count: 1 1: pollPollingIntervalQueue *new* +Projects:: +/a/username/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/username/project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -230,6 +249,11 @@ Timeout callback:: count: 5 5: pollLowPollingIntervalQueue *new* 6: pollPollingIntervalQueue *new* +Projects:: +/a/username/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -246,7 +270,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -308,3 +332,26 @@ Timeout callback:: count: 4 5: pollLowPollingIntervalQueue 6: pollPollingIntervalQueue 7: *ensureProjectForOpenFiles* *new* + +Projects:: +/a/username/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file1.ts + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file2.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/username/project/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js index b294ef33a36d3..5c08e6baa338e 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -181,6 +181,25 @@ FsWatches:: /a/username/project/tsconfig.json: *new* {} +Projects:: +/a/username/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/username/project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -233,10 +252,15 @@ Timeout callback:: count: 3 2: *ensureProjectForOpenFiles* *new* 3: /a/username/project/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/a/username/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/username/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -308,6 +332,29 @@ FsWatches:: Timeout callback:: count: 0 3: /a/username/project/tsconfig.jsonFailedLookupInvalidation *deleted* +Projects:: +/a/username/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file1.ts + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file2.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/username/project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js index 78a577ea4ef9c..cbe306d20356b 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -181,6 +181,25 @@ FsWatches:: /a/username/project/tsconfig.json: *new* {} +Projects:: +/a/username/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file1.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/username/project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -233,11 +252,16 @@ Timeout callback:: count: 3 2: *ensureProjectForOpenFiles* *new* 3: /a/username/project/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/a/username/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] Running: /a/username/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/username/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -282,6 +306,29 @@ Timeout callback:: count: 1 3: /a/username/project/tsconfig.jsonFailedLookupInvalidation *deleted* 4: *ensureProjectForOpenFiles* *new* +Projects:: +/a/username/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file1.ts + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file2.ts *new* + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/username/project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js index 42ac818ff874e..5e6edd8944614 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myprojects/pro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) c:/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -67,6 +67,21 @@ FsWatches:: c:/a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +c:/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +c:/myprojects/project/x.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location 'c:/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location 'c:/a/data' TI:: [hh:mm:ss:mss] Trying to find 'c:/a/data/package.json'... @@ -212,6 +227,11 @@ FsWatches:: c:/a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] For files of style //vda1cs4850/myprojects/project/x.js currentDirectory:: //vda1cs4850/ useCaseSensitiveFileNames: false Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist @@ -246,7 +266,7 @@ Info seq [hh:mm:ss:mss] Search path: //vda1cs4850/myprojects/project Info seq [hh:mm:ss:mss] For info: //vda1cs4850/myprojects/project/x.js :: No config files found. Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) //vda1cs4850/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -265,6 +285,21 @@ FsWatches:: //vda1cs4850/a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +//vda1cs4850/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +//vda1cs4850/myprojects/project/x.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '//vda1cs4850/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '//vda1cs4850/a/data' TI:: [hh:mm:ss:mss] Trying to find '//vda1cs4850/a/data/package.json'... @@ -402,6 +437,11 @@ FsWatches:: //vda1cs4850/a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] For files of style //vda1cs4850/c$/myprojects/project/x.js currentDirectory:: //vda1cs4850/ useCaseSensitiveFileNames: false Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist @@ -442,7 +482,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/m Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) //vda1cs4850/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -471,6 +511,21 @@ FsWatches:: //vda1cs4850/a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +//vda1cs4850/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +//vda1cs4850/c$/myprojects/project/x.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '//vda1cs4850/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '//vda1cs4850/a/data' TI:: [hh:mm:ss:mss] Trying to find '//vda1cs4850/a/data/package.json'... @@ -616,6 +671,11 @@ FsWatches:: //vda1cs4850/a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] For files of style c:/users/username/myprojects/project/x.js currentDirectory:: c:/ useCaseSensitiveFileNames: false Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist @@ -656,7 +716,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/users/username Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/users/username/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/users/username/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/users/username/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) c:/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -685,6 +745,21 @@ FsWatches:: c:/a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +c:/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +c:/users/username/myprojects/project/x.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location 'c:/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location 'c:/a/data' TI:: [hh:mm:ss:mss] Trying to find 'c:/a/data/package.json'... @@ -830,6 +905,11 @@ FsWatches:: c:/a/lib/lib.d.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + Info seq [hh:mm:ss:mss] For files of style //vda1cs4850/c$/users/username/myprojects/project/x.js currentDirectory:: //vda1cs4850/ useCaseSensitiveFileNames: false Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist @@ -870,7 +950,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/u Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) //vda1cs4850/a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -899,6 +979,21 @@ FsWatches:: //vda1cs4850/a/lib/lib.d.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + +ScriptInfos:: +//vda1cs4850/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +//vda1cs4850/c$/users/username/myprojects/project/x.js (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + TI:: [hh:mm:ss:mss] Global cache location '//vda1cs4850/a/data', safe file path '/safeList.json', types map path /typesMap.json TI:: [hh:mm:ss:mss] Processing cache location '//vda1cs4850/a/data' TI:: [hh:mm:ss:mss] Trying to find '//vda1cs4850/a/data/package.json'... @@ -1043,3 +1138,8 @@ PolledWatches:: FsWatches:: //vda1cs4850/a/lib/lib.d.ts: {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js index d99ab38883783..42299c3efe3c4 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somer Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src/node_modules/@types 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/workspaces/somerepo/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -181,6 +181,25 @@ FsWatches:: /workspaces/somerepo/src/tsconfig.json: *new* {"inode":4} +Projects:: +/workspaces/somerepo/src/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /workspaces/somerepo/src/tsconfig.json +/workspaces/somerepo/node_modules/@types/random-seed/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /workspaces/somerepo/src/tsconfig.json +/workspaces/somerepo/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /workspaces/somerepo/src/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -323,6 +342,25 @@ Timeout callback:: count: 4 15: timerToUpdateChildWatches *new* 16: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/workspaces/somerepo/src/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /workspaces/somerepo/src/tsconfig.json +/workspaces/somerepo/node_modules/@types/random-seed/index.d.ts *deleted* + version: Text-1 + containingProjects: 0 *changed* + /workspaces/somerepo/src/tsconfig.json *deleted* +/workspaces/somerepo/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /workspaces/somerepo/src/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "geterr", @@ -357,7 +395,7 @@ Before running Timeout callback:: count: 5 Invoking Timeout callback:: timeoutId:: 17:: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json Version: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/workspaces/somerepo/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -391,6 +429,11 @@ Timeout callback:: count: 3 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/workspaces/somerepo/src/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck @@ -511,6 +554,11 @@ Timeout callback:: count: 3 25: *ensureProjectForOpenFiles* *new* 26: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* +Projects:: +/workspaces/somerepo/src/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + Before request //// [/workspaces/somerepo/node_modules/@types/random-seed/index.d.ts] Inode:: 16 export function randomSeed(): string; @@ -583,7 +631,7 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/workspaces/somerepo/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -622,6 +670,25 @@ Timeout callback:: count: 3 Immedidate callback:: count: 1 5: semanticCheck *new* +Projects:: +/workspaces/somerepo/src/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /workspaces/somerepo/src/tsconfig.json +/workspaces/somerepo/node_modules/@types/random-seed/index.d.ts *new* + version: Text-2 + containingProjects: 1 + /workspaces/somerepo/src/tsconfig.json +/workspaces/somerepo/src/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /workspaces/somerepo/src/tsconfig.json *default* + Before running Immedidate callback:: count: 1 5: semanticCheck @@ -710,3 +777,8 @@ Timeout callback:: count: 3 36: /workspaces/somerepo/src/tsconfig.json *new* 37: *ensureProjectForOpenFiles* *new* 38: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* + +Projects:: +/workspaces/somerepo/src/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 diff --git a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js index f45168b85c7b4..edc8018322315 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -186,3 +186,22 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject: *new* {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* +/user/username/projects/myproject/tsconfig.json *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js index fcba5ecd542f6..610b6af89fbb4 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -194,3 +194,26 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/src: *new* {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/bar/foo.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js index fec3109a0d78b..14923f8fa5636 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -221,3 +221,26 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} + +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/bar/foo.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/node_modules/bar/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json +/user/username/projects/myproject/src/main.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js index bb6f5525b1da9..d8ecf3e64096a 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 {"fallbackPolling":1} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"fallbackPolling":1} WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -189,3 +189,22 @@ PolledWatches:: {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js index 5cbd491bf2b0c..7ad998837444a 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 {"fallbackPolling":1} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"fallbackPolling":1} WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -196,3 +196,22 @@ PolledWatches:: {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js index ac3444c47fe3e..75a9301f4f771 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 {"watchDirectory":0} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"watchDirectory":0} WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -189,3 +189,22 @@ FsWatches:: {} /a/lib/lib.d.ts: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js index 3af58dab95961..6538f64943997 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -170,3 +170,22 @@ FsWatches:: {} /a/lib/lib.d.ts: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js index 7bb8acb434cfd..796353f9f0b48 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 {"watchFile":4} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"watchFile":4} WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -191,3 +191,22 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js index cb90f5b811d63..5ec148eb8c933 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -172,3 +172,22 @@ FsWatches:: FsWatchesRecursive:: /a/b: *new* {} + +Projects:: +/a/b/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/b/commonFile1.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /a/b/tsconfig.json *default* +/a/b/commonFile2.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /a/b/tsconfig.json From 593af47fa122a8017b956580856faa0e87aab4b6 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Fri, 2 Feb 2024 06:15:05 +0000 Subject: [PATCH 17/56] Update package-lock.json --- package-lock.json | 52 +++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index f75fdd5aa890e..9f7f8ada4007e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1029,9 +1029,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.11.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.14.tgz", - "integrity": "sha512-w3yWCcwULefjP9DmDDsgUskrMoOy5Z8MiwKHr1FvqGPtx7CvJzQvxD7eKpxNtklQxLruxSXWddyeRtyud0RcXQ==", + "version": "20.11.16", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.16.tgz", + "integrity": "sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -2049,9 +2049,9 @@ } }, "node_modules/eslint-plugin-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.1.0.tgz", - "integrity": "sha512-mJzsHndwcHf3MwrtcLQgHaz1fufdkUnzLo6uIULQvko2b7xwAlXzUmezuIsmQNya2lzYwMFgKmhjy9mtx/2qkQ==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.1.1.tgz", + "integrity": "sha512-uxZFxLSq0/i7ajQ9JXymXalBz8JKadh3mofYgQLt7wsPQbRYNsZf/FsGvoc2K4hCI/n/Fcjwts5Uz2kUnpqWwA==", "dev": true, "dependencies": { "chalk": "^4.0.0" @@ -3471,12 +3471,12 @@ } }, "node_modules/playwright": { - "version": "1.41.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.41.1.tgz", - "integrity": "sha512-gdZAWG97oUnbBdRL3GuBvX3nDDmUOuqzV/D24dytqlKt+eI5KbwusluZRGljx1YoJKZ2NRPaeWiFTeGZO7SosQ==", + "version": "1.41.2", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.41.2.tgz", + "integrity": "sha512-v0bOa6H2GJChDL8pAeLa/LZC4feoAMbSQm1/jF/ySsWWoaNItvrMP7GEkvEEFyCTUYKMxjQKaTSg5up7nR6/8A==", "dev": true, "dependencies": { - "playwright-core": "1.41.1" + "playwright-core": "1.41.2" }, "bin": { "playwright": "cli.js" @@ -3489,9 +3489,9 @@ } }, "node_modules/playwright-core": { - "version": "1.41.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.41.1.tgz", - "integrity": "sha512-/KPO5DzXSMlxSX77wy+HihKGOunh3hqndhqeo/nMxfigiKzogn8kfL0ZBDu0L1RKgan5XHCPmn6zXd2NUJgjhg==", + "version": "1.41.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.41.2.tgz", + "integrity": "sha512-VaTvwCA4Y8kxEe+kfm2+uUUw5Lubf38RxF7FpBxLPmGe5sdNkSg5e3ChEigaGrX7qdqT3pt2m/98LiyvU2x6CA==", "dev": true, "bin": { "playwright-core": "cli.js" @@ -5078,9 +5078,9 @@ "dev": true }, "@types/node": { - "version": "20.11.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.14.tgz", - "integrity": "sha512-w3yWCcwULefjP9DmDDsgUskrMoOy5Z8MiwKHr1FvqGPtx7CvJzQvxD7eKpxNtklQxLruxSXWddyeRtyud0RcXQ==", + "version": "20.11.16", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.16.tgz", + "integrity": "sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ==", "dev": true, "requires": { "undici-types": "~5.26.4" @@ -5852,9 +5852,9 @@ } }, "eslint-plugin-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.1.0.tgz", - "integrity": "sha512-mJzsHndwcHf3MwrtcLQgHaz1fufdkUnzLo6uIULQvko2b7xwAlXzUmezuIsmQNya2lzYwMFgKmhjy9mtx/2qkQ==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.1.1.tgz", + "integrity": "sha512-uxZFxLSq0/i7ajQ9JXymXalBz8JKadh3mofYgQLt7wsPQbRYNsZf/FsGvoc2K4hCI/n/Fcjwts5Uz2kUnpqWwA==", "dev": true, "requires": { "chalk": "^4.0.0" @@ -6828,13 +6828,13 @@ "dev": true }, "playwright": { - "version": "1.41.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.41.1.tgz", - "integrity": "sha512-gdZAWG97oUnbBdRL3GuBvX3nDDmUOuqzV/D24dytqlKt+eI5KbwusluZRGljx1YoJKZ2NRPaeWiFTeGZO7SosQ==", + "version": "1.41.2", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.41.2.tgz", + "integrity": "sha512-v0bOa6H2GJChDL8pAeLa/LZC4feoAMbSQm1/jF/ySsWWoaNItvrMP7GEkvEEFyCTUYKMxjQKaTSg5up7nR6/8A==", "dev": true, "requires": { "fsevents": "2.3.2", - "playwright-core": "1.41.1" + "playwright-core": "1.41.2" }, "dependencies": { "fsevents": { @@ -6847,9 +6847,9 @@ } }, "playwright-core": { - "version": "1.41.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.41.1.tgz", - "integrity": "sha512-/KPO5DzXSMlxSX77wy+HihKGOunh3hqndhqeo/nMxfigiKzogn8kfL0ZBDu0L1RKgan5XHCPmn6zXd2NUJgjhg==", + "version": "1.41.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.41.2.tgz", + "integrity": "sha512-VaTvwCA4Y8kxEe+kfm2+uUUw5Lubf38RxF7FpBxLPmGe5sdNkSg5e3ChEigaGrX7qdqT3pt2m/98LiyvU2x6CA==", "dev": true }, "plur": { From db823e36818d5ddc6ae0f5036a4c166ed9431fb4 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Fri, 2 Feb 2024 10:39:56 -0800 Subject: [PATCH 18/56] Add test for issue 54655 (#57275) --- .../declarationEmitArrowFunctionNoRenaming.js | 50 +++++++++++++++ ...arationEmitArrowFunctionNoRenaming.symbols | 64 +++++++++++++++++++ ...clarationEmitArrowFunctionNoRenaming.types | 46 +++++++++++++ .../declarationEmitArrowFunctionNoRenaming.ts | 24 +++++++ 4 files changed, 184 insertions(+) create mode 100644 tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.js create mode 100644 tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.symbols create mode 100644 tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.types create mode 100644 tests/cases/compiler/declarationEmitArrowFunctionNoRenaming.ts diff --git a/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.js b/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.js new file mode 100644 index 0000000000000..7f01dec2e33e9 --- /dev/null +++ b/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.js @@ -0,0 +1,50 @@ +//// [tests/cases/compiler/declarationEmitArrowFunctionNoRenaming.ts] //// + +//// [declarationEmitArrowFunctionNoRenaming.ts] +export type Brand< + Base, + Branding, + ReservedName extends string = "__type__" +> = Base & { [K in ReservedName]: Branding } & { __witness__: Base }; + +export type BoundedInteger< + LowerBound extends number, + UpperBound extends number +> = Brand; + +export const toBoundedInteger = + (bounds: { + lowerBound: LowerBound; + upperBound: UpperBound; + }) => + ( + n: number + ): BoundedInteger => + // Implementation doesn't matter here + ({} as any) + + +//// [declarationEmitArrowFunctionNoRenaming.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.toBoundedInteger = void 0; +var toBoundedInteger = function (bounds) { + return function (n) { + // Implementation doesn't matter here + return ({}); + }; +}; +exports.toBoundedInteger = toBoundedInteger; + + +//// [declarationEmitArrowFunctionNoRenaming.d.ts] +export type Brand = Base & { + [K in ReservedName]: Branding; +} & { + __witness__: Base; +}; +export type BoundedInteger = Brand; +export declare const toBoundedInteger: (bounds: { + lowerBound: LowerBound; + upperBound: UpperBound; +}) => (n: number) => BoundedInteger; diff --git a/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.symbols b/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.symbols new file mode 100644 index 0000000000000..b9299f57efb14 --- /dev/null +++ b/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.symbols @@ -0,0 +1,64 @@ +//// [tests/cases/compiler/declarationEmitArrowFunctionNoRenaming.ts] //// + +=== declarationEmitArrowFunctionNoRenaming.ts === +export type Brand< +>Brand : Symbol(Brand, Decl(declarationEmitArrowFunctionNoRenaming.ts, 0, 0)) + + Base, +>Base : Symbol(Base, Decl(declarationEmitArrowFunctionNoRenaming.ts, 0, 18)) + + Branding, +>Branding : Symbol(Branding, Decl(declarationEmitArrowFunctionNoRenaming.ts, 1, 7)) + + ReservedName extends string = "__type__" +>ReservedName : Symbol(ReservedName, Decl(declarationEmitArrowFunctionNoRenaming.ts, 2, 11)) + +> = Base & { [K in ReservedName]: Branding } & { __witness__: Base }; +>Base : Symbol(Base, Decl(declarationEmitArrowFunctionNoRenaming.ts, 0, 18)) +>K : Symbol(K, Decl(declarationEmitArrowFunctionNoRenaming.ts, 4, 14)) +>ReservedName : Symbol(ReservedName, Decl(declarationEmitArrowFunctionNoRenaming.ts, 2, 11)) +>Branding : Symbol(Branding, Decl(declarationEmitArrowFunctionNoRenaming.ts, 1, 7)) +>__witness__ : Symbol(__witness__, Decl(declarationEmitArrowFunctionNoRenaming.ts, 4, 48)) +>Base : Symbol(Base, Decl(declarationEmitArrowFunctionNoRenaming.ts, 0, 18)) + +export type BoundedInteger< +>BoundedInteger : Symbol(BoundedInteger, Decl(declarationEmitArrowFunctionNoRenaming.ts, 4, 69)) + + LowerBound extends number, +>LowerBound : Symbol(LowerBound, Decl(declarationEmitArrowFunctionNoRenaming.ts, 6, 27)) + + UpperBound extends number +>UpperBound : Symbol(UpperBound, Decl(declarationEmitArrowFunctionNoRenaming.ts, 7, 28)) + +> = Brand; +>Brand : Symbol(Brand, Decl(declarationEmitArrowFunctionNoRenaming.ts, 0, 0)) + +export const toBoundedInteger = +>toBoundedInteger : Symbol(toBoundedInteger, Decl(declarationEmitArrowFunctionNoRenaming.ts, 11, 12)) + + (bounds: { +>LowerBound : Symbol(LowerBound, Decl(declarationEmitArrowFunctionNoRenaming.ts, 12, 3)) +>UpperBound : Symbol(UpperBound, Decl(declarationEmitArrowFunctionNoRenaming.ts, 12, 29)) +>bounds : Symbol(bounds, Decl(declarationEmitArrowFunctionNoRenaming.ts, 12, 57)) + + lowerBound: LowerBound; +>lowerBound : Symbol(lowerBound, Decl(declarationEmitArrowFunctionNoRenaming.ts, 12, 66)) +>LowerBound : Symbol(LowerBound, Decl(declarationEmitArrowFunctionNoRenaming.ts, 12, 3)) + + upperBound: UpperBound; +>upperBound : Symbol(upperBound, Decl(declarationEmitArrowFunctionNoRenaming.ts, 13, 27)) +>UpperBound : Symbol(UpperBound, Decl(declarationEmitArrowFunctionNoRenaming.ts, 12, 29)) + + }) => + ( + n: number +>n : Symbol(n, Decl(declarationEmitArrowFunctionNoRenaming.ts, 16, 3)) + + ): BoundedInteger => +>BoundedInteger : Symbol(BoundedInteger, Decl(declarationEmitArrowFunctionNoRenaming.ts, 4, 69)) +>LowerBound : Symbol(LowerBound, Decl(declarationEmitArrowFunctionNoRenaming.ts, 12, 3)) +>UpperBound : Symbol(UpperBound, Decl(declarationEmitArrowFunctionNoRenaming.ts, 12, 29)) + + // Implementation doesn't matter here + ({} as any) + diff --git a/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.types b/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.types new file mode 100644 index 0000000000000..a115515dccb2b --- /dev/null +++ b/tests/baselines/reference/declarationEmitArrowFunctionNoRenaming.types @@ -0,0 +1,46 @@ +//// [tests/cases/compiler/declarationEmitArrowFunctionNoRenaming.ts] //// + +=== declarationEmitArrowFunctionNoRenaming.ts === +export type Brand< +>Brand : Brand + + Base, + Branding, + ReservedName extends string = "__type__" +> = Base & { [K in ReservedName]: Branding } & { __witness__: Base }; +>__witness__ : Base + +export type BoundedInteger< +>BoundedInteger : BoundedInteger + + LowerBound extends number, + UpperBound extends number +> = Brand; + +export const toBoundedInteger = +>toBoundedInteger : (bounds: { lowerBound: LowerBound; upperBound: UpperBound;}) => (n: number) => BoundedInteger + + (bounds: { +>(bounds: { lowerBound: LowerBound; upperBound: UpperBound; }) => ( n: number ): BoundedInteger => // Implementation doesn't matter here ({} as any) : (bounds: { lowerBound: LowerBound; upperBound: UpperBound;}) => (n: number) => BoundedInteger +>bounds : { lowerBound: LowerBound; upperBound: UpperBound; } + + lowerBound: LowerBound; +>lowerBound : LowerBound + + upperBound: UpperBound; +>upperBound : UpperBound + + }) => + ( +>( n: number ): BoundedInteger => // Implementation doesn't matter here ({} as any) : (n: number) => BoundedInteger + + n: number +>n : number + + ): BoundedInteger => + // Implementation doesn't matter here + ({} as any) +>({} as any) : any +>{} as any : any +>{} : {} + diff --git a/tests/cases/compiler/declarationEmitArrowFunctionNoRenaming.ts b/tests/cases/compiler/declarationEmitArrowFunctionNoRenaming.ts new file mode 100644 index 0000000000000..0d464ba7a6db3 --- /dev/null +++ b/tests/cases/compiler/declarationEmitArrowFunctionNoRenaming.ts @@ -0,0 +1,24 @@ +// @strict: true +// @declaration: true + +export type Brand< + Base, + Branding, + ReservedName extends string = "__type__" +> = Base & { [K in ReservedName]: Branding } & { __witness__: Base }; + +export type BoundedInteger< + LowerBound extends number, + UpperBound extends number +> = Brand; + +export const toBoundedInteger = + (bounds: { + lowerBound: LowerBound; + upperBound: UpperBound; + }) => + ( + n: number + ): BoundedInteger => + // Implementation doesn't matter here + ({} as any) From 61200368bb440ba8a40641be87c44d875ca31f69 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Fri, 2 Feb 2024 13:20:32 -0800 Subject: [PATCH 19/56] Use loader with extension substitution for package.json main, types, typesVersions (#57261) --- src/compiler/diagnosticMessages.json | 4 - src/compiler/moduleNameResolver.ts | 17 +-- ...odule(moduleresolution=bundler).errors.txt | 20 +++ ...odule(moduleresolution=bundler).trace.json | 99 +++++++++++++++ ...dule(moduleresolution=nodenext).trace.json | 117 ++++++++++++++++++ ...bundlerRelative1(module=esnext).trace.json | 1 - ...ndlerRelative1(module=preserve).trace.json | 1 - ...esolvepackagejsonexports=false).trace.json | 2 - .../non-relative-preserveSymlinks.js | 2 - ...ive-preserves-originalPath-on-cache-hit.js | 2 - ...-relative-uses-originalPath-for-caching.js | 6 +- ...ive-module-name-as-directory-load-index.js | 2 - ...lutionWithExtensions_unexpected.trace.json | 11 +- ...utionWithExtensions_unexpected2.trace.json | 12 +- ...ageRoot_mainFieldInSubDirectory.trace.json | 2 - .../node10Alternateresult_noTypes.trace.json | 7 +- .../reference/node10IsNode_node.trace.json | 2 - .../reference/node10IsNode_node10.trace.json | 2 - .../reference/packageJsonMain.trace.json | 19 ++- .../packageJsonMain_isNonRecursive.trace.json | 3 - ...stic1(moduleresolution=bundler).trace.json | 6 +- ...ostic1(moduleresolution=node16).trace.json | 6 +- ...project-correctly-with-preserveSymlinks.js | 3 - ...-file-from-referenced-project-correctly.js | 3 - ...for-changes-to-package-json-main-fields.js | 9 -- ...t-correctly-with-cts-and-mts-extensions.js | 15 --- ...age-with-indirect-link-moduleCaseChange.js | 2 - ...er-symlinked-package-with-indirect-link.js | 2 - .../tsc/moduleResolution/alternateResult.js | 66 ++++++---- .../moduleResolution/alternateResult.js | 36 ++++-- ...for-changes-to-package-json-main-fields.js | 6 - .../moduleResolution/alternateResult.js | 36 ++++-- .../typesVersions.ambientModules.trace.json | 1 - .../typesVersions.emptyTypes.trace.json | 1 - .../typesVersions.justIndex.trace.json | 1 - .../typesVersions.multiFile.trace.json | 1 - ...VersionsDeclarationEmit.ambient.trace.json | 1 - ...rsionsDeclarationEmit.multiFile.trace.json | 1 - ...it.multiFileBackReferenceToSelf.trace.json | 2 - ...ultiFileBackReferenceToUnmapped.trace.json | 1 - .../reference/typingsLookup4.trace.json | 6 - .../bundler/bundlerDirectoryModule.ts | 21 ++++ 42 files changed, 388 insertions(+), 169 deletions(-) create mode 100644 tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).errors.txt create mode 100644 tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).trace.json create mode 100644 tests/baselines/reference/bundlerDirectoryModule(moduleresolution=nodenext).trace.json create mode 100644 tests/cases/conformance/moduleResolution/bundler/bundlerDirectoryModule.ts diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 344d92f054f58..f3e66173766c2 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -4723,10 +4723,6 @@ "category": "Message", "code": 6080 }, - "File '{0}' has an unsupported extension, so skipping it.": { - "category": "Message", - "code": 6081 - }, "Only 'amd' and 'system' modules are supported alongside --{0}.": { "category": "Error", "code": 6082 diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index eeff8c96c7bbf..d29142c721428 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -2090,7 +2090,6 @@ function loadModuleFromFileNoImplicitExtensions(extensions: Extensions, candidat /** * This function is only ever called with paths written in package.json files - never * module specifiers written in source files - and so it always allows the - * candidate to end with a TS extension (but will also try substituting a JS extension for a TS extension). */ function loadFileNameFromPackageJsonField(extensions: Extensions, candidate: string, onlyRecordFailures: boolean, state: ModuleResolutionState): PathAndExtension | undefined { @@ -2459,15 +2458,9 @@ function loadNodeModuleFromDirectoryWorker(extensions: Extensions, candidate: st } const loader: ResolutionKindSpecificLoader = (extensions, candidate, onlyRecordFailures, state) => { - const fromFile = tryFile(candidate, onlyRecordFailures, state); + const fromFile = loadFileNameFromPackageJsonField(extensions, candidate, onlyRecordFailures, state); if (fromFile) { - const resolved = resolvedIfExtensionMatches(extensions, fromFile); - if (resolved) { - return noPackageId(resolved); - } - if (state.traceEnabled) { - trace(state.host, Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it, fromFile); - } + return noPackageId(fromFile); } // Even if extensions is DtsOnly, we can still look up a .ts file as a result of package.json "types" @@ -2514,12 +2507,6 @@ function loadNodeModuleFromDirectoryWorker(extensions: Extensions, candidate: st } } -/** Resolve from an arbitrarily specified file. Return `undefined` if it has an unsupported extension. */ -function resolvedIfExtensionMatches(extensions: Extensions, path: string, resolvedUsingTsExtension?: boolean): PathAndExtension | undefined { - const ext = tryGetExtensionFromPath(path); - return ext !== undefined && extensionIsOk(extensions, ext) ? { path, ext, resolvedUsingTsExtension } : undefined; -} - /** True if `extension` is one of the supported `extensions`. */ function extensionIsOk(extensions: Extensions, extension: string): boolean { return extensions & Extensions.JavaScript && (extension === Extension.Js || extension === Extension.Jsx || extension === Extension.Mjs || extension === Extension.Cjs) diff --git a/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).errors.txt b/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).errors.txt new file mode 100644 index 0000000000000..251f5168f39c0 --- /dev/null +++ b/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).errors.txt @@ -0,0 +1,20 @@ +error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve' or to 'es2015' or later. +error TS5109: Option 'moduleResolution' must be set to 'NodeNext' (or left unspecified) when option 'module' is set to 'NodeNext'. + + +!!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve' or to 'es2015' or later. +!!! error TS5109: Option 'moduleResolution' must be set to 'NodeNext' (or left unspecified) when option 'module' is set to 'NodeNext'. +==== /app/test.ts (0 errors) ==== + import { test } from '../lib'; + +==== /lib/package.json (0 errors) ==== + { + "main": "./cjs/index.js" + } + +==== /lib/cjs/index.js (0 errors) ==== + export function test() {} + +==== /lib/cjs/index.d.ts (0 errors) ==== + export function test(): void; + \ No newline at end of file diff --git a/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).trace.json b/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).trace.json new file mode 100644 index 0000000000000..c5b363606d123 --- /dev/null +++ b/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).trace.json @@ -0,0 +1,99 @@ +[ + "======== Resolving module '../lib' from '/app/test.ts'. ========", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'import', 'types'.", + "Loading module as file / folder, candidate module location '/lib', target file types: TypeScript, JavaScript, Declaration, JSON.", + "File '/lib.ts' does not exist.", + "File '/lib.tsx' does not exist.", + "File '/lib.d.ts' does not exist.", + "File '/lib.js' does not exist.", + "File '/lib.jsx' does not exist.", + "Found 'package.json' at '/lib/package.json'.", + "'package.json' does not have a 'typesVersions' field.", + "'package.json' does not have a 'typings' field.", + "'package.json' does not have a 'types' field.", + "'package.json' has 'main' field './cjs/index.js' that references '/lib/cjs/index.js'.", + "File name '/lib/cjs/index.js' has a '.js' extension - stripping it.", + "File '/lib/cjs/index.ts' does not exist.", + "File '/lib/cjs/index.tsx' does not exist.", + "File '/lib/cjs/index.d.ts' exists - use it as a name resolution result.", + "======== Module name '../lib' was successfully resolved to '/lib/cjs/index.d.ts'. ========", + "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-es5'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-es5'", + "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-es5' was not resolved. ========", + "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-decorators'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-decorators'", + "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-decorators' was not resolved. ========", + "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-decorators/legacy'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-decorators/legacy'", + "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", + "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-dom'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-dom'", + "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-dom' was not resolved. ========", + "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-webworker/importscripts'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-webworker/importscripts'", + "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", + "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-scripthost'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-scripthost'", + "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" +] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=nodenext).trace.json b/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=nodenext).trace.json new file mode 100644 index 0000000000000..d04a40759ed45 --- /dev/null +++ b/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=nodenext).trace.json @@ -0,0 +1,117 @@ +[ + "File '/app/package.json' does not exist.", + "File '/package.json' does not exist.", + "======== Resolving module '../lib' from '/app/test.ts'. ========", + "Explicitly specified module resolution kind: 'NodeNext'.", + "Resolving in CJS mode with conditions 'require', 'types', 'node'.", + "Loading module as file / folder, candidate module location '/lib', target file types: TypeScript, JavaScript, Declaration.", + "File '/lib.ts' does not exist.", + "File '/lib.tsx' does not exist.", + "File '/lib.d.ts' does not exist.", + "File '/lib.js' does not exist.", + "File '/lib.jsx' does not exist.", + "Found 'package.json' at '/lib/package.json'.", + "'package.json' does not have a 'typesVersions' field.", + "'package.json' does not have a 'typings' field.", + "'package.json' does not have a 'types' field.", + "'package.json' has 'main' field './cjs/index.js' that references '/lib/cjs/index.js'.", + "File name '/lib/cjs/index.js' has a '.js' extension - stripping it.", + "File '/lib/cjs/index.ts' does not exist.", + "File '/lib/cjs/index.tsx' does not exist.", + "File '/lib/cjs/index.d.ts' exists - use it as a name resolution result.", + "======== Module name '../lib' was successfully resolved to '/lib/cjs/index.d.ts'. ========", + "File '/lib/cjs/package.json' does not exist.", + "File '/lib/package.json' exists according to earlier cached lookups.", + "File '/.ts/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", + "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-es5'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-es5'", + "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-es5' was not resolved. ========", + "File '/.ts/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-decorators'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-decorators'", + "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-decorators' was not resolved. ========", + "File '/.ts/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-decorators/legacy'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-decorators/legacy'", + "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", + "File '/.ts/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-dom'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-dom'", + "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-dom' was not resolved. ========", + "File '/.ts/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-webworker/importscripts'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-webworker/importscripts'", + "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", + "File '/.ts/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-scripthost'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-scripthost'", + "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-scripthost' was not resolved. ========", + "File '/.ts/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups." +] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerRelative1(module=esnext).trace.json b/tests/baselines/reference/bundlerRelative1(module=esnext).trace.json index c90d2d5fcf7b5..7cc32c65d7ea1 100644 --- a/tests/baselines/reference/bundlerRelative1(module=esnext).trace.json +++ b/tests/baselines/reference/bundlerRelative1(module=esnext).trace.json @@ -45,7 +45,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field '../foo' that references '/foo'.", - "File '/foo' does not exist.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/foo.ts' does not exist.", "File '/foo.tsx' does not exist.", diff --git a/tests/baselines/reference/bundlerRelative1(module=preserve).trace.json b/tests/baselines/reference/bundlerRelative1(module=preserve).trace.json index c90d2d5fcf7b5..7cc32c65d7ea1 100644 --- a/tests/baselines/reference/bundlerRelative1(module=preserve).trace.json +++ b/tests/baselines/reference/bundlerRelative1(module=preserve).trace.json @@ -45,7 +45,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field '../foo' that references '/foo'.", - "File '/foo' does not exist.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/foo.ts' does not exist.", "File '/foo.tsx' does not exist.", diff --git a/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json b/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json index a7928b925605b..f84220f787e64 100644 --- a/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json +++ b/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json @@ -13,8 +13,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'index.js' that references '/node_modules/lodash/index.js'.", - "File '/node_modules/lodash/index.js' does not exist.", - "Loading module as file / folder, candidate module location '/node_modules/lodash/index.js', target file types: TypeScript, Declaration.", "File name '/node_modules/lodash/index.js' has a '.js' extension - stripping it.", "File '/node_modules/lodash/index.ts' does not exist.", "File '/node_modules/lodash/index.tsx' does not exist.", diff --git a/tests/baselines/reference/moduleResolution/non-relative-preserveSymlinks.js b/tests/baselines/reference/moduleResolution/non-relative-preserveSymlinks.js index b8ffa99a4d13c..410f76711d407 100644 --- a/tests/baselines/reference/moduleResolution/non-relative-preserveSymlinks.js +++ b/tests/baselines/reference/moduleResolution/non-relative-preserveSymlinks.js @@ -22,7 +22,6 @@ Resolution:: { "/app/node_modules/linked.ts", "/app/node_modules/linked.tsx", "/app/node_modules/linked.d.ts", - "/app/node_modules/linked/index", "/app/node_modules/linked/index.ts", "/app/node_modules/linked/index.tsx" ], @@ -54,7 +53,6 @@ Resolution:: { "/app/node_modules/linked.ts", "/app/node_modules/linked.tsx", "/app/node_modules/linked.d.ts", - "/app/node_modules/linked/index", "/app/node_modules/linked/index.ts", "/app/node_modules/linked/index.tsx" ], diff --git a/tests/baselines/reference/moduleResolution/non-relative-preserves-originalPath-on-cache-hit.js b/tests/baselines/reference/moduleResolution/non-relative-preserves-originalPath-on-cache-hit.js index f13c1b45d436a..c43d3b2c0722e 100644 --- a/tests/baselines/reference/moduleResolution/non-relative-preserves-originalPath-on-cache-hit.js +++ b/tests/baselines/reference/moduleResolution/non-relative-preserves-originalPath-on-cache-hit.js @@ -32,7 +32,6 @@ Resolution:: { "/app/node_modules/linked.ts", "/app/node_modules/linked.tsx", "/app/node_modules/linked.d.ts", - "/app/node_modules/linked/index", "/app/node_modules/linked/index.ts", "/app/node_modules/linked/index.tsx" ], @@ -64,7 +63,6 @@ Resolution:: { "/app/node_modules/linked.ts", "/app/node_modules/linked.tsx", "/app/node_modules/linked.d.ts", - "/app/node_modules/linked/index", "/app/node_modules/linked/index.ts", "/app/node_modules/linked/index.tsx", "/app/lib/node_modules/linked/package.json", diff --git a/tests/baselines/reference/moduleResolution/non-relative-uses-originalPath-for-caching.js b/tests/baselines/reference/moduleResolution/non-relative-uses-originalPath-for-caching.js index 8db60837c2da0..06090d52b2f0f 100644 --- a/tests/baselines/reference/moduleResolution/non-relative-uses-originalPath-for-caching.js +++ b/tests/baselines/reference/moduleResolution/non-relative-uses-originalPath-for-caching.js @@ -31,8 +31,7 @@ Resolution:: { "/sub/dir/node_modules/@types/a/index.d.ts", "/sub/node_modules/a.ts", "/sub/node_modules/a.tsx", - "/sub/node_modules/a.d.ts", - "/sub/node_modules/a/index" + "/sub/node_modules/a.d.ts" ], "affectingLocations": [ "/sub/node_modules/a/package.json" @@ -61,8 +60,7 @@ Resolution:: { "/sub/dir/node_modules/@types/a/index.d.ts", "/sub/node_modules/a.ts", "/sub/node_modules/a.tsx", - "/sub/node_modules/a.d.ts", - "/sub/node_modules/a/index" + "/sub/node_modules/a.d.ts" ], "affectingLocations": [ "/sub/node_modules/a/package.json" diff --git a/tests/baselines/reference/moduleResolution/relative-module-name-as-directory-load-index.js b/tests/baselines/reference/moduleResolution/relative-module-name-as-directory-load-index.js index d438ba81df741..8d1f471035885 100644 --- a/tests/baselines/reference/moduleResolution/relative-module-name-as-directory-load-index.js +++ b/tests/baselines/reference/moduleResolution/relative-module-name-as-directory-load-index.js @@ -21,7 +21,6 @@ Resolution:: { "/a/b/foo.ts", "/a/b/foo.tsx", "/a/b/foo.d.ts", - "/c/d", "/c/d.ts", "/c/d.tsx", "/c/d.d.ts", @@ -59,7 +58,6 @@ Resolution:: { "/a/b/foo.ts", "/a/b/foo.tsx", "/a/b/foo.d.ts", - "/c/d", "/c/d.ts", "/c/d.tsx", "/c/d.d.ts", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json index 4cf795b9f1693..3a1310358ecb5 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json @@ -13,8 +13,8 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'normalize.css' that references '/node_modules/normalize.css/normalize.css'.", - "File '/node_modules/normalize.css/normalize.css' exists - use it as a name resolution result.", - "File '/node_modules/normalize.css/normalize.css' has an unsupported extension, so skipping it.", + "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", + "File '/node_modules/normalize.css/normalize.d.css.ts' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/normalize.css/normalize.css', target file types: TypeScript, Declaration.", "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", "File '/node_modules/normalize.css/normalize.d.css.ts' does not exist.", @@ -34,8 +34,7 @@ "File '/node_modules/normalize.css.js' does not exist.", "File '/node_modules/normalize.css.jsx' does not exist.", "'package.json' has 'main' field 'normalize.css' that references '/node_modules/normalize.css/normalize.css'.", - "File '/node_modules/normalize.css/normalize.css' exists - use it as a name resolution result.", - "File '/node_modules/normalize.css/normalize.css' has an unsupported extension, so skipping it.", + "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", "Loading module as file / folder, candidate module location '/node_modules/normalize.css/normalize.css', target file types: JavaScript.", "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", "File '/node_modules/normalize.css/normalize.css.js' does not exist.", @@ -55,8 +54,8 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'normalize.css' that references '/node_modules/normalize.css/normalize.css'.", - "File '/node_modules/normalize.css/normalize.css' exists - use it as a name resolution result.", - "File '/node_modules/normalize.css/normalize.css' has an unsupported extension, so skipping it.", + "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", + "File '/node_modules/normalize.css/normalize.d.css.ts' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/normalize.css/normalize.css', target file types: TypeScript, Declaration.", "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", "File '/node_modules/normalize.css/normalize.d.css.ts' does not exist.", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json index 98b215113d1a3..824c82941bcc0 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json @@ -10,8 +10,10 @@ "'package.json' does not have a 'typesVersions' field.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'foo.js' that references '/node_modules/foo/foo.js'.", - "File '/node_modules/foo/foo.js' exists - use it as a name resolution result.", - "File '/node_modules/foo/foo.js' has an unsupported extension, so skipping it.", + "File name '/node_modules/foo/foo.js' has a '.js' extension - stripping it.", + "File '/node_modules/foo/foo.ts' does not exist.", + "File '/node_modules/foo/foo.tsx' does not exist.", + "File '/node_modules/foo/foo.d.ts' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/foo/foo.js', target file types: TypeScript, Declaration.", "File name '/node_modules/foo/foo.js' has a '.js' extension - stripping it.", "File '/node_modules/foo/foo.ts' does not exist.", @@ -42,8 +44,10 @@ "File '/node_modules/foo.d.ts' does not exist.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'foo.js' that references '/node_modules/foo/foo.js'.", - "File '/node_modules/foo/foo.js' exists - use it as a name resolution result.", - "File '/node_modules/foo/foo.js' has an unsupported extension, so skipping it.", + "File name '/node_modules/foo/foo.js' has a '.js' extension - stripping it.", + "File '/node_modules/foo/foo.ts' does not exist.", + "File '/node_modules/foo/foo.tsx' does not exist.", + "File '/node_modules/foo/foo.d.ts' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/foo/foo.js', target file types: TypeScript, Declaration.", "File name '/node_modules/foo/foo.js' has a '.js' extension - stripping it.", "File '/node_modules/foo/foo.ts' does not exist.", diff --git a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json index 7317c4f07182a..748d82ec5fcaf 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json @@ -11,8 +11,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'src/index.js' that references '/node_modules/foo/src/index.js'.", - "File '/node_modules/foo/src/index.js' does not exist.", - "Loading module as file / folder, candidate module location '/node_modules/foo/src/index.js', target file types: TypeScript, Declaration.", "File name '/node_modules/foo/src/index.js' has a '.js' extension - stripping it.", "File '/node_modules/foo/src/index.ts' does not exist.", "File '/node_modules/foo/src/index.tsx' does not exist.", diff --git a/tests/baselines/reference/node10Alternateresult_noTypes.trace.json b/tests/baselines/reference/node10Alternateresult_noTypes.trace.json index 3135d22e9bc90..94f5d7c7ec567 100644 --- a/tests/baselines/reference/node10Alternateresult_noTypes.trace.json +++ b/tests/baselines/reference/node10Alternateresult_noTypes.trace.json @@ -11,8 +11,10 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field './untyped.js' that references '/node_modules/pkg/untyped.js'.", - "File '/node_modules/pkg/untyped.js' exists - use it as a name resolution result.", - "File '/node_modules/pkg/untyped.js' has an unsupported extension, so skipping it.", + "File name '/node_modules/pkg/untyped.js' has a '.js' extension - stripping it.", + "File '/node_modules/pkg/untyped.ts' does not exist.", + "File '/node_modules/pkg/untyped.tsx' does not exist.", + "File '/node_modules/pkg/untyped.d.ts' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/pkg/untyped.js', target file types: TypeScript, Declaration.", "File name '/node_modules/pkg/untyped.js' has a '.js' extension - stripping it.", "File '/node_modules/pkg/untyped.ts' does not exist.", @@ -32,6 +34,7 @@ "File '/node_modules/pkg.js' does not exist.", "File '/node_modules/pkg.jsx' does not exist.", "'package.json' has 'main' field './untyped.js' that references '/node_modules/pkg/untyped.js'.", + "File name '/node_modules/pkg/untyped.js' has a '.js' extension - stripping it.", "File '/node_modules/pkg/untyped.js' exists - use it as a name resolution result.", "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", "Loading module 'pkg' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/node10IsNode_node.trace.json b/tests/baselines/reference/node10IsNode_node.trace.json index df07b412a5000..7182602f4065d 100644 --- a/tests/baselines/reference/node10IsNode_node.trace.json +++ b/tests/baselines/reference/node10IsNode_node.trace.json @@ -11,8 +11,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'index.js' that references '/node_modules/fancy-lib/index.js'.", - "File '/node_modules/fancy-lib/index.js' does not exist.", - "Loading module as file / folder, candidate module location '/node_modules/fancy-lib/index.js', target file types: TypeScript, Declaration.", "File name '/node_modules/fancy-lib/index.js' has a '.js' extension - stripping it.", "File '/node_modules/fancy-lib/index.ts' does not exist.", "File '/node_modules/fancy-lib/index.tsx' does not exist.", diff --git a/tests/baselines/reference/node10IsNode_node10.trace.json b/tests/baselines/reference/node10IsNode_node10.trace.json index df07b412a5000..7182602f4065d 100644 --- a/tests/baselines/reference/node10IsNode_node10.trace.json +++ b/tests/baselines/reference/node10IsNode_node10.trace.json @@ -11,8 +11,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'index.js' that references '/node_modules/fancy-lib/index.js'.", - "File '/node_modules/fancy-lib/index.js' does not exist.", - "Loading module as file / folder, candidate module location '/node_modules/fancy-lib/index.js', target file types: TypeScript, Declaration.", "File name '/node_modules/fancy-lib/index.js' has a '.js' extension - stripping it.", "File '/node_modules/fancy-lib/index.ts' does not exist.", "File '/node_modules/fancy-lib/index.tsx' does not exist.", diff --git a/tests/baselines/reference/packageJsonMain.trace.json b/tests/baselines/reference/packageJsonMain.trace.json index 304d04b93983b..7a5ae1bf7af59 100644 --- a/tests/baselines/reference/packageJsonMain.trace.json +++ b/tests/baselines/reference/packageJsonMain.trace.json @@ -11,7 +11,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", - "File '/node_modules/foo/oof' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: TypeScript, Declaration.", "File '/node_modules/foo/oof.ts' does not exist.", "File '/node_modules/foo/oof.tsx' does not exist.", @@ -27,7 +26,6 @@ "File '/node_modules/foo.js' does not exist.", "File '/node_modules/foo.jsx' does not exist.", "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", - "File '/node_modules/foo/oof' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: JavaScript.", "File '/node_modules/foo/oof.js' exists - use it as a name resolution result.", "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", @@ -40,7 +38,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", - "File '/node_modules/foo/oof' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: TypeScript, Declaration.", "File '/node_modules/foo/oof.ts' does not exist.", "File '/node_modules/foo/oof.tsx' does not exist.", @@ -64,8 +61,10 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'rab.js' that references '/node_modules/bar/rab.js'.", - "File '/node_modules/bar/rab.js' exists - use it as a name resolution result.", - "File '/node_modules/bar/rab.js' has an unsupported extension, so skipping it.", + "File name '/node_modules/bar/rab.js' has a '.js' extension - stripping it.", + "File '/node_modules/bar/rab.ts' does not exist.", + "File '/node_modules/bar/rab.tsx' does not exist.", + "File '/node_modules/bar/rab.d.ts' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/bar/rab.js', target file types: TypeScript, Declaration.", "File name '/node_modules/bar/rab.js' has a '.js' extension - stripping it.", "File '/node_modules/bar/rab.ts' does not exist.", @@ -85,6 +84,7 @@ "File '/node_modules/bar.js' does not exist.", "File '/node_modules/bar.jsx' does not exist.", "'package.json' has 'main' field 'rab.js' that references '/node_modules/bar/rab.js'.", + "File name '/node_modules/bar/rab.js' has a '.js' extension - stripping it.", "File '/node_modules/bar/rab.js' exists - use it as a name resolution result.", "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", "Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -96,8 +96,10 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'rab.js' that references '/node_modules/bar/rab.js'.", - "File '/node_modules/bar/rab.js' exists - use it as a name resolution result.", - "File '/node_modules/bar/rab.js' has an unsupported extension, so skipping it.", + "File name '/node_modules/bar/rab.js' has a '.js' extension - stripping it.", + "File '/node_modules/bar/rab.ts' does not exist.", + "File '/node_modules/bar/rab.tsx' does not exist.", + "File '/node_modules/bar/rab.d.ts' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/bar/rab.js', target file types: TypeScript, Declaration.", "File name '/node_modules/bar/rab.js' has a '.js' extension - stripping it.", "File '/node_modules/bar/rab.ts' does not exist.", @@ -125,7 +127,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'zab' that references '/node_modules/baz/zab'.", - "File '/node_modules/baz/zab' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/baz/zab', target file types: TypeScript, Declaration.", "File '/node_modules/baz/zab.ts' does not exist.", "File '/node_modules/baz/zab.tsx' does not exist.", @@ -143,7 +144,6 @@ "File '/node_modules/baz.js' does not exist.", "File '/node_modules/baz.jsx' does not exist.", "'package.json' has 'main' field 'zab' that references '/node_modules/baz/zab'.", - "File '/node_modules/baz/zab' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/baz/zab', target file types: JavaScript.", "File '/node_modules/baz/zab.js' does not exist.", "File '/node_modules/baz/zab.jsx' does not exist.", @@ -158,7 +158,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'zab' that references '/node_modules/baz/zab'.", - "File '/node_modules/baz/zab' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/baz/zab', target file types: TypeScript, Declaration.", "File '/node_modules/baz/zab.ts' does not exist.", "File '/node_modules/baz/zab.tsx' does not exist.", diff --git a/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json b/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json index 0630d940392b7..1b4d806fee202 100644 --- a/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json +++ b/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json @@ -11,7 +11,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", - "File '/node_modules/foo/oof' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: TypeScript, Declaration.", "File '/node_modules/foo/oof.ts' does not exist.", "File '/node_modules/foo/oof.tsx' does not exist.", @@ -29,7 +28,6 @@ "File '/node_modules/foo.js' does not exist.", "File '/node_modules/foo.jsx' does not exist.", "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", - "File '/node_modules/foo/oof' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: JavaScript.", "File '/node_modules/foo/oof.js' does not exist.", "File '/node_modules/foo/oof.jsx' does not exist.", @@ -47,7 +45,6 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", - "File '/node_modules/foo/oof' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: TypeScript, Declaration.", "File '/node_modules/foo/oof.ts' does not exist.", "File '/node_modules/foo/oof.tsx' does not exist.", diff --git a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json index 1ee77d07b8fd0..933be781da039 100644 --- a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json @@ -80,8 +80,10 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'index.js' that references '/node_modules/bar/index.js'.", - "File '/node_modules/bar/index.js' exists - use it as a name resolution result.", - "File '/node_modules/bar/index.js' has an unsupported extension, so skipping it.", + "File name '/node_modules/bar/index.js' has a '.js' extension - stripping it.", + "File '/node_modules/bar/index.ts' does not exist.", + "File '/node_modules/bar/index.tsx' does not exist.", + "File '/node_modules/bar/index.d.ts' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/bar/index.js', target file types: TypeScript, Declaration.", "File name '/node_modules/bar/index.js' has a '.js' extension - stripping it.", "File '/node_modules/bar/index.ts' does not exist.", diff --git a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json index b60514374f3d0..61dde263ddf1a 100644 --- a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json +++ b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json @@ -75,8 +75,10 @@ "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", "'package.json' has 'main' field 'index.js' that references '/node_modules/bar/index.js'.", - "File '/node_modules/bar/index.js' exists - use it as a name resolution result.", - "File '/node_modules/bar/index.js' has an unsupported extension, so skipping it.", + "File name '/node_modules/bar/index.js' has a '.js' extension - stripping it.", + "File '/node_modules/bar/index.ts' does not exist.", + "File '/node_modules/bar/index.tsx' does not exist.", + "File '/node_modules/bar/index.d.ts' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/bar/index.js', target file types: TypeScript, Declaration.", "File name '/node_modules/bar/index.js' has a '.js' extension - stripping it.", "File '/node_modules/bar/index.ts' does not exist.", diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index a5ed69cf232bc..167bea0011a6c 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -90,9 +90,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index 5d6238a600b32..537033d44e99e 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -88,9 +88,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 70e0769a5bb3a..206787e7d386d 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -100,9 +100,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. @@ -372,9 +369,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/other.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/other.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/other.js' exists - use it as a name resolution result. -File '/user/username/projects/myproject/node_modules/pkg2/build/other.js' has an unsupported extension, so skipping it. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/other.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/other.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/other.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/other.tsx' does not exist. @@ -457,9 +451,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index deb77b02fb32d..346657af30594 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -105,9 +105,6 @@ Found 'package.json' at '/user/username/projects/myproject/node_modules/pkg2/pac 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. @@ -374,9 +371,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. @@ -475,9 +469,6 @@ Found 'package.json' at '/user/username/projects/myproject/node_modules/pkg2/pac 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. @@ -574,9 +565,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' exists - use it as a name resolution result. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has an unsupported extension, so skipping it. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. @@ -837,9 +825,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.cjs' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs' exists - use it as a name resolution result. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs' has an unsupported extension, so skipping it. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.cjs' has a '.cjs' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.cts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.cts' exists - use it as a name resolution result. diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js index 58fc118cbcf5a..9b09deb1c32b8 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js @@ -118,8 +118,6 @@ File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts' 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'dist/commonjs/index.js' that references '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js'. -File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js' does not exist. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.tsx' does not exist. diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js index b3221b4b43ce5..8fa2d05c7143e 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js @@ -118,8 +118,6 @@ File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.d.ts' 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'dist/commonjs/index.js' that references '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js'. -File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js' does not exist. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.ts' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.tsx' does not exist. diff --git a/tests/baselines/reference/tsc/moduleResolution/alternateResult.js b/tests/baselines/reference/tsc/moduleResolution/alternateResult.js index 1342155ec7cd3..4122151ca0555 100644 --- a/tests/baselines/reference/tsc/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tsc/moduleResolution/alternateResult.js @@ -267,8 +267,10 @@ File '/home/src/projects/project/node_modules/bar/package.json' exists according 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -567,8 +569,10 @@ File '/home/src/projects/project/node_modules/bar/package.json' exists according 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -800,8 +804,10 @@ File '/home/src/projects/project/node_modules/bar/package.json' exists according 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -1035,8 +1041,10 @@ File '/home/src/projects/project/node_modules/bar/package.json' exists according 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -1244,8 +1252,10 @@ File '/home/src/projects/project/node_modules/bar/package.json' exists according 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -2022,8 +2032,10 @@ File '/home/src/projects/project/node_modules/bar2/package.json' exists accordin 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. @@ -2338,8 +2350,10 @@ File '/home/src/projects/project/node_modules/bar2/package.json' exists accordin 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. @@ -2627,8 +2641,10 @@ File '/home/src/projects/project/node_modules/bar2/package.json' exists accordin 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. @@ -2860,8 +2876,10 @@ File '/home/src/projects/project/node_modules/bar2/package.json' exists accordin 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. @@ -3095,8 +3113,10 @@ File '/home/src/projects/project/node_modules/bar2/package.json' exists accordin 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. @@ -3304,8 +3324,10 @@ File '/home/src/projects/project/node_modules/bar2/package.json' exists accordin 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. diff --git a/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js b/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js index 3344f7ee85bc9..0ae3f12b5db49 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js @@ -260,8 +260,10 @@ File '/home/src/projects/project/node_modules/bar/package.json' exists according 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -615,8 +617,10 @@ File '/home/src/projects/project/node_modules/bar/package.json' exists according 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -926,8 +930,10 @@ File '/home/src/projects/project/node_modules/bar/package.json' exists according 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -1760,8 +1766,10 @@ File '/home/src/projects/project/node_modules/bar2/package.json' exists accordin 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. @@ -2321,8 +2329,10 @@ File '/home/src/projects/project/node_modules/bar2/package.json' exists accordin 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. @@ -2632,8 +2642,10 @@ File '/home/src/projects/project/node_modules/bar2/package.json' exists accordin 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. diff --git a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js index 415be11fd33a5..055a34b24ed61 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js @@ -68,8 +68,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' does not exist. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. @@ -207,8 +205,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/other.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/other.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/other.js' does not exist. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/other.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/other.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/other.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/other.tsx' does not exist. @@ -339,8 +335,6 @@ File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. 'package.json' does not have a 'typings' field. 'package.json' does not have a 'types' field. 'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. -File '/user/username/projects/myproject/node_modules/pkg2/build/index.js' does not exist. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/node_modules/pkg2/build/index.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. diff --git a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js index 1819ef93b3cf8..b7a73d7c308ae 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js @@ -287,8 +287,10 @@ Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typesVersions' field. Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -819,8 +821,10 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/packa Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -1480,8 +1484,10 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/packa Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar/index.js'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.js' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.js' has an unsupported extension, so skipping it. +Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.tsx' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.d.ts' does not exist. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar/index.js', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar/index.ts' does not exist. @@ -2797,8 +2803,10 @@ Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typesVersions' field. Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. @@ -3565,8 +3573,10 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/pack Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. @@ -4247,8 +4257,10 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/pack Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'index.js' that references '/home/src/projects/project/node_modules/bar2/index.js'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.js' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.js' has an unsupported extension, so skipping it. +Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.tsx' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.d.ts' does not exist. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/bar2/index.js', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/bar2/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/bar2/index.ts' does not exist. diff --git a/tests/baselines/reference/typesVersions.ambientModules.trace.json b/tests/baselines/reference/typesVersions.ambientModules.trace.json index 404be1ddac69b..7a3ba4bd93a69 100644 --- a/tests/baselines/reference/typesVersions.ambientModules.trace.json +++ b/tests/baselines/reference/typesVersions.ambientModules.trace.json @@ -13,7 +13,6 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "File '/.src/node_modules/ext/ts3.1/index' does not exist.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.", diff --git a/tests/baselines/reference/typesVersions.emptyTypes.trace.json b/tests/baselines/reference/typesVersions.emptyTypes.trace.json index 1860a9288d301..a7adf8491e01d 100644 --- a/tests/baselines/reference/typesVersions.emptyTypes.trace.json +++ b/tests/baselines/reference/typesVersions.emptyTypes.trace.json @@ -15,7 +15,6 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "File '/a/ts3.1/index' does not exist.", "Loading module as file / folder, candidate module location '/a/ts3.1/index', target file types: TypeScript, Declaration.", "File '/a/ts3.1/index.ts' does not exist.", "File '/a/ts3.1/index.tsx' does not exist.", diff --git a/tests/baselines/reference/typesVersions.justIndex.trace.json b/tests/baselines/reference/typesVersions.justIndex.trace.json index c027d7ee5f121..4257e16048aa6 100644 --- a/tests/baselines/reference/typesVersions.justIndex.trace.json +++ b/tests/baselines/reference/typesVersions.justIndex.trace.json @@ -15,7 +15,6 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "File '/a/ts3.1/index' does not exist.", "Loading module as file / folder, candidate module location '/a/ts3.1/index', target file types: TypeScript, Declaration.", "File '/a/ts3.1/index.ts' does not exist.", "File '/a/ts3.1/index.tsx' does not exist.", diff --git a/tests/baselines/reference/typesVersions.multiFile.trace.json b/tests/baselines/reference/typesVersions.multiFile.trace.json index 533725ea68f2d..1ee5210698d73 100644 --- a/tests/baselines/reference/typesVersions.multiFile.trace.json +++ b/tests/baselines/reference/typesVersions.multiFile.trace.json @@ -13,7 +13,6 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "File '/.src/node_modules/ext/ts3.1/index' does not exist.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json index 404be1ddac69b..7a3ba4bd93a69 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json @@ -13,7 +13,6 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "File '/.src/node_modules/ext/ts3.1/index' does not exist.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json index 533725ea68f2d..1ee5210698d73 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json @@ -13,7 +13,6 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "File '/.src/node_modules/ext/ts3.1/index' does not exist.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json index a84c6cc085223..6a22badfbb406 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json @@ -13,7 +13,6 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "File '/.src/node_modules/ext/ts3.1/index' does not exist.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.", @@ -42,7 +41,6 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "File '/.src/node_modules/ext/ts3.1/index' does not exist.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json index 50d0ecbeb1d53..bfdbb3d2beb3d 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json @@ -13,7 +13,6 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern 'index'.", "Trying substitution 'ts3.1/index', candidate module location: 'ts3.1/index'.", - "File '/.src/node_modules/ext/ts3.1/index' does not exist.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", "File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.", diff --git a/tests/baselines/reference/typingsLookup4.trace.json b/tests/baselines/reference/typingsLookup4.trace.json index 7f87e32255fb2..746760f576fd5 100644 --- a/tests/baselines/reference/typingsLookup4.trace.json +++ b/tests/baselines/reference/typingsLookup4.trace.json @@ -24,7 +24,6 @@ "File '/node_modules/@types/kquery.d.ts' does not exist.", "'package.json' does not have a 'typesVersions' field.", "'package.json' has 'typings' field 'kquery' that references '/node_modules/@types/kquery/kquery'.", - "File '/node_modules/@types/kquery/kquery' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/@types/kquery/kquery', target file types: TypeScript, Declaration.", "File '/node_modules/@types/kquery/kquery.ts' does not exist.", "File '/node_modules/@types/kquery/kquery.tsx' does not exist.", @@ -42,7 +41,6 @@ "File '/node_modules/@types/lquery.d.ts' does not exist.", "'package.json' does not have a 'typesVersions' field.", "'package.json' has 'typings' field 'lquery' that references '/node_modules/@types/lquery/lquery'.", - "File '/node_modules/@types/lquery/lquery' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/@types/lquery/lquery', target file types: TypeScript, Declaration.", "File '/node_modules/@types/lquery/lquery.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/lquery/lquery.ts', result '/node_modules/@types/lquery/lquery.ts'.", @@ -58,7 +56,6 @@ "File '/node_modules/@types/mquery.d.ts' does not exist.", "'package.json' does not have a 'typesVersions' field.", "'package.json' has 'typings' field 'mquery' that references '/node_modules/@types/mquery/mquery'.", - "File '/node_modules/@types/mquery/mquery' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/@types/mquery/mquery', target file types: TypeScript, Declaration.", "File '/node_modules/@types/mquery/mquery.ts' does not exist.", "File '/node_modules/@types/mquery/mquery.tsx' does not exist.", @@ -78,7 +75,6 @@ "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/kquery/package.json' exists according to earlier cached lookups.", "'package.json' has 'typings' field 'kquery' that references '/node_modules/@types/kquery/kquery'.", - "File '/node_modules/@types/kquery/kquery' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/@types/kquery/kquery', target file types: TypeScript, Declaration.", "File '/node_modules/@types/kquery/kquery.ts' does not exist.", "File '/node_modules/@types/kquery/kquery.tsx' does not exist.", @@ -89,7 +85,6 @@ "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/lquery/package.json' exists according to earlier cached lookups.", "'package.json' has 'typings' field 'lquery' that references '/node_modules/@types/lquery/lquery'.", - "File '/node_modules/@types/lquery/lquery' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/@types/lquery/lquery', target file types: TypeScript, Declaration.", "File '/node_modules/@types/lquery/lquery.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/lquery/lquery.ts', result '/node_modules/@types/lquery/lquery.ts'.", @@ -98,7 +93,6 @@ "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/mquery/package.json' exists according to earlier cached lookups.", "'package.json' has 'typings' field 'mquery' that references '/node_modules/@types/mquery/mquery'.", - "File '/node_modules/@types/mquery/mquery' does not exist.", "Loading module as file / folder, candidate module location '/node_modules/@types/mquery/mquery', target file types: TypeScript, Declaration.", "File '/node_modules/@types/mquery/mquery.ts' does not exist.", "File '/node_modules/@types/mquery/mquery.tsx' does not exist.", diff --git a/tests/cases/conformance/moduleResolution/bundler/bundlerDirectoryModule.ts b/tests/cases/conformance/moduleResolution/bundler/bundlerDirectoryModule.ts new file mode 100644 index 0000000000000..77055c33ed6d7 --- /dev/null +++ b/tests/cases/conformance/moduleResolution/bundler/bundlerDirectoryModule.ts @@ -0,0 +1,21 @@ +// @module: nodenext +// @moduleResolution: nodenext,bundler +// @noImplicitAny: true +// @noEmit: true +// @traceResolution: true +// @noTypesAndSymbols: true +// @noImplicitReferences: true + +// @Filename: /lib/package.json +{ + "main": "./cjs/index.js" +} + +// @Filename: /lib/cjs/index.js +export function test() {} + +// @Filename: /lib/cjs/index.d.ts +export function test(): void; + +// @Filename: /app/test.ts +import { test } from '../lib'; From 6f1ad5ad8bec5671f7e951a3524b62d82ec4be68 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Sun, 4 Feb 2024 06:14:21 +0000 Subject: [PATCH 20/56] Update package-lock.json --- package-lock.json | 44 ++++++++++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9f7f8ada4007e..85e04845d5fa6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1918,6 +1918,15 @@ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true }, + "node_modules/es-errors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.0.0.tgz", + "integrity": "sha512-yHV74THqMJUyFKkHyN7hyENcEZM3Dj2a2IrdClY+IT4BFQHkIVwlh8s6uZfjsFydMdNHv0F5mWgAA3ajFbsvVQ==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/esbuild": { "version": "0.20.0", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.0.tgz", @@ -2049,9 +2058,9 @@ } }, "node_modules/eslint-plugin-local": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.1.1.tgz", - "integrity": "sha512-uxZFxLSq0/i7ajQ9JXymXalBz8JKadh3mofYgQLt7wsPQbRYNsZf/FsGvoc2K4hCI/n/Fcjwts5Uz2kUnpqWwA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.2.0.tgz", + "integrity": "sha512-ahoztRilbqMn6V25MVmMECnG9SArhJXMu5BbTjfXe76WcwazC085lev8u3dAeMwYhjUpve2gvEGN7KCmaqrDng==", "dev": true, "dependencies": { "chalk": "^4.0.0" @@ -2447,16 +2456,20 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", - "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.3.tgz", + "integrity": "sha512-JIcZczvcMVE7AUOP+X72bh8HqHBRxFdz5PDHYtNG/lE3yk9b3KZBJlwFcTyPYjg3L4RLLmZJzvjxhaZVapxFrQ==", "dev": true, "dependencies": { + "es-errors": "^1.0.0", "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", "hasown": "^2.0.0" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "/~https://github.com/sponsors/ljharb" } @@ -5722,6 +5735,12 @@ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true }, + "es-errors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.0.0.tgz", + "integrity": "sha512-yHV74THqMJUyFKkHyN7hyENcEZM3Dj2a2IrdClY+IT4BFQHkIVwlh8s6uZfjsFydMdNHv0F5mWgAA3ajFbsvVQ==", + "dev": true + }, "esbuild": { "version": "0.20.0", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.0.tgz", @@ -5852,9 +5871,9 @@ } }, "eslint-plugin-local": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.1.1.tgz", - "integrity": "sha512-uxZFxLSq0/i7ajQ9JXymXalBz8JKadh3mofYgQLt7wsPQbRYNsZf/FsGvoc2K4hCI/n/Fcjwts5Uz2kUnpqWwA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.2.0.tgz", + "integrity": "sha512-ahoztRilbqMn6V25MVmMECnG9SArhJXMu5BbTjfXe76WcwazC085lev8u3dAeMwYhjUpve2gvEGN7KCmaqrDng==", "dev": true, "requires": { "chalk": "^4.0.0" @@ -6098,11 +6117,12 @@ "dev": true }, "get-intrinsic": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", - "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.3.tgz", + "integrity": "sha512-JIcZczvcMVE7AUOP+X72bh8HqHBRxFdz5PDHYtNG/lE3yk9b3KZBJlwFcTyPYjg3L4RLLmZJzvjxhaZVapxFrQ==", "dev": true, "requires": { + "es-errors": "^1.0.0", "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", From 2514a64bdb36fe1ed1307a2f358697c8963fa6f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:19:06 -0800 Subject: [PATCH 21/56] Bump the github-actions group with 2 updates (#57295) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/rich-navigation.yml | 2 +- .github/workflows/scorecard.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 106e79998919e..a6f34223c9730 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,7 +46,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3.23.2 + uses: github/codeql-action/init@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 with: config-file: ./.github/codeql/codeql-configuration.yml # Override language selection by uncommenting this and choosing your languages @@ -56,7 +56,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below). - name: Autobuild - uses: github/codeql-action/autobuild@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3.23.2 + uses: github/codeql-action/autobuild@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -70,4 +70,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3.23.2 + uses: github/codeql-action/analyze@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 diff --git a/.github/workflows/rich-navigation.yml b/.github/workflows/rich-navigation.yml index badc34d74bd1d..bc24b3de83a24 100644 --- a/.github/workflows/rich-navigation.yml +++ b/.github/workflows/rich-navigation.yml @@ -31,7 +31,7 @@ jobs: - name: Install dependencies run: npm ci - - uses: microsoft/RichCodeNavIndexer@e444937494b8941cc2bcccf2bcf2cd595d402f6b # v0.1 + - uses: microsoft/RichCodeNavIndexer@c8b97bc908f7bc0151fe4872aa029e99b2a0b96b # v0.1 with: languages: typescript repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 0a4c648467bb3..6601bb1a5033d 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -55,6 +55,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: 'Upload to code-scanning' - uses: github/codeql-action/upload-sarif@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3.23.2 + uses: github/codeql-action/upload-sarif@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 with: sarif_file: results.sarif From bcef7eba53e61bbde4b91dad9886aed2ff928f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20K=C3=BChle?= Date: Mon, 5 Feb 2024 22:40:50 +0100 Subject: [PATCH 22/56] Always emit `Object` type in decorator metadata for import type (#56594) --- src/compiler/checker.ts | 21 ++++++---- ...decoratorMetadataTypeOnlyImport.errors.txt | 18 +++++++++ .../decoratorMetadataTypeOnlyImport.js | 40 +++++++++++++++++++ .../decoratorMetadataTypeOnlyImport.symbols | 26 ++++++++++++ .../decoratorMetadataTypeOnlyImport.types | 24 +++++++++++ .../decoratorMetadataTypeOnlyImport.ts | 15 +++++++ 6 files changed, 137 insertions(+), 7 deletions(-) create mode 100644 tests/baselines/reference/decoratorMetadataTypeOnlyImport.errors.txt create mode 100644 tests/baselines/reference/decoratorMetadataTypeOnlyImport.js create mode 100644 tests/baselines/reference/decoratorMetadataTypeOnlyImport.symbols create mode 100644 tests/baselines/reference/decoratorMetadataTypeOnlyImport.types create mode 100644 tests/cases/compiler/decoratorMetadataTypeOnlyImport.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index f15fd70378ea7..91a5c09454b09 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -48312,28 +48312,35 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { isTypeOnly = !!rootValueSymbol?.declarations?.every(isTypeOnlyImportOrExportDeclaration); } const valueSymbol = resolveEntityName(typeName, SymbolFlags.Value, /*ignoreErrors*/ true, /*dontResolveAlias*/ true, location); - const resolvedSymbol = valueSymbol && valueSymbol.flags & SymbolFlags.Alias ? resolveAlias(valueSymbol) : valueSymbol; + const resolvedValueSymbol = valueSymbol && valueSymbol.flags & SymbolFlags.Alias ? resolveAlias(valueSymbol) : valueSymbol; isTypeOnly ||= !!(valueSymbol && getTypeOnlyAliasDeclaration(valueSymbol, SymbolFlags.Value)); // Resolve the symbol as a type so that we can provide a more useful hint for the type serializer. - const typeSymbol = resolveEntityName(typeName, SymbolFlags.Type, /*ignoreErrors*/ true, /*dontResolveAlias*/ false, location); - if (resolvedSymbol && resolvedSymbol === typeSymbol) { + const typeSymbol = resolveEntityName(typeName, SymbolFlags.Type, /*ignoreErrors*/ true, /*dontResolveAlias*/ true, location); + const resolvedTypeSymbol = typeSymbol && typeSymbol.flags & SymbolFlags.Alias ? resolveAlias(typeSymbol) : typeSymbol; + + // In case the value symbol can't be resolved (e.g. because of missing declarations), use type symbol for reachability check. + if (!valueSymbol) { + isTypeOnly ||= !!(typeSymbol && getTypeOnlyAliasDeclaration(typeSymbol, SymbolFlags.Type)); + } + + if (resolvedValueSymbol && resolvedValueSymbol === resolvedTypeSymbol) { const globalPromiseSymbol = getGlobalPromiseConstructorSymbol(/*reportErrors*/ false); - if (globalPromiseSymbol && resolvedSymbol === globalPromiseSymbol) { + if (globalPromiseSymbol && resolvedValueSymbol === globalPromiseSymbol) { return TypeReferenceSerializationKind.Promise; } - const constructorType = getTypeOfSymbol(resolvedSymbol); + const constructorType = getTypeOfSymbol(resolvedValueSymbol); if (constructorType && isConstructorType(constructorType)) { return isTypeOnly ? TypeReferenceSerializationKind.TypeWithCallSignature : TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue; } } // We might not be able to resolve type symbol so use unknown type in that case (eg error case) - if (!typeSymbol) { + if (!resolvedTypeSymbol) { return isTypeOnly ? TypeReferenceSerializationKind.ObjectType : TypeReferenceSerializationKind.Unknown; } - const type = getDeclaredTypeOfSymbol(typeSymbol); + const type = getDeclaredTypeOfSymbol(resolvedTypeSymbol); if (isErrorType(type)) { return isTypeOnly ? TypeReferenceSerializationKind.ObjectType : TypeReferenceSerializationKind.Unknown; } diff --git a/tests/baselines/reference/decoratorMetadataTypeOnlyImport.errors.txt b/tests/baselines/reference/decoratorMetadataTypeOnlyImport.errors.txt new file mode 100644 index 0000000000000..0970fe9461eb6 --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataTypeOnlyImport.errors.txt @@ -0,0 +1,18 @@ +a.ts(1,22): error TS2307: Cannot find module 'unknown-module' or its corresponding type declarations. + + +==== ./a.ts (1 errors) ==== + import { List } from 'unknown-module'; + ~~~~~~~~~~~~~~~~ +!!! error TS2307: Cannot find module 'unknown-module' or its corresponding type declarations. + export type MyList = List; + +==== ./b.ts (0 errors) ==== + import { type MyList } from './a'; + + declare var Decorator: any; + + class Foo { + @Decorator myList?: MyList; + } + \ No newline at end of file diff --git a/tests/baselines/reference/decoratorMetadataTypeOnlyImport.js b/tests/baselines/reference/decoratorMetadataTypeOnlyImport.js new file mode 100644 index 0000000000000..3b6bf1c96c1f7 --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataTypeOnlyImport.js @@ -0,0 +1,40 @@ +//// [tests/cases/compiler/decoratorMetadataTypeOnlyImport.ts] //// + +//// [a.ts] +import { List } from 'unknown-module'; +export type MyList = List; + +//// [b.ts] +import { type MyList } from './a'; + +declare var Decorator: any; + +class Foo { + @Decorator myList?: MyList; +} + + +//// [a.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//// [b.js] +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var Foo = /** @class */ (function () { + function Foo() { + } + __decorate([ + Decorator, + __metadata("design:type", Object) + ], Foo.prototype, "myList", void 0); + return Foo; +}()); diff --git a/tests/baselines/reference/decoratorMetadataTypeOnlyImport.symbols b/tests/baselines/reference/decoratorMetadataTypeOnlyImport.symbols new file mode 100644 index 0000000000000..478cff505e595 --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataTypeOnlyImport.symbols @@ -0,0 +1,26 @@ +//// [tests/cases/compiler/decoratorMetadataTypeOnlyImport.ts] //// + +=== ./a.ts === +import { List } from 'unknown-module'; +>List : Symbol(List, Decl(a.ts, 0, 8)) + +export type MyList = List; +>MyList : Symbol(MyList, Decl(a.ts, 0, 38)) +>List : Symbol(List, Decl(a.ts, 0, 8)) + +=== ./b.ts === +import { type MyList } from './a'; +>MyList : Symbol(MyList, Decl(b.ts, 0, 8)) + +declare var Decorator: any; +>Decorator : Symbol(Decorator, Decl(b.ts, 2, 11)) + +class Foo { +>Foo : Symbol(Foo, Decl(b.ts, 2, 27)) + + @Decorator myList?: MyList; +>Decorator : Symbol(Decorator, Decl(b.ts, 2, 11)) +>myList : Symbol(Foo.myList, Decl(b.ts, 4, 11)) +>MyList : Symbol(MyList, Decl(b.ts, 0, 8)) +} + diff --git a/tests/baselines/reference/decoratorMetadataTypeOnlyImport.types b/tests/baselines/reference/decoratorMetadataTypeOnlyImport.types new file mode 100644 index 0000000000000..86fd09312f7ef --- /dev/null +++ b/tests/baselines/reference/decoratorMetadataTypeOnlyImport.types @@ -0,0 +1,24 @@ +//// [tests/cases/compiler/decoratorMetadataTypeOnlyImport.ts] //// + +=== ./a.ts === +import { List } from 'unknown-module'; +>List : any + +export type MyList = List; +>MyList : List + +=== ./b.ts === +import { type MyList } from './a'; +>MyList : any + +declare var Decorator: any; +>Decorator : any + +class Foo { +>Foo : Foo + + @Decorator myList?: MyList; +>Decorator : any +>myList : List +} + diff --git a/tests/cases/compiler/decoratorMetadataTypeOnlyImport.ts b/tests/cases/compiler/decoratorMetadataTypeOnlyImport.ts new file mode 100644 index 0000000000000..fda2124e2ed03 --- /dev/null +++ b/tests/cases/compiler/decoratorMetadataTypeOnlyImport.ts @@ -0,0 +1,15 @@ +// @experimentalDecorators: true +// @emitDecoratorMetadata: true + +// @filename: ./a.ts +import { List } from 'unknown-module'; +export type MyList = List; + +// @filename: ./b.ts +import { type MyList } from './a'; + +declare var Decorator: any; + +class Foo { + @Decorator myList?: MyList; +} From 763b5ebfd4bbf2531f46bc086b87a378119cb293 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Tue, 6 Feb 2024 06:14:17 +0000 Subject: [PATCH 23/56] Update package-lock.json --- package-lock.json | 305 ++++++++++++++++++++++++---------------------- 1 file changed, 156 insertions(+), 149 deletions(-) diff --git a/package-lock.json b/package-lock.json index 85e04845d5fa6..b2e37f0dd2a6b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1059,16 +1059,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz", - "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.21.0.tgz", + "integrity": "sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/type-utils": "6.20.0", - "@typescript-eslint/utils": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/type-utils": "6.21.0", + "@typescript-eslint/utils": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -1094,15 +1094,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz", - "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz", + "integrity": "sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4" }, "engines": { @@ -1122,13 +1122,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", - "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz", + "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0" + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1139,13 +1139,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz", - "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.21.0.tgz", + "integrity": "sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/utils": "6.20.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "@typescript-eslint/utils": "6.21.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -1166,9 +1166,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", - "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz", + "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1179,13 +1179,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", - "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz", + "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1207,17 +1207,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", - "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz", + "integrity": "sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", "semver": "^7.5.4" }, "engines": { @@ -1232,12 +1232,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", - "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz", + "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/types": "6.21.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -1460,14 +1460,18 @@ } }, "node_modules/call-bind": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", - "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.6.tgz", + "integrity": "sha512-Mj50FLHtlsoVfRfnHaZvyrooHcrlceNZdL/QBvJJVd9Ta55qCQK0gs4ss2oZDeV9zFCs6ewzYgVE5yfVmfFpVg==", "dev": true, "dependencies": { + "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.1", - "set-function-length": "^1.1.1" + "get-intrinsic": "^1.2.3", + "set-function-length": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "/~https://github.com/sponsors/ljharb" @@ -1835,14 +1839,15 @@ "dev": true }, "node_modules/define-data-property": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", - "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.2.tgz", + "integrity": "sha512-SRtsSqsDbgpJBbW3pABMCOt6rQyeM8s8RiyeSN8jYG8sYmt/kGJejbydttUsnDs1tadr19tvhT4ShwMyoqAm4g==", "dev": true, "dependencies": { - "get-intrinsic": "^1.2.1", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.2", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -1919,9 +1924,9 @@ "dev": true }, "node_modules/es-errors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.0.0.tgz", - "integrity": "sha512-yHV74THqMJUyFKkHyN7hyENcEZM3Dj2a2IrdClY+IT4BFQHkIVwlh8s6uZfjsFydMdNHv0F5mWgAA3ajFbsvVQ==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", "dev": true, "engines": { "node": ">= 0.4" @@ -1966,9 +1971,9 @@ } }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true, "engines": { "node": ">=6" @@ -2058,9 +2063,9 @@ } }, "node_modules/eslint-plugin-local": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.2.0.tgz", - "integrity": "sha512-ahoztRilbqMn6V25MVmMECnG9SArhJXMu5BbTjfXe76WcwazC085lev8u3dAeMwYhjUpve2gvEGN7KCmaqrDng==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.2.1.tgz", + "integrity": "sha512-n2WUpDoL0dpW+37vGRj7hB5MV61U0Qkj5zslVP5PJfJJDmb7uc4k5ydOUC9WVKB0ekUVpceD5HvOmTU+3NyRiA==", "dev": true, "dependencies": { "chalk": "^4.0.0" @@ -2280,9 +2285,9 @@ } }, "node_modules/fastq": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.0.tgz", - "integrity": "sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==", + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -2456,12 +2461,12 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.3.tgz", - "integrity": "sha512-JIcZczvcMVE7AUOP+X72bh8HqHBRxFdz5PDHYtNG/lE3yk9b3KZBJlwFcTyPYjg3L4RLLmZJzvjxhaZVapxFrQ==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dev": true, "dependencies": { - "es-errors": "^1.0.0", + "es-errors": "^1.3.0", "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", @@ -3769,9 +3774,9 @@ ] }, "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -4105,12 +4110,12 @@ } }, "node_modules/ts-api-utils": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz", - "integrity": "sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.0.tgz", + "integrity": "sha512-d+3WxW4r8WQy2cZWpNRPPGExX8ffOLGcIhheUANKbL5Sqjbhkneki76fRAWeXkaslV2etTb4tSJBSxOsH5+CJw==", "dev": true, "engines": { - "node": ">=16.13.0" + "node": ">=18" }, "peerDependencies": { "typescript": ">=4.2.0" @@ -5121,16 +5126,16 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz", - "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.21.0.tgz", + "integrity": "sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/type-utils": "6.20.0", - "@typescript-eslint/utils": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/type-utils": "6.21.0", + "@typescript-eslint/utils": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -5140,54 +5145,54 @@ } }, "@typescript-eslint/parser": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz", - "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz", + "integrity": "sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", - "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz", + "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==", "dev": true, "requires": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0" + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0" } }, "@typescript-eslint/type-utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz", - "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.21.0.tgz", + "integrity": "sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/utils": "6.20.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "@typescript-eslint/utils": "6.21.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" } }, "@typescript-eslint/types": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", - "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz", + "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", - "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz", + "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==", "dev": true, "requires": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5197,27 +5202,27 @@ } }, "@typescript-eslint/utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", - "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz", + "integrity": "sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", "semver": "^7.5.4" } }, "@typescript-eslint/visitor-keys": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", - "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz", + "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==", "dev": true, "requires": { - "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/types": "6.21.0", "eslint-visitor-keys": "^3.4.1" } }, @@ -5385,14 +5390,15 @@ } }, "call-bind": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", - "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.6.tgz", + "integrity": "sha512-Mj50FLHtlsoVfRfnHaZvyrooHcrlceNZdL/QBvJJVd9Ta55qCQK0gs4ss2oZDeV9zFCs6ewzYgVE5yfVmfFpVg==", "dev": true, "requires": { + "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.1", - "set-function-length": "^1.1.1" + "get-intrinsic": "^1.2.3", + "set-function-length": "^1.2.0" } }, "callsites": { @@ -5668,14 +5674,15 @@ "dev": true }, "define-data-property": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", - "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.2.tgz", + "integrity": "sha512-SRtsSqsDbgpJBbW3pABMCOt6rQyeM8s8RiyeSN8jYG8sYmt/kGJejbydttUsnDs1tadr19tvhT4ShwMyoqAm4g==", "dev": true, "requires": { - "get-intrinsic": "^1.2.1", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.2", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.1" } }, "deprecation": { @@ -5736,9 +5743,9 @@ "dev": true }, "es-errors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.0.0.tgz", - "integrity": "sha512-yHV74THqMJUyFKkHyN7hyENcEZM3Dj2a2IrdClY+IT4BFQHkIVwlh8s6uZfjsFydMdNHv0F5mWgAA3ajFbsvVQ==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", "dev": true }, "esbuild": { @@ -5773,9 +5780,9 @@ } }, "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true }, "escape-string-regexp": { @@ -5871,9 +5878,9 @@ } }, "eslint-plugin-local": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.2.0.tgz", - "integrity": "sha512-ahoztRilbqMn6V25MVmMECnG9SArhJXMu5BbTjfXe76WcwazC085lev8u3dAeMwYhjUpve2gvEGN7KCmaqrDng==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-local/-/eslint-plugin-local-3.2.1.tgz", + "integrity": "sha512-n2WUpDoL0dpW+37vGRj7hB5MV61U0Qkj5zslVP5PJfJJDmb7uc4k5ydOUC9WVKB0ekUVpceD5HvOmTU+3NyRiA==", "dev": true, "requires": { "chalk": "^4.0.0" @@ -5997,9 +6004,9 @@ "dev": true }, "fastq": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.0.tgz", - "integrity": "sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==", + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dev": true, "requires": { "reusify": "^1.0.4" @@ -6117,12 +6124,12 @@ "dev": true }, "get-intrinsic": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.3.tgz", - "integrity": "sha512-JIcZczvcMVE7AUOP+X72bh8HqHBRxFdz5PDHYtNG/lE3yk9b3KZBJlwFcTyPYjg3L4RLLmZJzvjxhaZVapxFrQ==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dev": true, "requires": { - "es-errors": "^1.0.0", + "es-errors": "^1.3.0", "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", @@ -7019,9 +7026,9 @@ "dev": true }, "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -7274,9 +7281,9 @@ } }, "ts-api-utils": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz", - "integrity": "sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.0.tgz", + "integrity": "sha512-d+3WxW4r8WQy2cZWpNRPPGExX8ffOLGcIhheUANKbL5Sqjbhkneki76fRAWeXkaslV2etTb4tSJBSxOsH5+CJw==", "dev": true, "requires": {} }, From c3ff2661aab277852a59d5d5e5e8bef27a1899fe Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 6 Feb 2024 16:42:17 -0800 Subject: [PATCH 24/56] Print original projects in baseline diff as they impact life time of the projects (#57315) --- src/harness/projectServiceStateLogger.ts | 157 ++++++++++++------ ...pening-projects-for-find-all-references.js | 8 + ...indAllReferences-starting-at-definition.js | 14 ++ .../declarationFileMaps/findAllReferences.js | 8 +- ...rencesFull-definition-is-in-mapped-file.js | 11 ++ .../findAllReferencesFull.js | 8 +- .../renameLocations-starting-at-definition.js | 14 ++ .../declarationFileMaps/renameLocations.js | 8 +- .../renameLocationsFull.js | 8 +- ...direct-when-using-default-event-handler.js | 4 +- ...erenceRedirect-when-using-event-handler.js | 4 +- ...roject-when-using-default-event-handler.js | 5 +- ...cation-project-when-using-event-handler.js | 5 +- .../autoImportProvider_referencesCrash.js | 20 +++ .../isDefinitionAcrossGlobalProjects.js | 6 +- .../isDefinitionAcrossModuleProjects.js | 67 +++++++- .../ancestor-and-project-ref-management.js | 30 +++- ...ssfully-find-references-with-out-option.js | 9 +- ...-are-disabled-and-a-decl-map-is-present.js | 10 ++ ...s-are-enabled-and-a-decl-map-is-missing.js | 11 ++ ...s-are-enabled-and-a-decl-map-is-present.js | 11 ++ ...-are-disabled-and-a-decl-map-is-present.js | 10 ++ ...s-are-enabled-and-a-decl-map-is-missing.js | 11 ++ ...s-are-enabled-and-a-decl-map-is-present.js | 11 ++ ...-are-disabled-and-a-decl-map-is-present.js | 4 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 5 +- ...s-are-enabled-and-a-decl-map-is-present.js | 5 +- .../sibling-projects.js | 3 + ...ding-references-in-overlapping-projects.js | 47 +++++- ...ject-is-directly-referenced-by-solution.js | 4 +- ...ct-is-indirectly-referenced-by-solution.js | 36 +++- ...nced-project-and-using-declaration-maps.js | 11 ++ ...ot-file-is-file-from-referenced-project.js | 11 ++ ...ces-open-file-through-project-reference.js | 28 +++- ...ct-is-indirectly-referenced-by-solution.js | 59 ++++++- ...nction-as-object-literal-property-types.js | 9 +- ...row-function-as-object-literal-property.js | 5 +- ...ss-when-using-arrow-function-assignment.js | 9 +- ...s-when-using-method-of-class-expression.js | 9 +- ...ness-when-using-object-literal-property.js | 9 +- ...dts-changes-with-timeout-before-request.js | 15 ++ .../dependency-dts-changes.js | 15 ++ .../dependency-dts-created.js | 15 ++ .../dependency-dts-deleted.js | 19 +++ ...Map-changes-with-timeout-before-request.js | 15 ++ .../dependency-dtsMap-changes.js | 15 ++ .../dependency-dtsMap-created.js | 15 ++ .../dependency-dtsMap-deleted.js | 17 ++ .../goToDef-and-rename-locations.js | 15 ++ ...ile-changes-with-timeout-before-request.js | 17 ++ .../usage-file-changes.js | 17 ++ ...dts-changes-with-timeout-before-request.js | 17 ++ .../dependency-dts-changes.js | 17 ++ .../dependency-dts-created.js | 20 +++ .../dependency-dts-deleted.js | 20 +++ .../dependency-dts-not-present.js | 17 ++ ...Map-changes-with-timeout-before-request.js | 17 ++ .../dependency-dtsMap-changes.js | 17 ++ .../dependency-dtsMap-created.js | 20 +++ .../dependency-dtsMap-deleted.js | 20 +++ .../dependency-dtsMap-not-present.js | 17 ++ ...rce-changes-with-timeout-before-request.js | 17 ++ .../dependency-source-changes.js | 17 ++ .../gotoDef-and-rename-locations.js | 17 ++ ...ile-changes-with-timeout-before-request.js | 20 +++ .../configWithReference/usage-file-changes.js | 20 +++ .../when-projects-are-not-built.js | 17 ++ ...dts-changes-with-timeout-before-request.js | 15 ++ .../dependency-dts-changes.js | 15 ++ .../dependency-dts-created.js | 15 ++ .../dependency-dts-deleted.js | 19 +++ ...Map-changes-with-timeout-before-request.js | 15 ++ .../dependency-dtsMap-changes.js | 15 ++ .../dependency-dtsMap-created.js | 15 ++ .../dependency-dtsMap-deleted.js | 17 ++ .../gotoDef-and-rename-locations.js | 15 ++ ...ile-changes-with-timeout-before-request.js | 17 ++ .../disabledSourceRef/usage-file-changes.js | 17 ++ .../with-symlinks-and-case-difference.js | 3 + 79 files changed, 1270 insertions(+), 77 deletions(-) diff --git a/src/harness/projectServiceStateLogger.ts b/src/harness/projectServiceStateLogger.ts index 3d5086de862e1..da50488c29634 100644 --- a/src/harness/projectServiceStateLogger.ts +++ b/src/harness/projectServiceStateLogger.ts @@ -2,6 +2,7 @@ import { arrayFrom, compareStringsCaseSensitive, Debug, + identity, noop, } from "./_namespaces/ts"; import { @@ -22,6 +23,7 @@ interface ProjectData { projectProgramVersion: Project["projectProgramVersion"]; autoImportProviderHost: Project["autoImportProviderHost"]; noDtsResolutionProject: Project["noDtsResolutionProject"]; + originalConfiguredProjects: Project["originalConfiguredProjects"]; } interface ScriptInfoData { @@ -38,7 +40,7 @@ enum Diff { Deleted = " *deleted*", } -type StateItemLog = [string, string[], string[]?]; +type StateItemLog = [string, ...string[][]]; export function patchServiceForStateBaseline(service: ProjectService) { if (!service.logger.isTestLogger || !service.logger.hasLevel(LogLevel.verbose)) return; @@ -46,12 +48,6 @@ export function patchServiceForStateBaseline(service: ProjectService) { const projects = new Map(); const scriptInfos = new Map(); - const allPropertiesOfProjectData: (keyof ProjectData & keyof Project)[] = [ - "projectStateVersion", - "projectProgramVersion", - "autoImportProviderHost", - "noDtsResolutionProject", - ]; const logger = service.logger as LoggerWithInMemoryLogs; service.baseline = title => { const projectLogs = baselineProjects(); @@ -67,10 +63,9 @@ export function patchServiceForStateBaseline(service: ProjectService) { if (!logs) return; logger.log(title); logs.sort((a, b) => compareStringsCaseSensitive(a[0], b[0])) - .forEach(([title, propertyLogs, additionalPropertyLogs]) => { + .forEach(([title, ...propertyLogs]) => { logger.log(title); - propertyLogs.forEach(s => logger.log(s)); - additionalPropertyLogs?.forEach(s => logger.log(s)); + propertyLogs.forEach(p => p.forEach(s => logger.log(s))); }); logger.log(""); } @@ -86,22 +81,28 @@ export function patchServiceForStateBaseline(service: ProjectService) { if (project.noDtsResolutionProject) auxiliaryProjects.push(project.noDtsResolutionProject); let projectDiff = newOrDeleted(project, projects, data); const projectPropertyLogs = [] as string[]; - allPropertiesOfProjectData.forEach(key => { - let value: Project[typeof key] | string = project[key]; - if (key === "autoImportProviderHost" || key === "noDtsResolutionProject") { - if (project[key]) value = (project[key] as Project).projectName; - else if (project[key] === undefined && data?.[key] === undefined) return; - } - projectDiff = printProperty(PrintPropertyWhen.Always, data, key, project[key], projectDiff, projectPropertyLogs, value); - }); - logs.push([`${project.projectName} (${ProjectKind[project.projectKind]})${projectDiff}`, projectPropertyLogs]); - return projectDiff; + projectDiff = printProperty(PrintPropertyWhen.Always, data, "projectStateVersion", project.projectStateVersion, projectDiff, projectPropertyLogs); + projectDiff = printProperty(PrintPropertyWhen.Always, data, "projectProgramVersion", project.projectProgramVersion, projectDiff, projectPropertyLogs); + projectDiff = printProperty(PrintPropertyWhen.DefinedOrChangedOrNew, data, "autoImportProviderHost", project.autoImportProviderHost, projectDiff, projectPropertyLogs, project.autoImportProviderHost ? project.autoImportProviderHost.projectName : project.autoImportProviderHost); + projectDiff = printProperty(PrintPropertyWhen.DefinedOrChangedOrNew, data, "noDtsResolutionProject", project.noDtsResolutionProject, projectDiff, projectPropertyLogs, project.noDtsResolutionProject ? project.noDtsResolutionProject.projectName : project.noDtsResolutionProject); + return printSetPropertyAndCreateStatementLog( + logs, + `${project.projectName} (${ProjectKind[project.projectKind]})`, + PrintPropertyWhen.DefinedOrChangedOrNew, + "originalConfiguredProjects", + projectPropertyLogs, + projectDiff, + project.originalConfiguredProjects, + data?.originalConfiguredProjects, + identity, + ); }, project => ({ projectStateVersion: project.projectStateVersion, projectProgramVersion: project.projectProgramVersion, autoImportProviderHost: project.autoImportProviderHost, noDtsResolutionProject: project.noDtsResolutionProject, + originalConfiguredProjects: project.originalConfiguredProjects && new Set(project.originalConfiguredProjects), }), ); } @@ -117,41 +118,24 @@ export function patchServiceForStateBaseline(service: ProjectService) { infoDiff = printProperty(PrintPropertyWhen.Changed, data, "open", isOpen, infoDiff, infoPropertyLogs); infoDiff = printProperty(PrintPropertyWhen.Always, data, "version", info.textStorage.getVersion(), infoDiff, infoPropertyLogs); infoDiff = printProperty(PrintPropertyWhen.TruthyOrChangedOrNew, data, "pendingReloadFromDisk", info.textStorage.pendingReloadFromDisk, infoDiff, infoPropertyLogs); - const containingProjectsLogs = [] as string[]; - let containingProjectsDiff = Diff.None; - const defaultProject = isOpen && info.containingProjects.length ? info.getDefaultProject() : undefined; - info.containingProjects.forEach(project => - containingProjectsDiff = printPropertyWorker( - PrintPropertyWhen.Always, - ` ${project.projectName}${defaultProject === project ? " *default*" : ""}`, - containingProjectsLogs, - containingProjectsDiff, - !!data && !data.containingProjects.has(project), - Diff.New, - project, - ) - ); - const infoProjects = new Set(info.containingProjects); - data?.containingProjects.forEach(project => { - if (infoProjects.has(project)) return; - containingProjectsDiff = Diff.Change; - containingProjectsLogs.push(` ${project.projectName}${Diff.Deleted}`); - }); - infoDiff = printPropertyWorker( + let defaultProject: Project | undefined; + try { + if (isOpen) defaultProject = info.getDefaultProject(); + } + catch (e) { + Debug.assert(e.message === "No Project."); + } + return printSetPropertyAndCreateStatementLog( + logs, + `${info.fileName}${isOpen ? " (Open)" : ""}`, PrintPropertyWhen.Always, - `containingProjects: ${info.containingProjects.length}`, + "containingProjects", infoPropertyLogs, infoDiff, - !!containingProjectsDiff, - Diff.Change, - info.containingProjects, + new Set(info.containingProjects), + data?.containingProjects, + project => `${project.projectName}${defaultProject === project ? " *default*" : ""}`, ); - logs.push([ - `${info.fileName}${isOpen ? " (Open)" : ""}${infoDiff}`, - infoPropertyLogs, - containingProjectsLogs, - ]); - return infoDiff; }, info => ({ open: info.isScriptOpen(), @@ -201,6 +185,7 @@ export function patchServiceForStateBaseline(service: ProjectService) { Always, TruthyOrChangedOrNew, Changed, + DefinedOrChangedOrNew, } function printProperty( printWhen: PrintPropertyWhen, @@ -222,6 +207,45 @@ export function patchServiceForStateBaseline(service: ProjectService) { ); } + function printSetPropertyValueWorker( + printWhen: PrintPropertyWhen.Always | PrintPropertyWhen.DefinedOrChangedOrNew, + propertyName: string, + propertyLogs: string[], + dataDiff: Diff, + propertyValue: Set | undefined, + dataValue: Set | undefined, + toStringPropertyValue: (v: T) => string, + ) { + const setPropertyLogs = [] as string[]; + let setPropertyDiff = Diff.None; + propertyValue?.forEach(p => + setPropertyDiff = printPropertyWorker( + PrintPropertyWhen.Always, + ` ${toStringPropertyValue(p)}`, + setPropertyLogs, + setPropertyDiff, + dataDiff !== Diff.New && !dataValue?.has(p), + Diff.New, + p, + ) + ); + dataValue?.forEach(p => { + if (propertyValue?.has(p)) return; + setPropertyDiff = Diff.Change; + setPropertyLogs.push(` ${toStringPropertyValue(p)}${Diff.Deleted}`); + }); + dataDiff = printPropertyWorker( + printWhen, + `${propertyName}: ${propertyValue?.size || 0}`, + propertyLogs, + dataDiff, + !!setPropertyDiff, + Diff.Change, + propertyValue, + ); + return { dataDiff, setPropertyLogs }; + } + function printPropertyWorker( printWhen: PrintPropertyWhen, stringValue: string, @@ -242,10 +266,41 @@ export function patchServiceForStateBaseline(service: ProjectService) { break; case PrintPropertyWhen.Always: break; + case PrintPropertyWhen.DefinedOrChangedOrNew: + if (value === undefined && !propertyDiff) return result; + break; default: Debug.assertNever(printWhen); } propertyLogs.push(` ${stringValue}${propertyDiff}`); return result; } + + function printSetPropertyAndCreateStatementLog( + logs: StateItemLog[], + header: string, + printWhen: PrintPropertyWhen.Always | PrintPropertyWhen.DefinedOrChangedOrNew, + propertyName: string, + propertyLogs: string[], + dataDiff: Diff, + propertyValue: Set | undefined, + dataValue: Set | undefined, + toStringPropertyValue: (v: T) => string, + ) { + const result = printSetPropertyValueWorker( + printWhen, + propertyName, + propertyLogs, + dataDiff, + propertyValue, + dataValue, + toStringPropertyValue, + ); + logs.push([ + `${header}${result.dataDiff}`, + propertyLogs, + result.setPropertyLogs, + ]); + return result.dataDiff; + } } diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js index 8e8e35e2e12b8..0e80061fd89d4 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js @@ -644,6 +644,10 @@ Projects:: /packages/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /packages/b/tsconfig.json + /tsconfig.json + /packages/a/tsconfig.json /packages/b/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -651,6 +655,10 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + originalConfiguredProjects: 3 *changed* + /packages/b/tsconfig.json *new* + /tsconfig.json *new* + /packages/a/tsconfig.json *new* ScriptInfos:: /node_modules/@angular/forms/forms.d.ts diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js index 90c89f7a3bdbc..1f778998af777 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js @@ -1030,6 +1030,16 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /a/tsconfig.json *new* + ScriptInfos:: /a/a.ts (Open) version: SVC-2-0 @@ -1107,6 +1117,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json ScriptInfos:: /a/a.ts (Open) @@ -1222,6 +1234,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js index c37f33e29506f..6eb2ab239d582 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js @@ -902,9 +902,11 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /a/tsconfig.json *new* ScriptInfos:: /a/a.ts *new* @@ -983,6 +985,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json ScriptInfos:: /a/a.ts @@ -1109,6 +1113,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js index 8e95958d08777..6c158353092e7 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js @@ -627,3 +627,14 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /a/tsconfig.json *new* + /b/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js index 168bf9476ca1a..a4b9cb7cdf21e 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js @@ -936,9 +936,11 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /a/tsconfig.json *new* ScriptInfos:: /a/a.ts *new* @@ -1017,6 +1019,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json ScriptInfos:: /a/a.ts @@ -1143,6 +1147,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js index bd1c4cfe3fe4a..3a535ac59bfd9 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js @@ -1042,6 +1042,16 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /a/tsconfig.json *new* + ScriptInfos:: /a/a.ts (Open) version: SVC-2-0 @@ -1119,6 +1129,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json ScriptInfos:: /a/a.ts (Open) @@ -1234,6 +1246,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js index 13c488415e050..dd6592a765519 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js @@ -916,9 +916,11 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /a/tsconfig.json *new* ScriptInfos:: /a/a.ts *new* @@ -997,6 +999,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json ScriptInfos:: /a/a.ts @@ -1123,6 +1127,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js index e79d894f66ac3..ddfbbce21a35d 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js @@ -877,9 +877,11 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /a/tsconfig.json *new* ScriptInfos:: /a/a.ts *new* @@ -958,6 +960,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json ScriptInfos:: /a/a.ts @@ -1084,6 +1088,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js index 4a84e5fdf7ae1..33f1847e0f63c 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js @@ -461,9 +461,11 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/b/tsconfig.json (Configured) +/user/username/projects/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/a/tsconfig.json *new* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js index d7f38dfba9ca2..6f29b4960873d 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js @@ -455,9 +455,11 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/b/tsconfig.json (Configured) +/user/username/projects/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/a/tsconfig.json *new* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js index 1fd2376ce6ed0..f2a29de05d180 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js @@ -448,9 +448,12 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/b/tsconfig.json (Configured) +/user/username/projects/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/a/tsconfig.json *new* + /user/username/projects/b/tsconfig.json *new* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js index f4f92fc2cf9d2..a8b7968239e54 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js @@ -442,9 +442,12 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/b/tsconfig.json (Configured) +/user/username/projects/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/a/tsconfig.json *new* + /user/username/projects/b/tsconfig.json *new* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js index cfc422811b7a4..1d0114e908309 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js @@ -744,6 +744,26 @@ watchedDirectoriesRecursive:: /c: {} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /a/tsconfig.json *new* +/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/index.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js index 4bc22cb005baf..fe9b4b02daa94 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js @@ -700,9 +700,13 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: -/a/tsconfig.json (Configured) +/a/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 *changed* + /b/tsconfig.json *new* + /a/tsconfig.json *new* + /c/tsconfig.json *new* /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js index 400e3efcc6099..813102675150d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js @@ -975,12 +975,19 @@ watchedFiles:: {"pollingInterval":2000} Projects:: -/a/tsconfig.json (Configured) +/a/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /c/tsconfig.json *new* + /a/tsconfig.json *new* /a2/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /c/tsconfig.json + /a/tsconfig.json + /a2/tsconfig.json /c/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1678,6 +1685,29 @@ Info seq [hh:mm:ss:mss] response: } ] } +After Request +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 3 *changed* + /c/tsconfig.json + /a/tsconfig.json + /a2/tsconfig.json *new* +/a2/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 3 + /c/tsconfig.json + /a/tsconfig.json + /a2/tsconfig.json +/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -1930,9 +1960,17 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /c/tsconfig.json + /a/tsconfig.json + /a2/tsconfig.json /a2/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /c/tsconfig.json + /a/tsconfig.json + /a2/tsconfig.json /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -2129,6 +2167,33 @@ watchedFiles:: /tsconfig.settings.json: {"pollingInterval":2000} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 4 *changed* + /c/tsconfig.json + /a/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json *new* +/a2/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 4 *changed* + /c/tsconfig.json + /a/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json *new* +/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] request: { "seq": 10, diff --git a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js index b0d34cfff7961..763b7c00aa89a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js +++ b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js @@ -1128,12 +1128,19 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/container/compositeExec/tsconfig.json (Configured) +/user/username/projects/container/compositeExec/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/container/lib/tsconfig.json *new* + /user/username/projects/container/compositeexec/tsconfig.json *new* /user/username/projects/container/exec/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json + /user/username/projects/container/exec/tsconfig.json /user/username/projects/container/lib/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1256,9 +1263,16 @@ Projects:: /user/username/projects/container/compositeExec/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json /user/username/projects/container/exec/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json + /user/username/projects/container/exec/tsconfig.json /user/username/projects/container/lib/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1603,9 +1617,16 @@ Projects:: /user/username/projects/container/compositeExec/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json /user/username/projects/container/exec/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json + /user/username/projects/container/exec/tsconfig.json /user/username/projects/container/lib/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1803,9 +1824,16 @@ Projects:: /user/username/projects/container/compositeExec/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json /user/username/projects/container/exec/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json + /user/username/projects/container/exec/tsconfig.json /user/username/projects/container/lib/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js index 6d414b94cc4e5..e28b81a0637e8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js +++ b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js @@ -1004,12 +1004,19 @@ FsWatches:: {} Projects:: -/user/username/projects/container/compositeExec/tsconfig.json (Configured) +/user/username/projects/container/compositeExec/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/container/lib/tsconfig.json *new* + /user/username/projects/container/compositeexec/tsconfig.json *new* /user/username/projects/container/exec/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json + /user/username/projects/container/exec/tsconfig.json /user/username/projects/container/lib/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 3f6d303c42d63..2841603cb5f6a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -721,6 +721,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/b/tsconfig.json *new* +/user/username/projects/myproject/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /user/username/projects/myproject/a/index.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index bacdb87d47c4f..1622bd92c5083 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -669,3 +669,14 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/b/tsconfig.json *new* + /user/username/projects/myproject/a/tsconfig.json *new* +/user/username/projects/myproject/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 1d68aa91c14cc..fe159a50cfcab 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -681,3 +681,14 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/b/tsconfig.json *new* + /user/username/projects/myproject/a/tsconfig.json *new* +/user/username/projects/myproject/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index e5436d2311585..98c72dca0d988 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -721,6 +721,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/b/tsconfig.json *new* +/user/username/projects/myproject/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /user/username/projects/myproject/a/index.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index 7fd98b21e60fb..f4ca99d24d078 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -669,3 +669,14 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/b/tsconfig.json *new* + /user/username/projects/myproject/a/tsconfig.json *new* +/user/username/projects/myproject/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index ddeff714c37a3..88e1f1eccb628 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -681,3 +681,14 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/b/tsconfig.json *new* + /user/username/projects/myproject/a/tsconfig.json *new* +/user/username/projects/myproject/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 43084d0570e98..88cf3c35de356 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -578,9 +578,11 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/myproject/a/tsconfig.json (Configured) +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/b/tsconfig.json *new* /user/username/projects/myproject/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index cfa96717709e9..8e535e558da99 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -560,9 +560,12 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/myproject/a/tsconfig.json (Configured) +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/b/tsconfig.json *new* + /user/username/projects/myproject/a/tsconfig.json *new* /user/username/projects/myproject/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 1ce045f28dbc9..d6cbedd2077e9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -572,9 +572,12 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/myproject/a/tsconfig.json (Configured) +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/b/tsconfig.json *new* + /user/username/projects/myproject/a/tsconfig.json *new* /user/username/projects/myproject/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js index cb6343706be4c..23805fbbb9fa8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js @@ -656,6 +656,9 @@ Projects:: /user/username/projects/solution/services/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/solution/compiler/tsconfig.json + /user/username/projects/solution/services/tsconfig.json /user/username/projects/solution/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js index cd38163b6f818..d36e9470a51e5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js @@ -987,15 +987,28 @@ Projects:: /user/username/projects/solution/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/solution/b/tsconfig.json (Configured) +/user/username/projects/solution/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/solution/a/tsconfig.json *new* + /user/username/projects/solution/b/tsconfig.json *new* /user/username/projects/solution/c/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 4 + /user/username/projects/solution/a/tsconfig.json + /user/username/projects/solution/b/tsconfig.json + /user/username/projects/solution/c/tsconfig.json + /user/username/projects/solution/d/tsconfig.json /user/username/projects/solution/d/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 4 + /user/username/projects/solution/a/tsconfig.json + /user/username/projects/solution/b/tsconfig.json + /user/username/projects/solution/c/tsconfig.json + /user/username/projects/solution/d/tsconfig.json /user/username/projects/solution/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* @@ -1213,3 +1226,35 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/user/username/projects/solution/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/solution/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 4 *changed* + /user/username/projects/solution/a/tsconfig.json + /user/username/projects/solution/b/tsconfig.json + /user/username/projects/solution/c/tsconfig.json *new* + /user/username/projects/solution/d/tsconfig.json *new* +/user/username/projects/solution/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 4 + /user/username/projects/solution/a/tsconfig.json + /user/username/projects/solution/b/tsconfig.json + /user/username/projects/solution/c/tsconfig.json + /user/username/projects/solution/d/tsconfig.json +/user/username/projects/solution/d/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 4 + /user/username/projects/solution/a/tsconfig.json + /user/username/projects/solution/b/tsconfig.json + /user/username/projects/solution/c/tsconfig.json + /user/username/projects/solution/d/tsconfig.json +/user/username/projects/solution/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js index 1b0305863972c..287d51c89f91e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js @@ -2299,9 +2299,11 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/myproject/indirect3/tsconfig.json (Configured) +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/tsconfig-src.json *new* /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js index c258b873cf191..90ab4ee919b94 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js @@ -2014,9 +2014,17 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 @@ -2260,9 +2268,17 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-indirect2.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 @@ -2612,9 +2628,17 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 @@ -3183,15 +3207,25 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/myproject/indirect3/tsconfig.json (Configured) +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/tsconfig-src.json *new* /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js index 9e214e0217dc9..6613836458890 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js @@ -894,6 +894,17 @@ FsWatchesRecursive:: /user/username/projects/project/src/common: {} +Projects:: +/user/username/projects/project/src/common/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/project/src/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/project/src/common/tsconfig.json *new* + /user/username/projects/project/src/tsconfig.json *new* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js index 11dd7ac4db97d..b6a1076d6714a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js @@ -860,3 +860,14 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/user/username/projects/project/src/common/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/project/src/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/project/src/common/tsconfig.json *new* + /user/username/projects/project/src/tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js index 1343811209d77..a4e0a17c7b8da 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js @@ -1736,6 +1736,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/tsconfig-src.json *new* + /user/username/projects/myproject/tsconfig.json *new* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1933,6 +1947,9 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + originalConfiguredProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json ScriptInfos:: /a/lib/lib.d.ts @@ -2229,6 +2246,9 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + originalConfiguredProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -2620,15 +2640,21 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/myproject/indirect3/tsconfig.json (Configured) +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/tsconfig-src.json *new* + /user/username/projects/myproject/tsconfig.json *new* /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js index f78e478c84a25..531b87d701927 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js @@ -2251,15 +2251,28 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 -/user/username/projects/myproject/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 + originalConfiguredProjects: 3 *changed* + /user/username/projects/myproject/tsconfig-src.json *new* + /user/username/projects/myproject/tsconfig.json *new* + /user/username/projects/myproject/tsconfig-indirect1.json *new* ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -2517,15 +2530,28 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json /user/username/projects/myproject/tsconfig-indirect2.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: /a/lib/lib.d.ts @@ -2895,15 +2921,28 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -3515,21 +3554,37 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/myproject/indirect3/tsconfig.json (Configured) +/user/username/projects/myproject/indirect3/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/tsconfig-src.json *new* + /user/username/projects/myproject/tsconfig.json *new* /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js index b0fa07a424ff1..18c0b4670b26c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js @@ -723,12 +723,19 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/solution/api/tsconfig.json (Configured) +/user/username/projects/solution/api/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/api/tsconfig.json *new* /user/username/projects/solution/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/solution/shared/tsconfig.json + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/app/tsconfig.json /user/username/projects/solution/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js index 20a5e2edb0333..3e18ad933bbc4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js @@ -489,9 +489,12 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/solution/api/tsconfig.json (Configured) +/user/username/projects/solution/api/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/api/tsconfig.json *new* /user/username/projects/solution/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js index 531a45aa962df..5cad33bf995e7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js @@ -723,12 +723,19 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/solution/api/tsconfig.json (Configured) +/user/username/projects/solution/api/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/api/tsconfig.json *new* /user/username/projects/solution/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/solution/shared/tsconfig.json + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/app/tsconfig.json /user/username/projects/solution/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js index 2b573021558d4..0fffbd2358140 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js @@ -725,12 +725,19 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/solution/api/tsconfig.json (Configured) +/user/username/projects/solution/api/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/api/tsconfig.json *new* /user/username/projects/solution/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/solution/shared/tsconfig.json + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/app/tsconfig.json /user/username/projects/solution/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js index 0880d8c4c9b73..8efef48f23a38 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js @@ -723,12 +723,19 @@ FsWatchesRecursive:: {} Projects:: -/user/username/projects/solution/api/tsconfig.json (Configured) +/user/username/projects/solution/api/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/solution/shared/tsconfig.json *new* + /user/username/projects/solution/api/tsconfig.json *new* /user/username/projects/solution/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 3 + /user/username/projects/solution/shared/tsconfig.json + /user/username/projects/solution/api/tsconfig.json + /user/username/projects/solution/app/tsconfig.json /user/username/projects/solution/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 39e0048a538ff..df28d29f49d89 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -1030,6 +1030,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1062,6 +1075,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js index 6e36b2e4e61e8..50b6a7f30616d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js @@ -1030,6 +1030,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1059,6 +1072,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js index 2b99a65052a29..f3ba0d8ba8786 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js @@ -1470,6 +1470,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -2509,6 +2522,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js index 4359d4d9a86ce..293ecb8e93049 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js @@ -1030,6 +1030,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 2:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -1094,6 +1107,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1202,6 +1217,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -2375,6 +2392,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 5bb1aa7520b81..733243a9eddec 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -1030,6 +1030,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1065,6 +1078,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js index 8b2b0158aed0c..432568d00b25b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js @@ -1030,6 +1030,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1062,6 +1075,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js index 0c04297034751..924000e39faec 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js @@ -1459,6 +1459,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -2497,6 +2510,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js index 2c5c64702f032..8c43e504cc8b4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js @@ -1030,6 +1030,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -1092,6 +1105,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -2370,6 +2385,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js index 2a825841a7c87..a6d1045ad135a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js @@ -1238,6 +1238,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -2276,6 +2289,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 1d67f61df6598..34b7538ff9052 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -1030,6 +1030,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1059,6 +1072,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1119,6 +1134,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js index 92dd4bf6ea783..5bef4144d3b36 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js @@ -1030,6 +1030,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1059,6 +1072,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1119,6 +1134,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js index 7dd72296075cd..3f8ac8175a09b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -1015,6 +1015,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1073,6 +1087,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js index 7adcaa912a853..7effc4882d194 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js @@ -1015,6 +1015,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1070,6 +1084,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js index ac0802e61a8ad..ca995748695d6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js @@ -1004,6 +1004,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 0:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1075,6 +1089,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -2547,6 +2564,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js index dd745331221b5..dcf23afe0a7fd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js @@ -1015,6 +1015,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1105,6 +1119,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -2547,6 +2564,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js index 5d8a5f7ae2f66..3458d756e4745 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js @@ -1212,6 +1212,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -2207,6 +2221,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index ecfcdafd4b0d3..58bc46cb3cc71 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -1015,6 +1015,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1076,6 +1090,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js index 5eba61e2476c2..3c9a282a25b04 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js @@ -1015,6 +1015,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1073,6 +1087,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js index c11cee392208d..f256565c06022 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js @@ -1012,6 +1012,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1099,6 +1113,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -2567,6 +2584,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js index aa4dd28e39b46..f9bf5dbc9611c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js @@ -1015,6 +1015,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1103,6 +1117,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -2556,6 +2573,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js index 18c1f272bd9eb..97724d2feba88 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js @@ -1220,6 +1220,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2267,6 +2281,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js index ef3de3946c1ba..f217cc391c042 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -1015,6 +1015,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1071,6 +1085,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js index f3c3192dbe09b..b61f3fdd386a4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js @@ -1015,6 +1015,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1071,6 +1085,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js index fd15263c366bb..f8f0ea2a9eab3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js @@ -1223,6 +1223,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2288,6 +2302,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js index 83ccd74ecf1b8..ae7d376cb381c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -1015,6 +1015,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1071,6 +1085,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1131,6 +1148,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js index a44c37a4e9c52..fdc41d600af53 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js @@ -1015,6 +1015,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1071,6 +1085,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1131,6 +1148,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js index a45a5a8902375..dfee06759cf7e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js @@ -1057,6 +1057,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* + /user/username/projects/myproject/main/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -2052,6 +2066,9 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 7ba0d23bdef07..9d8a8d285688e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -1048,6 +1048,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1080,6 +1093,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js index 03382276fe07a..8a4d3a3775ea2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js @@ -1048,6 +1048,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1077,6 +1090,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js index 69d2424c00f73..61abc652c56a9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js @@ -1488,6 +1488,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -2527,6 +2540,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js index ec8e54dc26cc9..fbd6b663e5634 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js @@ -1048,6 +1048,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 2:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -1112,6 +1125,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1220,6 +1235,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -2393,6 +2410,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 7f747bb577f4d..e5201fe1791dd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -1048,6 +1048,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1083,6 +1096,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js index b5bbccb42ef28..e8d3599e3b130 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js @@ -1048,6 +1048,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1080,6 +1093,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js index 9b763489ab0df..59b848f11d537 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js @@ -1477,6 +1477,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -2515,6 +2528,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js index 4f569e21118ff..b286df36835a3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js @@ -1048,6 +1048,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 2:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json @@ -1110,6 +1123,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -2388,6 +2403,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js index b0763d427e52b..4f5a219ed9dc4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js @@ -1256,6 +1256,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -2294,6 +2307,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 8a2ce9fc2aaca..38e65aca8c20a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -1048,6 +1048,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1077,6 +1090,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1137,6 +1152,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js index 397edc359c6db..ec42b72f35e22 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js @@ -1048,6 +1048,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 *changed* + /user/username/projects/myproject/dependency/tsconfig.json *new* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1077,6 +1090,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1137,6 +1152,8 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js index 0a58bdf9767f2..25773fb1a6201 100644 --- a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js +++ b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js @@ -600,6 +600,9 @@ c:/temp/test/project1/tsconfig.json (Configured) c:/temp/test/project2/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + originalConfiguredProjects: 2 + c:/temp/test/project1/tsconfig.json + c:/temp/test/project2/tsconfig.json c:/temp/test/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* From c790dc1dc7ff67e619a5a60fc109b7548f171322 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Wed, 7 Feb 2024 06:14:33 +0000 Subject: [PATCH 25/56] Update package-lock.json --- package-lock.json | 129 +++++++++++++++++++++++++++++++--------------- 1 file changed, 88 insertions(+), 41 deletions(-) diff --git a/package-lock.json b/package-lock.json index b2e37f0dd2a6b..e736720249d04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1545,16 +1545,10 @@ } }, "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -1567,6 +1561,9 @@ "engines": { "node": ">= 8.10.0" }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, "optionalDependencies": { "fsevents": "~2.3.2" } @@ -3097,6 +3094,33 @@ "integrity": "sha512-nCf6dmCEHObJ8BBrcjW+UHYvVtHEL+FliYR/Mfc/v7dKenNmBQ0ZSuvlICgsyQy9Tt581ldvh+SReS4qp4LrQw==", "dev": true }, + "node_modules/mocha/node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, "node_modules/mocha/node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -3810,14 +3834,15 @@ } }, "node_modules/set-function-length": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz", - "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", + "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", "dev": true, "dependencies": { - "define-data-property": "^1.1.1", + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.2", + "get-intrinsic": "^1.2.3", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.1" }, @@ -3847,14 +3872,18 @@ } }, "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.5.tgz", + "integrity": "sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "/~https://github.com/sponsors/ljharb" @@ -4110,12 +4139,12 @@ } }, "node_modules/ts-api-utils": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.0.tgz", - "integrity": "sha512-d+3WxW4r8WQy2cZWpNRPPGExX8ffOLGcIhheUANKbL5Sqjbhkneki76fRAWeXkaslV2etTb4tSJBSxOsH5+CJw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.1.tgz", + "integrity": "sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==", "dev": true, "engines": { - "node": ">=18" + "node": ">=16" }, "peerDependencies": { "typescript": ">=4.2.0" @@ -5448,9 +5477,9 @@ } }, "chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", "dev": true, "requires": { "anymatch": "~3.1.2", @@ -6572,6 +6601,22 @@ "yargs-unparser": "2.0.0" }, "dependencies": { + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, "cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -7055,14 +7100,15 @@ } }, "set-function-length": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz", - "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", + "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", "dev": true, "requires": { - "define-data-property": "^1.1.1", + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.2", + "get-intrinsic": "^1.2.3", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.1" } @@ -7083,14 +7129,15 @@ "dev": true }, "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.5.tgz", + "integrity": "sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==", "dev": true, "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" } }, "signal-exit": { @@ -7281,9 +7328,9 @@ } }, "ts-api-utils": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.0.tgz", - "integrity": "sha512-d+3WxW4r8WQy2cZWpNRPPGExX8ffOLGcIhheUANKbL5Sqjbhkneki76fRAWeXkaslV2etTb4tSJBSxOsH5+CJw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.1.tgz", + "integrity": "sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==", "dev": true, "requires": {} }, From 1ca93fe78fc12ff2294c2b11b37ee820af6c598c Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 7 Feb 2024 13:47:40 -0800 Subject: [PATCH 26/56] Tests for more state and remove some unnecessary logs (#57324) --- src/harness/projectServiceStateLogger.ts | 16 ++- src/testRunner/unittests/helpers/tsserver.ts | 19 --- .../unittests/tsserver/autoImportProvider.ts | 4 - .../unittests/tsserver/compileOnSave.ts | 7 - .../unittests/tsserver/configuredProjects.ts | 52 -------- .../unittests/tsserver/dynamicFiles.ts | 11 -- .../unittests/tsserver/externalProjects.ts | 16 --- .../unittests/tsserver/inferredProjects.ts | 2 - .../unittests/tsserver/projectErrors.ts | 2 - src/testRunner/unittests/tsserver/projects.ts | 31 ----- src/testRunner/unittests/tsserver/reload.ts | 12 -- ...e-is-in-inferred-project-until-imported.js | 2 - ...roviderProject-when-host-project-closes.js | 13 ++ ...pening-projects-for-find-all-references.js | 5 + ...ds-to-automatic-changes-in-node_modules.js | 13 ++ ...ponds-to-manual-changes-in-node_modules.js | 15 +++ ...-FLLs-in-Classic-module-resolution-mode.js | 2 + ...der-FLLs-in-Node-module-resolution-mode.js | 2 + .../loads-missing-files-from-disk.js | 1 + ...-when-timeout-occurs-after-installation.js | 2 + ...n-timeout-occurs-inbetween-installation.js | 6 + ...-file-with-case-insensitive-file-system.js | 2 + ...ig-file-with-case-sensitive-file-system.js | 2 + ...n-creating-new-file-in-symlinked-folder.js | 2 + ...eive-event-for-the-@types-file-addition.js | 2 + .../works-using-legacy-resolution-logic.js | 1 + ...quest-when-projectFile-is-not-specified.js | 16 ++- ...stRequest-when-projectFile-is-specified.js | 16 ++- ...figProjects-cascaded-affected-file-list.js | 7 + ...ojects-detect-changes-in-non-root-files.js | 14 ++ ...onfigProjects-global-file-shape-changed.js | 7 + .../configProjects-isolatedModules.js | 7 + .../configProjects-module-shape-changed.js | 14 ++ .../compileOnSave/configProjects-outFile.js | 7 + .../configProjects-removed-code.js | 2 + ...uptodate-with-changes-in-non-open-files.js | 2 + ...figProjects-uptodate-with-deleted-files.js | 2 + .../configProjects-uptodate-with-new-files.js | 9 ++ ...cts-uptodate-with-reference-map-changes.js | 4 + .../emit-in-project-with-dts-emit.js | 14 ++ ...it-in-project-with-module-with-dts-emit.js | 14 ++ .../emit-in-project-with-module.js | 14 ++ .../tsserver/compileOnSave/emit-in-project.js | 14 ++ .../emit-with-richRepsonse-as-false.js | 2 + .../emit-with-richRepsonse-as-true.js | 2 + .../emit-with-richRepsonse-as-undefined.js | 2 + ...-not-count-against-the-resolution-limit.js | 7 + ...ailable-from-module-specifier-cache-(1).js | 7 + ...ailable-from-module-specifier-cache-(2).js | 21 +++ ...-for-transient-symbols-between-requests.js | 14 ++ ...orks-with-PackageJsonAutoImportProvider.js | 22 ++++ .../tsserver/completionsIncomplete/works.js | 21 +++ ...should-stop-at-projectRootPath-if-given.js | 5 + ...-searching-for-inferred-project-again-2.js | 2 + ...en-searching-for-inferred-project-again.js | 2 + .../tsconfig-for-the-file-does-not-exist.js | 7 + .../tsconfig-for-the-file-exists.js | 5 + ...-are-all-closed-when-the-update-happens.js | 22 ++-- ...oject-as-part-of-configured-file-update.js | 32 +++-- ...onfig-file-in-a-folder-with-loose-files.js | 7 + ...-a-configured-project-without-file-list.js | 2 + ...has-changed-(new-file-in-list-of-files).js | 2 + ...ot-files-has-changed-(new-file-on-disk).js | 2 + ...-when-set-of-root-files-was-not-changed.js | 7 + ...on-reflected-when-specifying-files-list.js | 2 + ...invoked,-ask-errors-on-it-after-old-one.js | 2 + ...nvoked,-ask-errors-on-it-before-old-one.js | 2 + ...invoked,-ask-errors-on-it-after-old-one.js | 4 + ...nvoked,-ask-errors-on-it-before-old-one.js | 4 + ...ached-when-language-service-is-disabled.js | 12 +- .../handle-recreated-files-correctly.js | 4 + ...ject-if-it-is-referenced-from-root-file.js | 7 +- ...ndle-@types-if-input-file-list-is-empty.js | 1 + ...e-tolerated-without-crashing-the-server.js | 1 + ...erenced-by-the-project-but-not-its-root.js | 12 ++ ...n-if-its-not-the-file-from-same-project.js | 11 +- ...odule-resolution-changes-in-config-file.js | 6 +- ...nfigured-project-that-has-no-open-files.js | 16 ++- ...the-extended-configs-of-closed-projects.js | 54 +++++++- ...nclude-files-that-start-in-subDirectory.js | 1 + ...e-extended-configs-of-multiple-projects.js | 44 +++++++ ...s-not-jump-to-source-if-inlined-sources.js | 5 + ...indAllReferences-starting-at-definition.js | 24 ++++ ...findAllReferences-target-does-not-exist.js | 24 ++++ .../declarationFileMaps/findAllReferences.js | 28 ++++ ...rencesFull-definition-is-in-mapped-file.js | 8 ++ .../findAllReferencesFull.js | 28 ++++ ...nitionAndBoundSpan-with-file-navigation.js | 54 ++++++++ .../getDefinitionAndBoundSpan.js | 24 ++++ .../getEditsForFileRename.js | 24 ++++ .../goToDefinition-target-does-not-exist.js | 24 ++++ .../declarationFileMaps/goToDefinition.js | 24 ++++ .../declarationFileMaps/goToImplementation.js | 24 ++++ .../tsserver/declarationFileMaps/goToType.js | 24 ++++ .../declarationFileMaps/navigateTo.js | 24 ++++ ...ll-file-is-not-specified-but-project-is.js | 15 +++ ...l-neither-file-not-project-is-specified.js | 15 +++ .../renameLocations-starting-at-definition.js | 24 ++++ .../renameLocations-target-does-not-exist.js | 24 ++++ .../declarationFileMaps/renameLocations.js | 28 ++++ .../renameLocationsFull.js | 28 ++++ ...-orphan,-and-orphan-script-info-changes.js | 3 + ...he-source-file-if-script-info-is-orphan.js | 3 + ...n-script-info-with-different-scriptKind.js | 16 ++- ...eInferredProjectPerProjectRoot-is-false.js | 2 +- ...h-with-useInferredProjectPerProjectRoot.js | 7 +- ...eference-paths-without-external-project.js | 4 +- .../dynamic-file-without-external-project.js | 3 +- ...Path-is-different-from-currentDirectory.js | 10 +- .../dynamicFiles/opening-untitled-files.js | 23 +++- ...tled-can-convert-positions-to-locations.js | 3 +- .../tsserver/dynamicFiles/untitled.js | 4 +- .../dynamicFiles/walkThroughSnippet.js | 4 +- ...anging-scriptKind-of-the-untitled-files.js | 15 ++- ...e-service-disabled-events-are-triggered.js | 14 ++ ...g-file-when-using-default-event-handler.js | 7 + ...ed-config-file-when-using-event-handler.js | 7 + ...g-file-when-using-default-event-handler.js | 7 + ...he-config-file-when-using-event-handler.js | 7 + ...sabled-when-using-default-event-handler.js | 2 + ...ct-is-disabled-when-using-event-handler.js | 2 + ...opened-when-using-default-event-handler.js | 2 + ...file-is-opened-when-using-event-handler.js | 2 + ...direct-when-using-default-event-handler.js | 1 + ...erenceRedirect-when-using-event-handler.js | 1 + ...roject-when-using-default-event-handler.js | 1 + ...cation-project-when-using-event-handler.js | 1 + ...he-session-and-project-is-at-root-level.js | 7 + ...ession-and-project-is-not-at-root-level.js | 9 ++ ...tself-if---isolatedModules-is-specified.js | 2 + ...self-if---out-or---outFile-is-specified.js | 2 + ...should-be-up-to-date-with-deleted-files.js | 2 + ...-be-up-to-date-with-newly-created-files.js | 2 + ...-to-date-with-the-reference-map-changes.js | 13 ++ ...session-and-should-contains-only-itself.js | 9 ++ ...should-detect-changes-in-non-root-files.js | 9 ++ ...nd-should-detect-non-existing-code-file.js | 4 + ...ion-and-should-detect-removed-code-file.js | 2 + ...ll-files-if-a-global-file-changed-shape.js | 2 + ...ould-return-cascaded-affected-file-list.js | 16 +++ ...fine-for-files-with-circular-references.js | 2 + ...et-in-the-session-and-when---out-is-set.js | 9 ++ ...n-the-session-and-when---outFile-is-set.js | 9 ++ ...in-the-session-and-when-adding-new-file.js | 4 + ...ssion-and-when-both-options-are-not-set.js | 9 ++ ...oundUpdate-and-project-is-at-root-level.js | 7 + ...Update-and-project-is-not-at-root-level.js | 9 ++ ...tself-if---isolatedModules-is-specified.js | 2 + ...self-if---out-or---outFile-is-specified.js | 2 + ...should-be-up-to-date-with-deleted-files.js | 2 + ...-be-up-to-date-with-newly-created-files.js | 2 + ...-to-date-with-the-reference-map-changes.js | 13 ++ ...dUpdate-and-should-contains-only-itself.js | 9 ++ ...should-detect-changes-in-non-root-files.js | 9 ++ ...nd-should-detect-non-existing-code-file.js | 4 + ...ate-and-should-detect-removed-code-file.js | 2 + ...ll-files-if-a-global-file-changed-shape.js | 2 + ...ould-return-cascaded-affected-file-list.js | 16 +++ ...fine-for-files-with-circular-references.js | 2 + ...nBackgroundUpdate-and-when---out-is-set.js | 9 ++ ...kgroundUpdate-and-when---outFile-is-set.js | 9 ++ ...ckgroundUpdate-and-when-adding-new-file.js | 4 + ...pdate-and-when-both-options-are-not-set.js | 9 ++ ...oundUpdate-and-project-is-at-root-level.js | 7 + ...Update-and-project-is-not-at-root-level.js | 7 + ...tself-if---isolatedModules-is-specified.js | 2 + ...self-if---out-or---outFile-is-specified.js | 2 + ...should-be-up-to-date-with-deleted-files.js | 2 + ...-be-up-to-date-with-newly-created-files.js | 2 + ...-to-date-with-the-reference-map-changes.js | 13 ++ ...dUpdate-and-should-contains-only-itself.js | 9 ++ ...should-detect-changes-in-non-root-files.js | 9 ++ ...nd-should-detect-non-existing-code-file.js | 4 + ...ate-and-should-detect-removed-code-file.js | 2 + ...ll-files-if-a-global-file-changed-shape.js | 2 + ...ould-return-cascaded-affected-file-list.js | 16 +++ ...fine-for-files-with-circular-references.js | 2 + ...nBackgroundUpdate-and-when---out-is-set.js | 9 ++ ...kgroundUpdate-and-when---outFile-is-set.js | 9 ++ ...ckgroundUpdate-and-when-adding-new-file.js | 4 + ...pdate-and-when-both-options-are-not-set.js | 9 ++ .../canUseWatchEvents-without-canUseEvents.js | 9 ++ .../events/watchEvents/canUseWatchEvents.js | 9 ++ ...ckage.json-is-changed-inconsequentially.js | 11 ++ ...ansient-symbols-through-program-updates.js | 1 + ...-file-is-opened-with-different-contents.js | 7 + ...idates-the-cache-when-files-are-deleted.js | 3 + ...ates-the-cache-when-new-files-are-added.js | 3 + ...ge-results-in-AutoImportProvider-change.js | 3 + ...zyConfiguredProjectsFromExternalProject.js | 2 + ...s-changes-in-lib-section-of-config-file.js | 2 + ...zyConfiguredProjectsFromExternalProject.js | 6 + ...tly-handling-add-or-remove-tsconfig---1.js | 4 + ...zyConfiguredProjectsFromExternalProject.js | 18 +++ ...tly-handling-add-or-remove-tsconfig---2.js | 10 ++ ...zyConfiguredProjectsFromExternalProject.js | 3 + ...-opened-from-the-external-project-works.js | 1 + .../external-project-for-dynamic-file.js | 5 +- ...rnal-project-that-included-config-files.js | 24 +++- ...fter-configured-project-and-then-closed.js | 8 ++ ...ig-file-opened-after-configured-project.js | 2 + ...re-jsconfig-creation-watcher-is-invoked.js | 4 +- ...ProjectsFromExternalProject-is-disabled.js | 4 + .../remove-not-listed-external-projects.js | 3 + ...non-existing-directories-in-config-file.js | 16 ++- ...ose-external-project-with-no-open-files.js | 1 + ...-was-updated-and-no-longer-has-the-file.js | 2 + ...nging-module-name-with-different-casing.js | 2 + ...hen-renaming-file-with-different-casing.js | 6 + .../autoImportCrossProject_baseUrl_toDist.js | 2 + ...toImportCrossProject_paths_sharedOutDir.js | 1 + .../autoImportCrossProject_paths_stripSrc.js | 32 +++++ .../autoImportCrossProject_paths_toDist.js | 32 +++++ .../autoImportCrossProject_paths_toDist2.js | 2 + .../autoImportCrossProject_paths_toSrc.js | 32 +++++ ...utoImportCrossProject_symlinks_stripSrc.js | 18 +++ .../autoImportCrossProject_symlinks_toDist.js | 18 +++ .../autoImportCrossProject_symlinks_toSrc.js | 18 +++ .../fourslashServer/autoImportProvider1.js | 1 + .../fourslashServer/autoImportProvider3.js | 2 + .../fourslashServer/autoImportProvider4.js | 22 ++++ .../fourslashServer/autoImportProvider5.js | 1 + .../fourslashServer/autoImportProvider6.js | 10 ++ .../fourslashServer/autoImportProvider7.js | 15 +++ .../fourslashServer/autoImportProvider8.js | 15 +++ .../autoImportProvider_exportMap1.js | 10 ++ .../autoImportProvider_exportMap2.js | 14 ++ .../autoImportProvider_exportMap3.js | 14 ++ .../autoImportProvider_exportMap4.js | 10 ++ .../autoImportProvider_exportMap5.js | 10 ++ .../autoImportProvider_exportMap6.js | 10 ++ .../autoImportProvider_exportMap7.js | 10 ++ .../autoImportProvider_exportMap8.js | 10 ++ .../autoImportProvider_exportMap9.js | 10 ++ .../autoImportProvider_importsMap1.js | 1 + .../autoImportProvider_importsMap2.js | 1 + .../autoImportProvider_importsMap3.js | 1 + .../autoImportProvider_importsMap4.js | 1 + .../autoImportProvider_importsMap5.js | 1 + .../autoImportProvider_pnpm.js | 15 +++ .../autoImportProvider_referencesCrash.js | 4 + .../autoImportReExportFromAmbientModule.js | 11 ++ ...autoImportRelativePathToMonorepoPackage.js | 10 ++ .../autoImportSymlinkedJsPackages.js | 2 + .../completionEntryDetailAcrossFiles01.js | 3 + .../completionEntryDetailAcrossFiles02.js | 3 + .../tsserver/fourslashServer/completions01.js | 17 ++- .../tsserver/fourslashServer/completions02.js | 8 ++ ...mport_addToNamedWithDifferentCacheValue.js | 14 ++ .../completionsImport_computedSymbolName.js | 22 +++- ...nsImport_defaultAndNamedConflict_server.js | 11 ++ ...letionsImport_jsModuleExportsAssignment.js | 22 ++++ .../completionsImport_mergedReExport.js | 32 +++++ ...mpletionsImport_sortingModuleSpecifiers.js | 10 ++ .../completionsOverridingMethodCrash2.js | 22 +++- .../fourslashServer/configurePlugin.js | 10 ++ .../declarationMapsEnableMapping_NoInline.js | 10 ++ ...rationMapsEnableMapping_NoInlineSources.js | 10 ++ ...clarationMapsGeneratedMapsEnableMapping.js | 10 ++ ...larationMapsGeneratedMapsEnableMapping2.js | 10 ++ ...larationMapsGeneratedMapsEnableMapping3.js | 10 ++ ...oToDefinitionSameNameDifferentDirectory.js | 3 + .../declarationMapsOutOfDateMapping.js | 3 + .../fourslashServer/documentHighlights02.js | 3 + .../tsserver/fourslashServer/format01.js | 1 + .../formatBracketInSwitchCase.js | 1 + .../tsserver/fourslashServer/formatOnEnter.js | 1 + ...formatSpaceBetweenFunctionAndArrayIndex.js | 1 + .../tsserver/fourslashServer/formatonkey01.js | 1 + .../getFileReferences_deduplicate.js | 3 + .../getFileReferences_server1.js | 1 + .../getFileReferences_server2.js | 4 + .../goToDefinitionScriptImportServer.js | 3 + .../fourslashServer/goToSource15_bundler.js | 10 ++ .../goToSource5_sameAsGoToDef1.js | 3 + .../fourslashServer/impliedNodeFormat.js | 21 +++ ...importNameCodeFix_externalNonRelateive2.js | 31 +++++ .../importNameCodeFix_externalNonRelative1.js | 4 + .../importNameCodeFix_pnpm1.js | 11 ++ .../importStatementCompletions_pnpm1.js | 10 ++ ...portStatementCompletions_pnpmTransitive.js | 10 ++ .../importSuggestionsCache_ambient.js | 43 +++++++ .../importSuggestionsCache_coreNodeModules.js | 14 ++ .../importSuggestionsCache_exportUndefined.js | 10 ++ ...portSuggestionsCache_invalidPackageJson.js | 10 ++ ...portSuggestionsCache_moduleAugmentation.js | 21 +++ .../isDefinitionAcrossGlobalProjects.js | 48 +++++++ .../isDefinitionAcrossModuleProjects.js | 66 ++++++++++ .../jsdocTypedefTagRename04.js | 9 +- .../tsserver/fourslashServer/ngProxy1.js | 10 ++ .../tsserver/fourslashServer/ngProxy2.js | 10 ++ .../tsserver/fourslashServer/ngProxy3.js | 10 ++ .../tsserver/fourslashServer/ngProxy4.js | 10 ++ .../nodeNextModuleKindCaching1.js | 10 ++ .../nodeNextPathCompletions.js | 7 + .../tsserver/fourslashServer/projectInfo01.js | 6 + .../tsserver/fourslashServer/references01.js | 3 + ...ferencesInEmptyFileWithMultipleProjects.js | 10 ++ ...nStringLiteralValueWithMultipleProjects.js | 10 ++ .../fourslashServer/renameNamedImport.js | 10 ++ .../fourslashServer/renameNamespaceImport.js | 10 ++ .../tripleSlashReferenceResolutionMode.js | 10 ++ .../tsconfigComputedPropertyError.js | 1 + .../fourslashServer/tsxIncrementalServer.js | 1 + .../should-not-error.js | 2 +- .../should-not-error.js | 2 +- ...oject-root-with-case-insensitive-system.js | 120 ++++++++++++++++++ ...project-root-with-case-sensitive-system.js | 117 ++++++++++++++++- .../project-settings-for-inferred-projects.js | 8 +- ...-project-created-while-opening-the-file.js | 11 ++ ...project-if-useOneInferredProject-is-set.js | 2 + ...ting-inferred-project-has-no-root-files.js | 4 + ...Open-request-does-not-corrupt-documents.js | 14 ++ .../with-config-with-redirection.js | 21 +++ .../tsserver/libraryResolution/with-config.js | 21 +++ ...t-to-2-if-the-project-has-js-root-files.js | 1 + ...-js-root-files-are-removed-from-project.js | 1 + .../moduleResolution/alternateResult.js | 24 ++++ ...en-package-json-with-type-module-exists.js | 10 ++ .../package-json-file-is-edited.js | 10 ++ .../using-referenced-project-built.js | 4 + .../using-referenced-project.js | 4 + ...date-the-cache-when-new-files-are-added.js | 3 + ...he-cache-when-local-packageJson-changes.js | 1 + ...-when-module-resolution-settings-change.js | 2 + ...ache-when-symlinks-are-added-or-removed.js | 3 + ...ate-symbols-when-searching-all-projects.js | 5 + .../different-content-refreshes-sourceFile.js | 15 +++ .../openfile/does-not-refresh-sourceFile.js | 14 ++ ...ot-refresh-sourceFile-if-contents-match.js | 22 ++++ ...ile-and-then-close-refreshes-sourceFile.js | 22 ++++ ...ot-is-used-with-case-insensitive-system.js | 66 ++++++++++ ...root-is-used-with-case-sensitive-system.js | 52 ++++++++ ...ject-even-if-project-refresh-is-pending.js | 2 + ...-directives,-they-are-handled-correcrly.js | 14 ++ ...re-added,-caches-them,-and-watches-them.js | 4 + ...ultiple-package.json-files-when-present.js | 4 + ...r-deletion,-and-removes-them-from-cache.js | 4 + .../handles-empty-package.json.js | 4 + ...-errors-in-json-parsing-of-package.json.js | 4 + ...ternal-module-name-resolution-is-reused.js | 4 + ...-external-files-with-config-file-reload.js | 2 + ...on-ts-extensions-with-wildcard-matching.js | 9 ++ ...LS-to-get-program-and-update-is-pending.js | 2 + .../pluginsAsync/adds-external-files.js | 9 +- .../plugins-are-not-loaded-immediately.js | 2 +- ...er-even-if-imports-resolve-out-of-order.js | 2 +- ...ect-is-closed-before-plugins-are-loaded.js | 6 +- ...sends-projectsUpdatedInBackground-event.js | 2 +- ...-generated-when-the-config-file-changes.js | 14 ++ ...-file-opened-and-config-file-has-errors.js | 10 ++ ...le-opened-and-doesnt-contain-any-errors.js | 10 ++ ...ts---diagnostics-for-corrupted-config-1.js | 7 + ...ts---diagnostics-for-corrupted-config-2.js | 7 + ...rojects---diagnostics-for-missing-files.js | 2 + ...-same-ambient-module-and-is-also-module.js | 7 + ...iagnostics-after-noUnusedLabels-changes.js | 7 + ...project---diagnostics-for-missing-files.js | 4 + ...project-structure-and-reports-no-errors.js | 2 + .../projectErrors/for-inferred-project.js | 2 + ...-when-timeout-occurs-after-installation.js | 4 + ...n-timeout-occurs-inbetween-installation.js | 4 + ...pened-right-after-closing-the-root-file.js | 2 + ...esnt-exist-on-disk-yet-with-projectRoot.js | 5 - ...t-exist-on-disk-yet-without-projectRoot.js | 5 - .../projectErrors/when-options-change.js | 7 + ...-on-dependency-and-change-to-dependency.js | 12 ++ .../save-on-dependency-and-change-to-usage.js | 10 ++ ...pendency-and-local-change-to-dependency.js | 12 ++ ...on-dependency-and-local-change-to-usage.js | 10 ++ ...y-with-project-and-change-to-dependency.js | 12 ++ ...ndency-with-project-and-change-to-usage.js | 1 + ...-project-and-local-change-to-dependency.js | 12 ++ ...-with-project-and-local-change-to-usage.js | 1 + ...-usage-project-and-change-to-dependency.js | 12 ++ ...-with-usage-project-and-change-to-usage.js | 10 ++ ...-project-and-local-change-to-dependency.js | 12 ++ ...usage-project-and-local-change-to-usage.js | 10 ++ .../save-on-usage-and-change-to-dependency.js | 12 ++ .../save-on-usage-and-change-to-usage.js | 10 ++ ...nd-local-change-to-dependency-with-file.js | 12 ++ ...on-usage-and-local-change-to-dependency.js | 12 ++ ...-and-local-change-to-usage-with-project.js | 10 ++ ...save-on-usage-and-local-change-to-usage.js | 10 ++ ...e-with-project-and-change-to-dependency.js | 12 ++ ...-usage-with-project-and-change-to-usage.js | 10 ++ ...-on-dependency-and-change-to-dependency.js | 7 + ...-save-on-dependency-and-change-to-usage.js | 7 + ...pendency-and-local-change-to-dependency.js | 7 + ...on-dependency-and-local-change-to-usage.js | 7 + ...y-with-project-and-change-to-dependency.js | 7 + ...ndency-with-project-and-change-to-usage.js | 7 + ...-project-and-local-change-to-dependency.js | 7 + ...-with-project-and-local-change-to-usage.js | 7 + ...save-on-usage-and-change-to-depenedency.js | 7 + ...n-and-save-on-usage-and-change-to-usage.js | 7 + ...on-usage-and-local-change-to-dependency.js | 7 + ...save-on-usage-and-local-change-to-usage.js | 7 + ...-with-project-and-change-to-depenedency.js | 7 + ...-usage-with-project-and-change-to-usage.js | 7 + ...-project-and-local-change-to-dependency.js | 7 + ...-with-project-and-local-change-to-usage.js | 7 + .../ancestor-and-project-ref-management.js | 88 ++++++++++++- ...disableSourceOfProjectReferenceRedirect.js | 2 + ...port-with-referenced-project-when-built.js | 2 + .../auto-import-with-referenced-project.js | 2 + ...ssfully-find-references-with-out-option.js | 6 + ...indirect-project-but-not-in-another-one.js | 29 ++++- ...dProjectLoad-is-set-in-indirect-project.js | 29 ++++- ...-if-disableReferencedProjectLoad-is-set.js | 18 ++- ...-are-disabled-and-a-decl-map-is-present.js | 1 + ...s-are-enabled-and-a-decl-map-is-missing.js | 1 + ...s-are-enabled-and-a-decl-map-is-present.js | 1 + .../sibling-projects.js | 5 + ...ding-references-in-overlapping-projects.js | 11 ++ ...solution-is-built-with-preserveSymlinks.js | 7 + ...-and-has-index.ts-and-solution-is-built.js | 7 + ...tion-is-not-built-with-preserveSymlinks.js | 7 + ...-has-index.ts-and-solution-is-not-built.js | 7 + ...solution-is-built-with-preserveSymlinks.js | 7 + ...th-scoped-package-and-solution-is-built.js | 7 + ...tion-is-not-built-with-preserveSymlinks.js | 7 + ...coped-package-and-solution-is-not-built.js | 7 + ...solution-is-built-with-preserveSymlinks.js | 7 + ...le-from-subFolder-and-solution-is-built.js | 7 + ...tion-is-not-built-with-preserveSymlinks.js | 7 + ...rom-subFolder-and-solution-is-not-built.js | 7 + ...solution-is-built-with-preserveSymlinks.js | 7 + ...th-scoped-package-and-solution-is-built.js | 7 + ...tion-is-not-built-with-preserveSymlinks.js | 7 + ...coped-package-and-solution-is-not-built.js | 7 + ...disableSourceOfProjectReferenceRedirect.js | 8 ++ ...ect-when-referenced-project-is-not-open.js | 2 + ...disableSourceOfProjectReferenceRedirect.js | 10 ++ ...project-when-referenced-project-is-open.js | 4 + ...ject-is-directly-referenced-by-solution.js | 72 ++++++++++- ...ct-is-indirectly-referenced-by-solution.js | 99 ++++++++++++++- ...om-composite-and-non-composite-projects.js | 1 + ...nced-project-and-using-declaration-maps.js | 4 + ...ot-file-is-file-from-referenced-project.js | 4 + ...indirect-project-but-not-in-another-one.js | 29 ++++- ...dProjectLoad-is-set-in-indirect-project.js | 29 ++++- ...-if-disableReferencedProjectLoad-is-set.js | 18 ++- ...ces-open-file-through-project-reference.js | 76 ++++++++++- ...ct-is-indirectly-referenced-by-solution.js | 104 ++++++++++++++- ...nction-as-object-literal-property-types.js | 6 + ...row-function-as-object-literal-property.js | 5 + ...ss-when-using-arrow-function-assignment.js | 6 + ...s-when-using-method-of-class-expression.js | 6 + ...ness-when-using-object-literal-property.js | 6 + ...cts-are-open-and-one-project-references.js | 6 + ...dts-changes-with-timeout-before-request.js | 10 ++ .../dependency-dts-changes.js | 10 ++ .../dependency-dts-created.js | 52 +++++++- .../dependency-dts-deleted.js | 52 +++++++- .../dependency-dts-not-present.js | 42 +++++- ...Map-changes-with-timeout-before-request.js | 10 ++ .../dependency-dtsMap-changes.js | 10 ++ .../dependency-dtsMap-created.js | 52 +++++++- .../dependency-dtsMap-deleted.js | 52 +++++++- .../dependency-dtsMap-not-present.js | 42 +++++- .../configHasNoReference/rename-locations.js | 42 +++++- ...ile-changes-with-timeout-before-request.js | 10 ++ .../usage-file-changes.js | 10 ++ ...dts-changes-with-timeout-before-request.js | 10 ++ .../dependency-dts-changes.js | 10 ++ .../dependency-dts-created.js | 52 +++++++- .../dependency-dts-deleted.js | 52 +++++++- .../dependency-dts-not-present.js | 42 +++++- ...Map-changes-with-timeout-before-request.js | 10 ++ .../dependency-dtsMap-changes.js | 10 ++ .../dependency-dtsMap-created.js | 52 +++++++- .../dependency-dtsMap-deleted.js | 52 +++++++- .../dependency-dtsMap-not-present.js | 42 +++++- ...rce-changes-with-timeout-before-request.js | 10 ++ .../dependency-source-changes.js | 10 ++ .../configWithReference/rename-locations.js | 42 +++++- ...ile-changes-with-timeout-before-request.js | 10 ++ .../configWithReference/usage-file-changes.js | 10 ++ .../when-projects-are-not-built.js | 42 +++++- ...dts-changes-with-timeout-before-request.js | 10 ++ .../dependency-dts-changes.js | 10 ++ .../dependency-dts-created.js | 52 +++++++- .../dependency-dts-deleted.js | 52 +++++++- .../dependency-dts-not-present.js | 42 +++++- ...Map-changes-with-timeout-before-request.js | 10 ++ .../dependency-dtsMap-changes.js | 10 ++ .../dependency-dtsMap-created.js | 52 +++++++- .../dependency-dtsMap-deleted.js | 52 +++++++- .../dependency-dtsMap-not-present.js | 42 +++++- .../disabledSourceRef/rename-locations.js | 42 +++++- ...ile-changes-with-timeout-before-request.js | 10 ++ .../disabledSourceRef/usage-file-changes.js | 10 ++ ...dts-changes-with-timeout-before-request.js | 17 +++ .../dependency-dts-changes.js | 31 +++++ .../dependency-dts-created.js | 85 ++++++++++++- .../dependency-dts-deleted.js | 98 +++++++++++++- .../dependency-dts-not-present.js | 70 +++++++++- ...Map-changes-with-timeout-before-request.js | 17 +++ .../dependency-dtsMap-changes.js | 31 +++++ .../dependency-dtsMap-created.js | 98 +++++++++++++- .../dependency-dtsMap-deleted.js | 111 +++++++++++++++- .../dependency-dtsMap-not-present.js | 70 +++++++++- .../goToDef-and-rename-locations.js | 80 +++++++++++- ...ile-changes-with-timeout-before-request.js | 32 +++++ .../usage-file-changes.js | 32 +++++ ...dts-changes-with-timeout-before-request.js | 18 +++ .../dependency-dts-changes.js | 33 +++++ .../dependency-dts-created.js | 101 ++++++++++++++- .../dependency-dts-deleted.js | 118 ++++++++++++++++- .../dependency-dts-not-present.js | 85 ++++++++++++- ...Map-changes-with-timeout-before-request.js | 18 +++ .../dependency-dtsMap-changes.js | 33 +++++ .../dependency-dtsMap-created.js | 118 ++++++++++++++++- .../dependency-dtsMap-deleted.js | 118 ++++++++++++++++- .../dependency-dtsMap-not-present.js | 85 ++++++++++++- ...rce-changes-with-timeout-before-request.js | 33 +++++ .../dependency-source-changes.js | 33 +++++ .../gotoDef-and-rename-locations.js | 85 ++++++++++++- ...ile-changes-with-timeout-before-request.js | 34 +++++ .../configWithReference/usage-file-changes.js | 34 +++++ .../when-projects-are-not-built.js | 85 ++++++++++++- ...dts-changes-with-timeout-before-request.js | 17 +++ .../dependency-dts-changes.js | 31 +++++ .../dependency-dts-created.js | 85 ++++++++++++- .../dependency-dts-deleted.js | 98 +++++++++++++- .../dependency-dts-not-present.js | 70 +++++++++- ...Map-changes-with-timeout-before-request.js | 17 +++ .../dependency-dtsMap-changes.js | 31 +++++ .../dependency-dtsMap-created.js | 98 +++++++++++++- .../dependency-dtsMap-deleted.js | 111 +++++++++++++++- .../dependency-dtsMap-not-present.js | 70 +++++++++- .../gotoDef-and-rename-locations.js | 80 +++++++++++- ...ile-changes-with-timeout-before-request.js | 32 +++++ .../disabledSourceRef/usage-file-changes.js | 32 +++++ .../can-go-to-definition-correctly.js | 42 +++++- ...dts-changes-with-timeout-before-request.js | 10 ++ .../dependency-dts-changes.js | 10 ++ .../dependency-dts-created.js | 42 +++++- .../dependency-dts-deleted.js | 44 ++++++- .../dependency-dts-not-present.js | 42 +++++- ...Map-changes-with-timeout-before-request.js | 10 ++ .../dependency-dtsMap-changes.js | 10 ++ .../dependency-dtsMap-created.js | 52 +++++++- .../dependency-dtsMap-deleted.js | 52 +++++++- .../dependency-dtsMap-not-present.js | 42 +++++- ...ile-changes-with-timeout-before-request.js | 10 ++ .../usage-file-changes.js | 10 ++ .../can-go-to-definition-correctly.js | 42 +++++- .../dependency-dts-created.js | 42 +++++- .../dependency-dts-deleted.js | 42 +++++- .../dependency-dts-not-present.js | 42 +++++- .../dependency-dtsMap-created.js | 42 +++++- .../dependency-dtsMap-deleted.js | 42 +++++- .../dependency-dtsMap-not-present.js | 42 +++++- ...rce-changes-with-timeout-before-request.js | 10 ++ .../dependency-source-changes.js | 10 ++ ...ile-changes-with-timeout-before-request.js | 10 ++ .../configWithReference/usage-file-changes.js | 10 ++ .../when-projects-are-not-built.js | 42 +++++- .../can-go-to-definition-correctly.js | 42 +++++- ...dts-changes-with-timeout-before-request.js | 10 ++ .../dependency-dts-changes.js | 10 ++ .../dependency-dts-created.js | 42 +++++- .../dependency-dts-deleted.js | 44 ++++++- .../dependency-dts-not-present.js | 42 +++++- ...Map-changes-with-timeout-before-request.js | 10 ++ .../dependency-dtsMap-changes.js | 10 ++ .../dependency-dtsMap-created.js | 52 +++++++- .../dependency-dtsMap-deleted.js | 52 +++++++- .../dependency-dtsMap-not-present.js | 42 +++++- ...ile-changes-with-timeout-before-request.js | 10 ++ .../disabledSourceRef/usage-file-changes.js | 10 ++ ...projects-at-opened-and-closed-correctly.js | 33 +++-- ...-are-handled-correctly-on-watch-trigger.js | 5 +- ...iles-are-reflected-in-project-structure.js | 6 +- .../clear-mixed-content-file-after-closing.js | 7 + .../projects/config-file-is-deleted.js | 2 + ...orrectly-migrate-files-between-projects.js | 32 +++-- ...zyConfiguredProjectsFromExternalProject.js | 1 + .../deleted-files-affect-project-structure.js | 2 + ...configured-project-that-will-be-removed.js | 10 ++ ...-and-closed-affecting-multiple-projects.js | 8 ++ ...ith-mixed-content-are-handled-correctly.js | 1 + ...getting-project-from-orphan-script-info.js | 6 + ...directory-watch-invoke-on-file-creation.js | 8 ++ ...issing-files-added-with-tripleslash-ref.js | 2 + ...configured-project-that-will-be-removed.js | 10 ++ .../loading-files-with-correct-priority.js | 22 +++- ...erred-if-files-are-not-added-or-removed.js | 1 + ...configured-project-that-will-be-removed.js | 10 ++ .../reload-regular-file-after-closing.js | 7 + ...Reload-but-has-svc-for-previous-version.js | 7 + ...iles-excluded-from-a-configured-project.js | 2 + ...-from-different-caches-are-incompatible.js | 7 + ...updates-to-redirect-info-when-requested.js | 4 + ...che-handles-changes-in-project-settings.js | 8 ++ .../projects/tsconfig-script-block-support.js | 7 + .../projectsWithReferences/sample-project.js | 16 +++ ...es-with-deleting-referenced-config-file.js | 4 + ...ing-transitively-referenced-config-file.js | 4 + ...ces-with-edit-in-referenced-config-file.js | 4 + ...ive-references-with-edit-on-config-file.js | 4 + ...ansitive-references-with-non-local-edit.js | 7 + ...es-with-deleting-referenced-config-file.js | 4 + ...ing-transitively-referenced-config-file.js | 4 + ...les-with-edit-in-referenced-config-file.js | 4 + ...-without-files-with-edit-on-config-file.js | 4 + ...ences-without-files-with-non-local-edit.js | 7 + ...cript-info-doesnt-have-any-project-open.js | 25 ++-- .../reload/should-work-with-temp-file.js | 1 + .../rename-TS-file-with-js-extension.js | 3 + ...r-is-based-on-file-of-rename-initiation.js | 3 + .../with-symlinks-and-case-difference.js | 5 + ...le-name-from-files-in-different-folders.js | 2 + ...e-module-name-from-files-in-same-folder.js | 2 + ...ative-module-name-from-inferred-project.js | 2 + .../npm-install-@types-works.js | 2 + ...le-name-from-files-in-different-folders.js | 2 + ...e-module-name-from-files-in-same-folder.js | 2 + ...tore-the-states-for-configured-projects.js | 4 + ...estore-the-states-for-inferred-projects.js | 4 + ...ld-property-handle-missing-config-files.js | 1 + ...hould-remove-the-module-not-found-error.js | 2 + ...ectly-when-typings-are-added-or-removed.js | 4 + .../skipLibCheck/jsonly-inferred-project.js | 3 + ...r-in-configured-js-project-with-tscheck.js | 2 + ...rror-in-configured-project-with-tscheck.js | 2 + ...eclaration-files-with-skipLibCheck=true.js | 2 + ...tion-when-project-compiles-from-sources.js | 4 + ...mpiles-after-deleting-generated-folders.js | 2 + ...ping-when-project-compiles-from-sources.js | 4 + ...s-in-typings-folder-and-then-recompiles.js | 2 + ...mpiles-after-deleting-generated-folders.js | 4 + .../when-not-symlink-but-differs-in-casing.js | 21 +++ ...ed-project-and-semantic-operations-fail.js | 1 + ...de-referenced-files-from-unopened-files.js | 1 + ...emoved-and-added-with-different-content.js | 6 + ...ven-for-project-with-ts-check-in-config.js | 2 + .../telemetry/only-sends-an-event-once.js | 8 ++ .../sends-telemetry-for-file-sizes.js | 2 + ...-telemetry-for-typeAcquisition-settings.js | 2 + .../telemetry/works-with-external-project.js | 1 + ...enceDirective-contains-UpperCasePackage.js | 7 + ...ted-if-program-structure-did-not-change.js | 1 + ...projects-discover-from-bower_components.js | 4 + .../typingsInstaller/configured-projects.js | 2 + .../typingsInstaller/discover-from-bower.js | 4 + ...rom-node_modules-empty-types-has-import.js | 4 + .../discover-from-node_modules-empty-types.js | 2 + ...scover-from-node_modules-explicit-types.js | 2 + .../discover-from-node_modules.js | 5 + .../typingsInstaller/expired-cache-entry.js | 2 + .../external-projects-autoDiscovery.js | 1 + .../external-projects-no-type-acquisition.js | 2 + .../external-projects-type-acquisition.js | 2 + .../typingsInstaller/inferred-projects.js | 2 + .../install-typings-for-unresolved-imports.js | 2 + ...date-the-resolutions-with-trimmed-names.js | 5 + .../invalidate-the-resolutions.js | 5 + .../typingsInstaller/malformed-packagejson.js | 2 + .../typingsInstaller/multiple-projects.js | 10 ++ .../non-expired-cache-entry.js | 1 + .../typingsInstaller/progress-notification.js | 2 + ...utions-pointing-to-js-on-typing-install.js | 2 + .../typingsInstaller/scoped-name-discovery.js | 5 + .../should-handle-node-core-modules.js | 5 + .../typingsInstaller/telemetry-events.js | 2 + .../throttle-delayed-run-install-requests.js | 5 + .../throttle-delayed-typings-to-install.js | 2 + ...n-install-requests-with-defer-refreshed.js | 3 + ...requests-with-defer-while-queuing-again.js | 6 + ...heduled-run-install-requests-with-defer.js | 3 + ...install-requests-without-reaching-limit.js | 4 + .../perVolumeCasing-and-new-file-addition.js | 2 + ...polling-when-file-is-added-to-subfolder.js | 2 + ...rectory-when-file-is-added-to-subfolder.js | 2 + ...tchFile-when-file-is-added-to-subfolder.js | 2 + ...ere-workspaces-folder-is-hosted-at-root.js | 5 + 679 files changed, 9894 insertions(+), 405 deletions(-) diff --git a/src/harness/projectServiceStateLogger.ts b/src/harness/projectServiceStateLogger.ts index da50488c29634..326950ac39943 100644 --- a/src/harness/projectServiceStateLogger.ts +++ b/src/harness/projectServiceStateLogger.ts @@ -8,6 +8,8 @@ import { import { AutoImportProviderProject, AuxiliaryProject, + isBackgroundProject, + isConfiguredProject, LogLevel, Project, ProjectKind, @@ -21,6 +23,10 @@ import { interface ProjectData { projectStateVersion: Project["projectStateVersion"]; projectProgramVersion: Project["projectProgramVersion"]; + dirty: Project["dirty"]; + isClosed: boolean; + isOrphan: boolean; + noOpenRef: boolean; autoImportProviderHost: Project["autoImportProviderHost"]; noDtsResolutionProject: Project["noDtsResolutionProject"]; originalConfiguredProjects: Project["originalConfiguredProjects"]; @@ -83,6 +89,10 @@ export function patchServiceForStateBaseline(service: ProjectService) { const projectPropertyLogs = [] as string[]; projectDiff = printProperty(PrintPropertyWhen.Always, data, "projectStateVersion", project.projectStateVersion, projectDiff, projectPropertyLogs); projectDiff = printProperty(PrintPropertyWhen.Always, data, "projectProgramVersion", project.projectProgramVersion, projectDiff, projectPropertyLogs); + projectDiff = printProperty(PrintPropertyWhen.TruthyOrChangedOrNew, data, "dirty", project.dirty, projectDiff, projectPropertyLogs); + projectDiff = printProperty(PrintPropertyWhen.TruthyOrChangedOrNew, data, "isClosed", project.isClosed(), projectDiff, projectPropertyLogs); + projectDiff = printProperty(PrintPropertyWhen.TruthyOrChangedOrNew, data, "isOrphan", !isBackgroundProject(project) && project.isOrphan(), projectDiff, projectPropertyLogs); + projectDiff = printProperty(PrintPropertyWhen.TruthyOrChangedOrNew, data, "noOpenRef", isConfiguredProject(project) && !project.hasOpenRef(), projectDiff, projectPropertyLogs); projectDiff = printProperty(PrintPropertyWhen.DefinedOrChangedOrNew, data, "autoImportProviderHost", project.autoImportProviderHost, projectDiff, projectPropertyLogs, project.autoImportProviderHost ? project.autoImportProviderHost.projectName : project.autoImportProviderHost); projectDiff = printProperty(PrintPropertyWhen.DefinedOrChangedOrNew, data, "noDtsResolutionProject", project.noDtsResolutionProject, projectDiff, projectPropertyLogs, project.noDtsResolutionProject ? project.noDtsResolutionProject.projectName : project.noDtsResolutionProject); return printSetPropertyAndCreateStatementLog( @@ -100,6 +110,10 @@ export function patchServiceForStateBaseline(service: ProjectService) { project => ({ projectStateVersion: project.projectStateVersion, projectProgramVersion: project.projectProgramVersion, + dirty: project.dirty, + isClosed: project.isClosed(), + isOrphan: !isBackgroundProject(project) && project.isOrphan(), + noOpenRef: isConfiguredProject(project) && !project.hasOpenRef(), autoImportProviderHost: project.autoImportProviderHost, noDtsResolutionProject: project.noDtsResolutionProject, originalConfiguredProjects: project.originalConfiguredProjects && new Set(project.originalConfiguredProjects), @@ -127,7 +141,7 @@ export function patchServiceForStateBaseline(service: ProjectService) { } return printSetPropertyAndCreateStatementLog( logs, - `${info.fileName}${isOpen ? " (Open)" : ""}`, + `${info.fileName}${info.isDynamic ? " (Dynamic)" : ""}${isOpen ? " (Open)" : ""}`, PrintPropertyWhen.Always, "containingProjects", infoPropertyLogs, diff --git a/src/testRunner/unittests/helpers/tsserver.ts b/src/testRunner/unittests/helpers/tsserver.ts index c66bee402909a..d206ac660283f 100644 --- a/src/testRunner/unittests/helpers/tsserver.ts +++ b/src/testRunner/unittests/helpers/tsserver.ts @@ -34,13 +34,6 @@ export function baselineTsserverLogs(scenario: string, subScenario: string, sess Harness.Baseline.runBaseline(`tsserver/${scenario}/${subScenario.split(" ").join("-")}.js`, sessionOrService.logger.logs.join("\r\n")); } -export function appendAllScriptInfos(session: TestSession) { - session.logger.log(""); - session.logger.log(`ScriptInfos:`); - session.getProjectService().filenameToScriptInfo.forEach(info => session.logger.log(`path: ${info.path} fileName: ${info.fileName}`)); - session.logger.log(""); -} - export function toExternalFile(fileName: string): ts.server.protocol.ExternalFile { return { fileName }; } @@ -486,21 +479,9 @@ export function verifyGetErrScenario(scenario: VerifyGetErrScenario) { verifyErrorsUsingSyncMethods(scenario); } -export function verifyDynamic(session: TestSession, path: string) { - session.logger.log(`${path} isDynamic:: ${session.getProjectService().filenameToScriptInfo.get(path)!.isDynamic}`); -} - export function createHostWithSolutionBuild(files: readonly FileOrFolderOrSymLink[], rootNames: readonly string[]) { const host = createServerHost(files); // ts build should succeed ensureErrorFreeBuild(host, rootNames); return host; } - -export function logInferredProjectsOrphanStatus(session: TestSession) { - session.getProjectService().inferredProjects.forEach(inferredProject => session.logger.log(`Inferred project: ${inferredProject.projectName} isOrphan:: ${inferredProject.isOrphan()} isClosed: ${inferredProject.isClosed()}`)); -} - -export function logConfiguredProjectsHasOpenRefStatus(session: TestSession) { - session.getProjectService().configuredProjects.forEach(configuredProject => session.logger.log(`Configured project: ${configuredProject.projectName} hasOpenRef:: ${configuredProject.hasOpenRef()} isClosed: ${configuredProject.isClosed()}`)); -} diff --git a/src/testRunner/unittests/tsserver/autoImportProvider.ts b/src/testRunner/unittests/tsserver/autoImportProvider.ts index ee8b44c75f2c5..ea95cc427b2aa 100644 --- a/src/testRunner/unittests/tsserver/autoImportProvider.ts +++ b/src/testRunner/unittests/tsserver/autoImportProvider.ts @@ -95,11 +95,7 @@ describe("unittests:: tsserver:: autoImportProvider", () => { it("Auto-importable file is in inferred project until imported", () => { const { session, updateFile } = setup([angularFormsDts, angularFormsPackageJson, tsconfig, packageJson, indexTs]); openFilesForSession([angularFormsDts], session); - session.logger.log(`Default Project for ${angularFormsDts.path}:: ${session.getProjectService().getDefaultProjectForFile(angularFormsDts.path as ts.server.NormalizedPath, /*ensureProject*/ true)?.projectName}`); - updateFile(indexTs.path, "import '@angular/forms'"); - session.logger.log(`Default Project for ${angularFormsDts.path}:: ${session.getProjectService().getDefaultProjectForFile(angularFormsDts.path as ts.server.NormalizedPath, /*ensureProject*/ true)?.projectName}`); - assert.isUndefined(session.getProjectService().configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider()); session.host.baselineHost("After getAutoImportProvider"); baselineTsserverLogs("autoImportProvider", "Auto-importable file is in inferred project until imported", session); diff --git a/src/testRunner/unittests/tsserver/compileOnSave.ts b/src/testRunner/unittests/tsserver/compileOnSave.ts index 2837da600fb56..65dcbf465e5bb 100644 --- a/src/testRunner/unittests/tsserver/compileOnSave.ts +++ b/src/testRunner/unittests/tsserver/compileOnSave.ts @@ -1022,11 +1022,6 @@ describe("unittests:: tsserver:: compileOnSave:: CompileOnSaveAffectedFileListRe }); } - function logDirtyOfProjects(session: TestSession) { - session.logger.log(`Project1 is dirty: ${session.getProjectService().configuredProjects.get(`/user/username/projects/myproject/app1/tsconfig.json`)!.dirty}`); - session.logger.log(`Project2 is dirty: ${session.getProjectService().configuredProjects.get(`/user/username/projects/myproject/app2/tsconfig.json`)!.dirty}`); - } - function verify(subScenario: string, commandArgs: ts.server.protocol.FileRequestArgs) { it(subScenario, () => { const core: File = { @@ -1063,12 +1058,10 @@ describe("unittests:: tsserver:: compileOnSave:: CompileOnSaveAffectedFileListRe openFilesForSession([app1, app2, core], session); insertString(session, app1); insertString(session, app2); - logDirtyOfProjects(session); session.executeCommandSeq({ command: ts.server.protocol.CommandTypes.CompileOnSaveAffectedFileList, arguments: commandArgs, }); - logDirtyOfProjects(session); baselineTsserverLogs("compileOnSave", subScenario, session); }); } diff --git a/src/testRunner/unittests/tsserver/configuredProjects.ts b/src/testRunner/unittests/tsserver/configuredProjects.ts index 483435b5fa4ef..d5182830f2cc9 100644 --- a/src/testRunner/unittests/tsserver/configuredProjects.ts +++ b/src/testRunner/unittests/tsserver/configuredProjects.ts @@ -12,8 +12,6 @@ import { import { baselineTsserverLogs, closeFilesForSession, - logConfiguredProjectsHasOpenRefStatus, - logInferredProjectsOrphanStatus, openFilesForSession, TestSession, verifyGetErrRequest, @@ -230,8 +228,6 @@ describe("unittests:: tsserver:: ConfiguredProjects", () => { host.runQueuedTimeoutCallbacks(); // will not remove project 1 - logInferredProjectsOrphanStatus(session); - // Open random file and it will reuse first inferred project openFilesForSession([randomFile], session); baselineTsserverLogs("configuredProjects", "should properly handle module resolution changes in config file", session); @@ -301,13 +297,8 @@ describe("unittests:: tsserver:: ConfiguredProjects", () => { const host = createServerHost([file1, file2, configFile, libFile]); const session = new TestSession({ host, useSingleInferredProject: true }); openFilesForSession([file1], session); - logConfiguredProjectsHasOpenRefStatus(session); // file1 - closeFilesForSession([file1], session); - logConfiguredProjectsHasOpenRefStatus(session); // No open files - openFilesForSession([file2], session); - logConfiguredProjectsHasOpenRefStatus(session); // file2 baselineTsserverLogs("configuredProjects", "should reuse same project if file is opened from the configured project that has no open files", session); }); @@ -328,13 +319,8 @@ describe("unittests:: tsserver:: ConfiguredProjects", () => { const host = createServerHost([file1, configFile, libFile]); const session = new TestSession({ host, useSingleInferredProject: true }); openFilesForSession([file1], session); - logConfiguredProjectsHasOpenRefStatus(session); // file1 - closeFilesForSession([file1], session); - logConfiguredProjectsHasOpenRefStatus(session); // No files - openFilesForSession([libFile], session); - logConfiguredProjectsHasOpenRefStatus(session); // No files + project closed baselineTsserverLogs("configuredProjects", "should not close configured project after closing last open file, but should be closed on next file open if its not the file from same project", session); }); @@ -362,7 +348,6 @@ describe("unittests:: tsserver:: ConfiguredProjects", () => { host.writeFile(configFile.path, configFile.content); host.runQueuedTimeoutCallbacks(); // load configured project from disk + ensureProjectsForOpenFiles - logInferredProjectsOrphanStatus(session); baselineTsserverLogs("configuredProjects", "open file become a part of configured project if it is referenced from root file", session); }); @@ -466,24 +451,11 @@ describe("unittests:: tsserver:: ConfiguredProjects", () => { const session = new TestSession(host); openFilesForSession([file1, file2, file3, file4], session); - logConfiguredProjectsHasOpenRefStatus(session); // file1 and file3 - host.writeFile(configFile.path, "{}"); host.runQueuedTimeoutCallbacks(); - - logConfiguredProjectsHasOpenRefStatus(session); // file1, file2, file3 - logInferredProjectsOrphanStatus(session); - closeFilesForSession([file1, file2, file4], session); - - logConfiguredProjectsHasOpenRefStatus(session); // file3 - logInferredProjectsOrphanStatus(session); - openFilesForSession([file4], session); - logConfiguredProjectsHasOpenRefStatus(session); // file3 - closeFilesForSession([file3], session); - logConfiguredProjectsHasOpenRefStatus(session); // No files const file5: File = { path: "/file5.ts", @@ -523,23 +495,15 @@ describe("unittests:: tsserver:: ConfiguredProjects", () => { const host = createServerHost(hostFiles); const session = new TestSession(host); openFilesForSession([file1, file2, file3], session); - - logConfiguredProjectsHasOpenRefStatus(session); // file1 and file3 - closeFilesForSession([file1, file3], session); - logConfiguredProjectsHasOpenRefStatus(session); // No files host.writeFile(configFile.path, "{}"); session.host.baselineHost("configFile updated"); // Time out is not yet run so there is project update pending - logConfiguredProjectsHasOpenRefStatus(session); // Pending update and file2 might get into the project openFilesForSession([file4], session); - logConfiguredProjectsHasOpenRefStatus(session); // Pending update and F2 might get into the project host.runQueuedTimeoutCallbacks(); - logConfiguredProjectsHasOpenRefStatus(session); // file2 - logInferredProjectsOrphanStatus(session); baselineTsserverLogs("configuredProjects", "Open ref of configured project when open file gets added to the project as part of configured file update buts its open file references are all closed when the update happens", session); }); @@ -566,29 +530,13 @@ describe("unittests:: tsserver:: ConfiguredProjects", () => { const session = new TestSession(host); openFilesForSession([f1], session); - logConfiguredProjectsHasOpenRefStatus(session); // f1 - closeFilesForSession([f1], session); - logConfiguredProjectsHasOpenRefStatus(session); // No files - - for (const f of [f1, f2, f3]) { - // All the script infos should be present and contain the project since it is still alive. - const scriptInfo = session.getProjectService().getScriptInfoForNormalizedPath(ts.server.toNormalizedPath(f.path))!; - session.logger.log(`Containing projects for ${f.path}:: ${scriptInfo.containingProjects.map(p => p.projectName).join(",")}`); - } - const f4 = { path: "/aa.js", content: "var x = 1", }; host.writeFile(f4.path, f4.content); openFilesForSession([f4], session); - logConfiguredProjectsHasOpenRefStatus(session); // No files - - for (const f of [f1, f2, f3]) { - // All the script infos should not be present since the project is closed and orphan script infos are collected - assert.isUndefined(session.getProjectService().getScriptInfoForNormalizedPath(ts.server.toNormalizedPath(f.path))); - } baselineTsserverLogs("configuredProjects", "files are properly detached when language service is disabled", session); }); diff --git a/src/testRunner/unittests/tsserver/dynamicFiles.ts b/src/testRunner/unittests/tsserver/dynamicFiles.ts index c8e0d5c045cfc..df1e603348be5 100644 --- a/src/testRunner/unittests/tsserver/dynamicFiles.ts +++ b/src/testRunner/unittests/tsserver/dynamicFiles.ts @@ -6,7 +6,6 @@ import { protocolFileLocationFromSubstring, setCompilerOptionsForInferredProjectsRequestForSession, TestSession, - verifyDynamic, } from "../helpers/tsserver"; import { createServerHost, @@ -25,8 +24,6 @@ var x = 10;`, const host = createServerHost([libFile]); const session = new TestSession(host); openFilesForSession([{ file, content: file.content }], session); - verifyDynamic(session, session.getProjectService().toPath(file.path)); - baselineTsserverLogs("dynamicFiles", subscenario, session); }); } @@ -50,7 +47,6 @@ describe("unittests:: tsserver:: dynamicFiles:: Untitled files", () => { projectRootPath: "/proj", }, }); - verifyDynamic(session, `/proj/untitled:^untitled-1`); session.executeCommandSeq({ command: ts.server.protocol.CommandTypes.GetCodeFixes, arguments: { @@ -77,7 +73,6 @@ describe("unittests:: tsserver:: dynamicFiles:: Untitled files", () => { content: "const x = 10;", projectRootPath: "/user/username/projects/myproject", }], session); - verifyDynamic(session, `/user/username/projects/myproject/${untitledFile}`); const untitled: File = { path: `/user/username/projects/myproject/Untitled-1.ts`, @@ -97,7 +92,6 @@ describe("unittests:: tsserver:: dynamicFiles:: Untitled files", () => { content: "const x = 10;", projectRootPath: "/user/username/projects/myproject", }], session); - verifyDynamic(session, `/user/username/projects/myproject/${untitledFile}`); baselineTsserverLogs("dynamicFiles", "opening untitled files", session); }); @@ -117,7 +111,6 @@ describe("unittests:: tsserver:: dynamicFiles:: Untitled files", () => { content: "const x = 10;", projectRootPath: "/user/username/projects/myproject", }], session); - verifyDynamic(session, `/user/username/projects/myproject/${untitledFile}`); // Close untitled file closeFilesForSession([untitledFile], session); @@ -173,8 +166,6 @@ describe("unittests:: tsserver:: dynamicFiles:: ", () => { }, session); openFilesForSession([{ file: file.path, content: "var x = 10;" }], session); - verifyDynamic(session, `/${file.path}`); - session.executeCommandSeq({ command: ts.server.protocol.CommandTypes.Quickinfo, arguments: protocolFileLocationFromSubstring(file, "x"), @@ -202,8 +193,6 @@ describe("unittests:: tsserver:: dynamicFiles:: ", () => { const session = new TestSession({ host, useInferredProjectPerProjectRoot: true }); openFilesForSession([{ file: file.path, projectRootPath: "/user/username/projects/myproject" }], session); - verifyDynamic(session, `/user/username/projects/myproject/${file.path}`); - session.executeCommandSeq({ command: ts.server.protocol.CommandTypes.GetOutliningSpans, arguments: { diff --git a/src/testRunner/unittests/tsserver/externalProjects.ts b/src/testRunner/unittests/tsserver/externalProjects.ts index 5426f09a178ef..226238a8ef94f 100644 --- a/src/testRunner/unittests/tsserver/externalProjects.ts +++ b/src/testRunner/unittests/tsserver/externalProjects.ts @@ -6,15 +6,12 @@ import { import { baselineTsserverLogs, closeFilesForSession, - logConfiguredProjectsHasOpenRefStatus, - logInferredProjectsOrphanStatus, openExternalProjectForSession, openExternalProjectsForSession, openFilesForSession, TestSession, toExternalFile, toExternalFiles, - verifyDynamic, } from "../helpers/tsserver"; import { createServerHost, @@ -176,8 +173,6 @@ describe("unittests:: tsserver:: externalProjects", () => { projectFileName, }, session); - verifyDynamic(session, "/^scriptdocument1 file1.ts"); - externalFiles[0].content = "let x =1;"; session.executeCommandSeq({ command: ts.server.protocol.CommandTypes.ApplyChangedToOpenFiles, @@ -252,23 +247,16 @@ describe("unittests:: tsserver:: externalProjects", () => { // open client file - should not lead to creation of inferred project openFilesForSession([file1], session); - logInferredProjectsOrphanStatus(session); - openFilesForSession([file3], session); - logInferredProjectsOrphanStatus(session); session.executeCommandSeq({ command: ts.server.protocol.CommandTypes.CloseExternalProject, arguments: { projectFileName }, }); - logInferredProjectsOrphanStatus(session); // open file 'file1' from configured project keeps project alive closeFilesForSession([file3], session); - logInferredProjectsOrphanStatus(session); - closeFilesForSession([file1], session); - logInferredProjectsOrphanStatus(session); openFilesForSession([file2], session); baselineTsserverLogs("externalProjects", "external project that included config files", session); @@ -714,12 +702,9 @@ describe("unittests:: tsserver:: externalProjects", () => { const host = createServerHost([f, config]); const session = new TestSession(host); openFilesForSession([f], session); - logConfiguredProjectsHasOpenRefStatus(session); closeFilesForSession([f], session); - logConfiguredProjectsHasOpenRefStatus(session); openFilesForSession([f], session); - logConfiguredProjectsHasOpenRefStatus(session); baselineTsserverLogs("externalProjects", "should handle non-existing directories in config file", session); }); @@ -814,7 +799,6 @@ describe("unittests:: tsserver:: externalProjects", () => { rootFiles: [{ fileName: jsConfig.path }, { fileName: tsconfig.path }, { fileName: jsFilePath }], options: { allowJs: false }, }], session); - logInferredProjectsOrphanStatus(session); baselineTsserverLogs("externalProjects", "handles creation of external project with jsconfig before jsconfig creation watcher is invoked", session); }); diff --git a/src/testRunner/unittests/tsserver/inferredProjects.ts b/src/testRunner/unittests/tsserver/inferredProjects.ts index 01789f239e828..ac84258c39e58 100644 --- a/src/testRunner/unittests/tsserver/inferredProjects.ts +++ b/src/testRunner/unittests/tsserver/inferredProjects.ts @@ -11,7 +11,6 @@ import { import { baselineTsserverLogs, closeFilesForSession, - logInferredProjectsOrphanStatus, openFilesForSession, setCompilerOptionsForInferredProjectsRequestForSession, TestSession, @@ -107,7 +106,6 @@ describe("unittests:: tsserver:: inferredProjects", () => { moduleResolution: ts.server.protocol.ModuleResolutionKind.Classic, }, session); host.runQueuedTimeoutCallbacks(); - logInferredProjectsOrphanStatus(session); baselineTsserverLogs("inferredProjects", "project settings for inferred projects", session); }); diff --git a/src/testRunner/unittests/tsserver/projectErrors.ts b/src/testRunner/unittests/tsserver/projectErrors.ts index 8604231a7ef3e..21c6548e42b16 100644 --- a/src/testRunner/unittests/tsserver/projectErrors.ts +++ b/src/testRunner/unittests/tsserver/projectErrors.ts @@ -3,7 +3,6 @@ import { jsonToReadableText, } from "../helpers"; import { - appendAllScriptInfos, baselineTsserverLogs, closeFilesForSession, openExternalProjectForSession, @@ -241,7 +240,6 @@ describe("unittests:: tsserver:: projectErrors:: are reported as appropriate", ( projectRootPath: useProjectRoot ? folderPath : undefined, }, }); - appendAllScriptInfos(session); // Since this is not js project so no typings are queued verifyGetErrRequest({ session, files: [untitledFile] }); diff --git a/src/testRunner/unittests/tsserver/projects.ts b/src/testRunner/unittests/tsserver/projects.ts index fea6d91e0c0b9..f5928a63682f0 100644 --- a/src/testRunner/unittests/tsserver/projects.ts +++ b/src/testRunner/unittests/tsserver/projects.ts @@ -12,8 +12,6 @@ import { import { baselineTsserverLogs, closeFilesForSession, - logConfiguredProjectsHasOpenRefStatus, - logInferredProjectsOrphanStatus, openExternalProjectForSession, openFilesForSession, protocolFileLocationFromSubstring, @@ -325,7 +323,6 @@ describe("unittests:: tsserver:: projects::", () => { host.writeFile(file2.path, `export * from "../c/f3"`); // now inferred project should inclule file3 host.runQueuedTimeoutCallbacks(); - logInferredProjectsOrphanStatus(session); baselineTsserverLogs("projects", "changes in closed files are reflected in project structure", session); }); @@ -512,22 +509,11 @@ describe("unittests:: tsserver:: projects::", () => { const session = new TestSession(host); openFilesForSession([file2], session); - logInferredProjectsOrphanStatus(session); - openFilesForSession([file3], session); - logInferredProjectsOrphanStatus(session); - openFilesForSession([file1], session); - logInferredProjectsOrphanStatus(session); - closeFilesForSession([file1], session); - logInferredProjectsOrphanStatus(session); - closeFilesForSession([file3], session); - logInferredProjectsOrphanStatus(session); - openFilesForSession([file3], session); - logInferredProjectsOrphanStatus(session); baselineTsserverLogs("projects", "correctly migrate files between projects", session); }); @@ -892,19 +878,10 @@ describe("unittests:: tsserver:: projects::", () => { const session = new TestSession(host); openFilesForSession([file2], session); - logConfiguredProjectsHasOpenRefStatus(session); - openFilesForSession([file1], session); - logConfiguredProjectsHasOpenRefStatus(session); - closeFilesForSession([file2], session); - logConfiguredProjectsHasOpenRefStatus(session); - closeFilesForSession([file1], session); - logConfiguredProjectsHasOpenRefStatus(session); - openFilesForSession([file2], session); - logConfiguredProjectsHasOpenRefStatus(session); baselineTsserverLogs("projects", "File in multiple projects at opened and closed correctly", session); }); @@ -1183,19 +1160,11 @@ describe("unittests:: tsserver:: projects::", () => { host.writeFile(config.path, config.content); host.runQueuedTimeoutCallbacks(); - verifyFile2InfoIsOrphan(); - file2.content += "export let z = 10;"; host.writeFile(file2.path, file2.content); host.runQueuedTimeoutCallbacks(); - verifyFile2InfoIsOrphan(); baselineTsserverLogs("projects", "Orphan source files are handled correctly on watch trigger", session); - - function verifyFile2InfoIsOrphan() { - const info = ts.Debug.checkDefined(session.getProjectService().getScriptInfoForPath(file2.path as ts.Path)); - session.logger.log(`Containing projects for ${file2.path}:: ${info.containingProjects.map(p => p.projectName).join(",")}`); - } }); it("no project structure update on directory watch invoke on open file save", () => { diff --git a/src/testRunner/unittests/tsserver/reload.ts b/src/testRunner/unittests/tsserver/reload.ts index 6aa65622aaa67..e7b610c7bdcf1 100644 --- a/src/testRunner/unittests/tsserver/reload.ts +++ b/src/testRunner/unittests/tsserver/reload.ts @@ -2,7 +2,6 @@ import * as ts from "../../_namespaces/ts"; import { baselineTsserverLogs, closeFilesForSession, - logInferredProjectsOrphanStatus, openFilesForSession, TestSession, } from "../helpers/tsserver"; @@ -71,7 +70,6 @@ describe("unittests:: tsserver:: reload", () => { // send close request closeFilesForSession([f1], session); checkScriptInfoAndProjects("contents of closed file"); - checkInferredProjectIsOrphan(); // Can reload contents of the file when its not open and has no project // reload from temp file @@ -80,7 +78,6 @@ describe("unittests:: tsserver:: reload", () => { arguments: { file: f1.path, tmpfile: tmp.path }, }); checkScriptInfoAndProjects("contents of temp file"); - checkInferredProjectIsOrphan(); // reload from own file session.executeCommandSeq({ @@ -88,7 +85,6 @@ describe("unittests:: tsserver:: reload", () => { arguments: { file: f1.path, tmpfile: undefined! }, }); checkScriptInfoAndProjects("contents of closed file"); - checkInferredProjectIsOrphan(); // Open file again without setting its content openFilesForSession([f1], session); @@ -99,7 +95,6 @@ describe("unittests:: tsserver:: reload", () => { closeFilesForSession([f1], session); checkScriptInfoAndProjects("contents of closed file"); assert.strictEqual(info.getSnapshot(), snap); - checkInferredProjectIsOrphan(); // reload from temp file session.executeCommandSeq({ @@ -108,7 +103,6 @@ describe("unittests:: tsserver:: reload", () => { }); checkScriptInfoAndProjects("contents of temp file"); assert.notStrictEqual(info.getSnapshot(), snap); - checkInferredProjectIsOrphan(); // reload from own file session.executeCommandSeq({ @@ -117,14 +111,8 @@ describe("unittests:: tsserver:: reload", () => { }); checkScriptInfoAndProjects("contents of closed file"); assert.notStrictEqual(info.getSnapshot(), snap); - checkInferredProjectIsOrphan(); baselineTsserverLogs("reload", "should work when script info doesnt have any project open", session); - function checkInferredProjectIsOrphan() { - logInferredProjectsOrphanStatus(session); - session.logger.log(`info:: ${info.path}:: ${info.containingProjects.map(p => p.projectName).join(",")}`); - } - function checkScriptInfoAndProjects(captionForContents: string) { assert.strictEqual(session.getProjectService().getScriptInfo(f1.path), info); checkScriptInfoContents(captionForContents); diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js index d991d88d6f8e6..9c5195aecdb51 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js @@ -207,7 +207,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* -Default Project for /node_modules/@angular/forms/forms.d.ts:: /dev/null/inferredProject1* Before request Info seq [hh:mm:ss:mss] request: @@ -436,5 +435,4 @@ ScriptInfos:: /dev/null/inferredProject1* /tsconfig.json *default* *new* -Default Project for /node_modules/@angular/forms/forms.d.ts:: /tsconfig.json After getAutoImportProvider diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js index efacf6ee41e4c..96b2d8b3bf509 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js @@ -286,6 +286,16 @@ FsWatchesRecursive:: /node_modules: {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + ScriptInfos:: /index.ts *changed* open: false *changed* @@ -398,6 +408,7 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* /dev/null/autoImportProviderProject2* (AutoImportProvider) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -408,6 +419,8 @@ Projects:: /tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true autoImportProviderHost: undefined *changed* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js index 0e80061fd89d4..b0b2589d111a0 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js @@ -261,6 +261,8 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /node_modules/@angular/forms/forms.d.ts *new* @@ -644,6 +646,7 @@ Projects:: /packages/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /packages/b/tsconfig.json /tsconfig.json @@ -655,6 +658,8 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true originalConfiguredProjects: 3 *changed* /packages/b/tsconfig.json *new* /tsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js index 0a023fa046ddc..d1074d6373e1d 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js @@ -291,9 +291,11 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: @@ -330,6 +332,17 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- After getAutoImportProvider +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + ScriptInfos:: /index.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js index 5fd213afe5a77..090a30c603cb8 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js @@ -404,6 +404,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* TI:: [hh:mm:ss:mss] Got install request @@ -560,6 +561,7 @@ Projects:: /tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true autoImportProviderHost: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json @@ -578,6 +580,19 @@ Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Before request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + Info seq [hh:mm:ss:mss] request: { "command": "applyChangedToOpenFiles", diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js index 078997811184d..345f33b0a5436 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js @@ -287,6 +287,7 @@ Projects:: /users/username/projects/proj/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 5: /users/username/projects/proj/tsconfig.json @@ -377,6 +378,7 @@ Projects:: /users/username/projects/proj/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js index e39053e4aa42a..15c0d810338cf 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js @@ -287,6 +287,7 @@ Projects:: /users/username/projects/proj/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 5: /users/username/projects/proj/tsconfig.json @@ -377,6 +378,7 @@ Projects:: /users/username/projects/proj/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js index 84abc322e0418..b1e4f91280152 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js @@ -366,6 +366,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/bar.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js index 1b6be335722db..4e08ec759eafc 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js @@ -729,6 +729,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations @@ -2116,6 +2117,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js index fe03ea8d0d858..e62f5c446c0b3 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js @@ -732,6 +732,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one @@ -792,6 +793,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations @@ -1330,6 +1332,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one @@ -1390,6 +1393,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations @@ -2156,6 +2160,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one @@ -2270,6 +2275,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js index 292ad7b4429d4..4baf69dd57650 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js @@ -341,6 +341,7 @@ Projects:: /Users/someuser/work/applications/frontend/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /Users/someuser/work/applications/frontend/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts 500 undefined WatchType: Closed Script info @@ -419,6 +420,7 @@ Projects:: /Users/someuser/work/applications/frontend/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js index 3b1d14cb3d5a7..64ecd1d306045 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js @@ -341,6 +341,7 @@ Projects:: /Users/someuser/work/applications/frontend/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /Users/someuser/work/applications/frontend/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts 500 undefined WatchType: Closed Script info @@ -419,6 +420,7 @@ Projects:: /Users/someuser/work/applications/frontend/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js index 0c20d1f25215b..e1c75e9d7b79d 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js @@ -240,6 +240,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/linktofolder2/module3.ts 500 undefined WatchType: Closed Script info @@ -322,6 +323,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js index ead6513853f2f..0f5604b49b08d 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js @@ -255,6 +255,7 @@ Projects:: /user/username/folder/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/folder/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -313,6 +314,7 @@ Projects:: /user/username/folder/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js index a4579570be9ac..acb51aec23219 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js @@ -328,6 +328,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 3 + dirty: true *changed* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms diff --git a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js index 5d635caccb2f8..acacf2e08fd54 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js +++ b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js @@ -509,6 +509,7 @@ Projects:: /user/username/projects/myproject/app1/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/app2/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -559,9 +560,11 @@ Projects:: /user/username/projects/myproject/app1/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /user/username/projects/myproject/app2/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -583,8 +586,6 @@ ScriptInfos:: /user/username/projects/myproject/app1/tsconfig.json *default* /user/username/projects/myproject/app2/tsconfig.json -Project1 is dirty: true -Project2 is dirty: true Before request Info seq [hh:mm:ss:mss] request: @@ -668,5 +669,12 @@ Info seq [hh:mm:ss:mss] response: } After request -Project1 is dirty: false -Project2 is dirty: false \ No newline at end of file +Projects:: +/user/username/projects/myproject/app1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/app2/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js index af1471b0a5ed9..2acd416543eb5 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js +++ b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js @@ -509,6 +509,7 @@ Projects:: /user/username/projects/myproject/app1/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/app2/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -559,9 +560,11 @@ Projects:: /user/username/projects/myproject/app1/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /user/username/projects/myproject/app2/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -583,8 +586,6 @@ ScriptInfos:: /user/username/projects/myproject/app1/tsconfig.json *default* /user/username/projects/myproject/app2/tsconfig.json -Project1 is dirty: true -Project2 is dirty: true Before request Info seq [hh:mm:ss:mss] request: @@ -621,5 +622,12 @@ Info seq [hh:mm:ss:mss] response: } After request -Project1 is dirty: false -Project2 is dirty: true \ No newline at end of file +Projects:: +/user/username/projects/myproject/app1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/app2/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js index 4f1294fd17291..cbd5d7cf396bb 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js @@ -339,6 +339,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts (Open) @@ -445,3 +446,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js index c39bf29aa5c9f..ffc31689fce7c 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js @@ -286,6 +286,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts (Open) @@ -338,6 +339,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -364,6 +371,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts (Open) @@ -414,3 +422,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js index c969272e7405d..d79922d699a38 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js @@ -254,6 +254,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts @@ -338,3 +339,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js index 4339f3507c978..402bd2d519c70 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js @@ -217,6 +217,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts @@ -267,3 +268,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js index 05d6765f425a8..0980c2e2500e6 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js @@ -359,6 +359,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts (Open) @@ -427,6 +428,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -453,6 +460,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts (Open) @@ -518,3 +526,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js index 0af66908c9c34..113af7728e7ba 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js @@ -220,6 +220,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts @@ -270,3 +271,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js index 6f648fdbc66f9..a0eef8d207c0a 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js @@ -251,6 +251,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/moduleFile1.ts *deleted* @@ -332,6 +333,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before request diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js index 732acdd222c2d..d31ca6a687656 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js @@ -274,6 +274,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts *changed* @@ -393,6 +394,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/file1Consumer1.ts *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js index 2b6dbf0e17264..4b5ffa795fdff 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js @@ -283,6 +283,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts @@ -426,3 +427,4 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js index 4204ac7eaa6ba..42616e3527a30 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js @@ -276,6 +276,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/file1Consumer3.ts 500 undefined WatchType: Closed Script info @@ -366,6 +367,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/file1Consumer1.ts @@ -423,6 +425,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts @@ -496,3 +499,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js index 9e5b2934f4555..43028d48785b0 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js @@ -359,6 +359,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts (Open) *changed* @@ -478,6 +479,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before request @@ -505,6 +507,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/b/file1Consumer1.ts (Open) *changed* @@ -625,3 +628,4 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js index e558c830d6148..433bd82567bcc 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js @@ -484,6 +484,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -559,6 +560,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -624,6 +631,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -699,6 +707,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js index d95b652ef47c3..e6ad735e70edf 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js @@ -537,6 +537,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -617,6 +618,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -682,6 +689,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -762,6 +770,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js index f596e7f72123e..fcbc25a481894 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js @@ -507,6 +507,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -587,6 +588,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -651,6 +658,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -734,6 +742,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js index 601b1178a3fb4..0919f4ab21c21 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js @@ -461,6 +461,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -536,6 +537,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -600,6 +607,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -677,6 +685,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js index ff8757a58022b..84ff4708bb66f 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js @@ -298,6 +298,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before request @@ -363,6 +364,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js index 131ed02bfc43a..26d2819795482 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js @@ -301,6 +301,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before request @@ -375,6 +376,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js index 05b7c2c3b0174..d94b6f4208840 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js @@ -297,6 +297,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before request @@ -361,6 +362,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js index 50bfcaacac978..c7b04d834e59d 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js @@ -3469,6 +3469,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -16925,3 +16926,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js index debd6c7931097..0d8f3efc4ec2a 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js @@ -3419,6 +3419,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -54125,3 +54126,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js index 93cd92da2bb8f..449fec665eaa0 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js @@ -2369,6 +2369,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -6227,6 +6228,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -6266,6 +6273,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -7032,6 +7040,12 @@ Info seq [hh:mm:ss:mss] Files (151) Info seq [hh:mm:ss:mss] ----------------------------------------------- Before request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "command": "updateOpen", @@ -7069,6 +7083,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -11274,3 +11289,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js index 0208e5fc6c8d3..001529709662c 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js @@ -1686,6 +1686,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -4688,6 +4689,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -4727,6 +4734,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -7723,3 +7731,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js index d3deb9c7b0142..3cc7daaca4e7a 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js @@ -2262,6 +2262,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: @@ -6195,6 +6196,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: @@ -6237,6 +6248,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: @@ -10498,6 +10510,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works.js b/tests/baselines/reference/tsserver/completionsIncomplete/works.js index c9f76a5af9055..85e1cfd4f00b5 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works.js @@ -3769,6 +3769,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -9427,6 +9428,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -9466,6 +9473,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -15819,6 +15827,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -15858,6 +15872,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -22559,3 +22574,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js b/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js index f6f80c72739f5..8d2f00bc1d361 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js @@ -95,6 +95,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/file1.ts *changed* @@ -302,6 +304,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js index 6c677072c6f1a..ff228cf1f8509 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js @@ -244,6 +244,8 @@ Projects:: /a/b/projects/project/src/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/b/projects/project/src/file1.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js index aec06d59211ab..da3913b19298e 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js @@ -244,6 +244,8 @@ Projects:: /a/b/projects/project/src/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/b/projects/project/src/file1.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js index e09216c897bd0..e264c2030e056 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js @@ -155,6 +155,7 @@ Projects:: /a/b/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -340,9 +341,11 @@ Projects:: /a/b/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + isOrphan: true *changed* ScriptInfos:: /a/b/projects/project/src/index.ts (Open) *changed* @@ -412,9 +415,12 @@ Projects:: /a/b/projects/project/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* /dev/null/inferredProject1* (Inferred) projectStateVersion: 2 projectProgramVersion: 2 + isOrphan: true ScriptInfos:: /a/b/projects/project/src/index.ts (Open) *changed* @@ -500,6 +506,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 3 *changed* + isOrphan: false *changed* ScriptInfos:: /a/b/projects/project/src/index.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js index e0c827428b83c..dd1ec06753ba4 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js @@ -233,6 +233,8 @@ Projects:: /a/b/projects/project/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/b/projects/project/src/index.ts (Open) *changed* @@ -383,6 +385,7 @@ Projects:: /a/b/projects/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -527,9 +530,11 @@ Projects:: /a/b/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + isOrphan: true *changed* ScriptInfos:: /a/b/projects/project/src/index.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js index fad0f47385991..3a9d15399f2a0 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js @@ -416,7 +416,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -518,6 +517,15 @@ FsWatches:: /a/b/tsconfig.json: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/b/file3.ts *changed* open: false *changed* @@ -533,7 +541,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* -Configured project: /a/b/tsconfig.json hasOpenRef:: false isClosed: false Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /a/b/src @@ -554,11 +561,12 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: false *changed* /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -611,6 +619,7 @@ Projects:: /a/b/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -636,7 +645,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject2* *default* -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before running Timeout callback:: count: 2 2: /a/b/tsconfig.json 3: *ensureProjectForOpenFiles* @@ -831,9 +839,11 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -856,7 +866,3 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* - -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -Inferred project: /dev/null/inferredProject2* isOrphan:: false isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js index 8b6743a55f46c..14e4ead83917b 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js @@ -497,7 +497,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject2* *default* -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /a/b/src @@ -520,6 +519,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -723,9 +723,11 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -749,9 +751,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject2* *default* -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -Inferred project: /dev/null/inferredProject2* isOrphan:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -956,9 +955,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 2 projectProgramVersion: 2 + isOrphan: true /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/b/file3.ts (Open) @@ -979,9 +981,6 @@ ScriptInfos:: containingProjects: 0 *changed* /dev/null/inferredProject2* *deleted* -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -Inferred project: /dev/null/inferredProject2* isOrphan:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -1058,9 +1057,13 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 2 -/dev/null/inferredProject2* (Inferred) + isClosed: true *changed* + isOrphan: true +/dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* ScriptInfos:: /a/b/file3.ts (Open) @@ -1081,7 +1084,6 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject2* *default* *new* -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -1129,6 +1131,15 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + ScriptInfos:: /a/b/file3.ts *changed* open: false *changed* @@ -1148,7 +1159,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject2* *default* -Configured project: /a/b/tsconfig.json hasOpenRef:: false isClosed: false File5 written //// [/file5.ts] let zz = 1; @@ -1243,6 +1253,8 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject2* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js index 07dab67faa2aa..12bb1d12ce90d 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js @@ -226,6 +226,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Loading configured project /user/username/projects/myproject/tsconfig.json @@ -390,12 +391,14 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -449,12 +452,15 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 2 projectProgramVersion: 2 + isOrphan: true /dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -534,6 +540,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 3 *changed* + isOrphan: false *changed* /dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js index 1d99666bdf97a..1445955eddb0c 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js @@ -187,6 +187,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -254,6 +255,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/commonFile1.ts (Open) diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js index 3e1c9b9cbaf5f..df0780d83a6b4 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js @@ -223,6 +223,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json @@ -371,6 +372,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/f1.ts (Open) diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js index e211f80d51dca..bc329ca45f5a2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js @@ -217,6 +217,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/f2.ts 500 undefined WatchType: Closed Script info @@ -283,6 +284,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/f1.ts (Open) diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js index b4b5c99b84fc6..c7977838c56b6 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js @@ -237,6 +237,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json @@ -364,3 +365,9 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js index 4e9b6fc3e9e20..8871215cb37d6 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js @@ -224,6 +224,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 2: /users/username/projects/project/tsconfig.json @@ -305,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index 53123cf3d2cdb..a2621e030789f 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -215,6 +215,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -268,6 +269,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index 872864218dfc5..71909daa59569 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -215,6 +215,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -268,6 +269,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index b9cf2e16bc61a..4f8792a7733c5 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -349,6 +349,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -458,9 +459,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index bfc612870c481..2f4eca17340c2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -349,6 +349,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -517,9 +518,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js b/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js index 3331e51b69052..910d567fe1536 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js +++ b/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js @@ -247,7 +247,6 @@ ScriptInfos:: containingProjects: 1 /a/tsconfig.json -Configured project: /a/tsconfig.json hasOpenRef:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -289,6 +288,8 @@ Projects:: /a/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/app.js *changed* @@ -305,10 +306,6 @@ ScriptInfos:: containingProjects: 1 /a/tsconfig.json -Configured project: /a/tsconfig.json hasOpenRef:: false isClosed: false -Containing projects for /a/app.js:: /a/tsconfig.json -Containing projects for /a/largefile.js:: /a/tsconfig.json -Containing projects for /a/lib.js:: /a/tsconfig.json Before request //// [/aa.js] var x = 1 @@ -343,6 +340,8 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 0 @@ -528,6 +527,9 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js b/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js index 079ee93fdfc4b..24d1b341a0c1d 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js @@ -248,6 +248,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/commonFile1.ts (Open) @@ -306,6 +307,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/commonFile2.ts :: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json @@ -326,6 +328,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info @@ -392,6 +395,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/b/commonFile1.ts (Open) diff --git a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js index fd698b42b8253..c4fb05cedfea4 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js @@ -274,6 +274,7 @@ Projects:: /user/username/projects/myproject/a/c/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/a/c/tsconfig.json Info seq [hh:mm:ss:mss] Loading configured project /user/username/projects/myproject/a/c/tsconfig.json @@ -547,12 +548,15 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + isOrphan: true *changed* /user/username/projects/myproject/a/c/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /user/username/projects/myproject/a/b/f1.ts (Open) *changed* @@ -569,6 +573,3 @@ ScriptInfos:: containingProjects: 1 *changed* /user/username/projects/myproject/a/c/tsconfig.json *default* *new* /dev/null/inferredProject2* *deleted* - -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -Inferred project: /dev/null/inferredProject2* isOrphan:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js index 3db7e4ffe2814..e20885fa013e1 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js @@ -181,6 +181,7 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js index 860ae9990ea9c..d0c6517d9b1d8 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js @@ -166,6 +166,7 @@ Projects:: /a/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js b/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js index 0d24a73dbee10..6a049a2ae800c 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js @@ -264,6 +264,12 @@ FsWatches:: /a/b/tsconfig.json: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/main.ts *changed* open: false *changed* @@ -316,6 +322,12 @@ FsWatches *deleted*:: /a/b/obj-a.ts: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/b/main.ts version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js b/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js index 8d90e808c7294..b9b5d9f6a0077 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js @@ -229,7 +229,6 @@ ScriptInfos:: containingProjects: 1 /a/b/tsconfig.json *default* -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -263,6 +262,12 @@ FsWatches:: /a/b/tsconfig.json: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/main.ts *changed* open: false *changed* @@ -270,7 +275,6 @@ ScriptInfos:: containingProjects: 1 /a/b/tsconfig.json -Configured project: /a/b/tsconfig.json hasOpenRef:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -301,6 +305,7 @@ Projects:: /a/b/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 0 @@ -471,6 +476,8 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js index d224555f35063..6360f9cafaabd 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js @@ -365,6 +365,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -560,9 +561,11 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -583,8 +586,6 @@ ScriptInfos:: /a/b/tsconfig.json *default* *new* /dev/null/inferredProject1* *deleted* -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -Inferred project: /dev/null/inferredProject2* isOrphan:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -644,6 +645,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 3 *changed* + isOrphan: false *changed* /dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js b/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js index 4f017ae4dbaf5..2e4c4de99613e 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js @@ -243,7 +243,6 @@ ScriptInfos:: containingProjects: 1 /a/b/tsconfig.json -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -279,6 +278,12 @@ FsWatches:: /a/b/tsconfig.json: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/main.ts *changed* open: false *changed* @@ -290,7 +295,6 @@ ScriptInfos:: containingProjects: 1 /a/b/tsconfig.json -Configured project: /a/b/tsconfig.json hasOpenRef:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -332,6 +336,12 @@ FsWatches *deleted*:: /a/b/main2.ts: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/b/main.ts version: SVC-1-0 @@ -342,5 +352,3 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/tsconfig.json *default* - -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js b/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js index 7d59308a096c5..1d7f7e846adc3 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js @@ -760,6 +760,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/dummy: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/dummy/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /user/username/projects/myproject/a/a.ts (Open) version: SVC-1-0 @@ -842,6 +854,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/dummy: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/dummy/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /user/username/projects/myproject/a/a.ts (Open) version: SVC-1-0 @@ -955,9 +980,12 @@ Projects:: /user/username/projects/myproject/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/dummy/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/dummy/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /user/username/projects/myproject/a/a.ts (Open) @@ -1029,6 +1057,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/dummy: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/dummy/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /user/username/projects/myproject/a/a.ts *changed* open: false *changed* @@ -1095,6 +1132,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/dummy: {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/dummy/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /user/username/projects/myproject/a/a.ts version: SVC-1-0 @@ -1189,9 +1236,12 @@ Projects:: /user/username/projects/myproject/a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/dummy/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/dummy/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /user/username/projects/myproject/a/a.ts *deleted* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js index 73efbc787eb99..ba6f36759a8da 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js @@ -221,6 +221,7 @@ Projects:: /user/username/projects/myproject/src/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js b/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js index c359c1b118a11..d25868c908a64 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js @@ -473,9 +473,11 @@ Projects:: /user/username/projects/myproject/a/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/a/tsconfig.json @@ -729,6 +731,16 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/extended/bravo.tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/extended/bravo.tsconfig.json 2000 undefined Config: /user/username/projects/myproject/b/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -756,6 +768,7 @@ Projects:: /user/username/projects/myproject/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/b/tsconfig.json @@ -895,6 +908,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/b/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -919,6 +941,7 @@ Projects:: /user/username/projects/myproject/b/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/b/tsconfig.json @@ -1099,6 +1122,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/b: *new* {} +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/b/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/extended/alpha.tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/extended/alpha.tsconfig.json 2000 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Extended config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/b/tsconfig.json @@ -1121,9 +1153,11 @@ Projects:: /user/username/projects/myproject/a/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/b/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/a/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/a/tsconfig.json @@ -1354,3 +1388,13 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/myproject/a/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/b/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js b/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js index cdba23bf4caae..3fefcfc746202 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js @@ -349,6 +349,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/bin/a.d.ts @@ -457,6 +459,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js index 1f778998af777..b7e9c3ba61891 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1117,6 +1136,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* originalConfiguredProjects: 1 /a/tsconfig.json @@ -1234,6 +1255,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true originalConfiguredProjects: 1 /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js index e1aefcfd7e0f1..8ce71d69ec1d5 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -895,6 +914,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/bin/a.d.ts @@ -991,6 +1012,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js index 6eb2ab239d582..b8e3da95aa255 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -902,6 +921,7 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -982,9 +1002,12 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* originalConfiguredProjects: 1 /a/tsconfig.json @@ -1110,9 +1133,14 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true originalConfiguredProjects: 1 /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js index 6c158353092e7..4f812db6d51b2 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js @@ -290,6 +290,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -513,6 +519,7 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -632,6 +639,7 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js index a4b9cb7cdf21e..1ce5b95c5c8a9 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -936,6 +955,7 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1016,9 +1036,12 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* originalConfiguredProjects: 1 /a/tsconfig.json @@ -1144,9 +1167,14 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true originalConfiguredProjects: 1 /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js index a493a90f407bc..d8e1f0b6d8063 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js @@ -340,6 +340,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -566,6 +572,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -633,6 +641,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -673,6 +687,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -904,6 +920,8 @@ Projects:: /b/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + noOpenRef: true /user/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1021,6 +1039,17 @@ FsWatchesRecursive:: /user: {} +Projects:: +/b/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + noOpenRef: true +/user/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts version: Text-2 @@ -1191,9 +1220,12 @@ Projects:: /b/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + noOpenRef: true /user/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/a.ts (Open) *changed* @@ -1262,6 +1294,21 @@ FsWatchesRecursive:: /user: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/b/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + noOpenRef: true +/user/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -1387,15 +1434,22 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/a.ts *deleted* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js index 4722cd2c67662..b8f022bb1fff0 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -894,6 +913,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/a.ts @@ -996,6 +1017,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js index a08487288ae31..103f88d1e62b1 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -886,6 +905,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/a.ts @@ -994,6 +1015,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js index 98c8814aa1136..ee8c8dbec349e 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -874,6 +893,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/bin/a.d.ts @@ -970,6 +991,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js index ff37e12f995c6..200214255d688 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -882,6 +901,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/a.ts @@ -984,6 +1005,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js index ef5d5e1495857..9ff4a7c32060c 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -882,6 +901,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/a.ts @@ -984,6 +1005,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js index ff37f6558b060..90d1013836d67 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -882,6 +901,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/a.ts @@ -984,6 +1005,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js index d5d84696f4b07..6c26a18e13a2f 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -902,6 +921,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/a.ts @@ -1010,6 +1031,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js index 7e2a6c259b4c1..8c997295551c0 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js @@ -340,6 +340,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -566,6 +572,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -633,6 +641,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -871,6 +885,7 @@ Projects:: /b/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js index bcb19560b7054..23208839bd26b 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js @@ -340,6 +340,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -566,6 +572,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -633,6 +641,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -871,6 +885,7 @@ Projects:: /b/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js index 3a535ac59bfd9..09abc4b91f905 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1129,6 +1148,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* originalConfiguredProjects: 1 /a/tsconfig.json @@ -1246,6 +1267,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true originalConfiguredProjects: 1 /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js index 96db1c41036aa..8daf9003f2f9a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -912,6 +931,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/bin/a.d.ts @@ -1008,6 +1029,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js index dd6592a765519..fbe2550d07be3 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -916,6 +935,7 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -996,9 +1016,12 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* originalConfiguredProjects: 1 /a/tsconfig.json @@ -1124,9 +1147,14 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true originalConfiguredProjects: 1 /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js index ddfbbce21a35d..947d44d07ab5a 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js @@ -325,6 +325,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -551,6 +557,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -618,6 +626,12 @@ FsWatchesRecursive:: /b: {} +Projects:: +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /b/b.ts *changed* open: false *changed* @@ -658,6 +672,8 @@ Projects:: /b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true ScriptInfos:: /b/b.ts *deleted* @@ -745,6 +761,9 @@ Projects:: /b/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -877,6 +896,7 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -957,9 +977,12 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* originalConfiguredProjects: 1 /a/tsconfig.json @@ -1085,9 +1108,14 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true originalConfiguredProjects: 1 /a/tsconfig.json /dev/null/inferredProject2* (Inferred) *new* diff --git a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js index fe397167faab0..7b93f7d0b3897 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js +++ b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js @@ -224,6 +224,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -269,6 +270,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -309,6 +311,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js index 15920a95e4097..e183914ba1ce5 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js +++ b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js @@ -224,6 +224,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -263,6 +264,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -302,6 +304,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js b/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js index 99ed54c2e427e..3c5c094311a79 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js +++ b/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js @@ -71,7 +71,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -^/inmemory/model/6 (Open) *new* +^/inmemory/model/6 (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -127,11 +127,11 @@ Projects:: projectProgramVersion: 2 *changed* ScriptInfos:: -^/inmemory/model/4 (Open) *new* +^/inmemory/model/4 (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -^/inmemory/model/6 (Open) +^/inmemory/model/6 (Dynamic) (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -164,14 +164,15 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: -^/inmemory/model/4 *deleted* +^/inmemory/model/4 (Dynamic) *deleted* open: false *changed* version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -^/inmemory/model/6 (Open) +^/inmemory/model/6 (Dynamic) (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -248,13 +249,14 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: -^/inmemory/model/4 (Open) *new* +^/inmemory/model/4 (Dynamic) (Open) *new* version: SVC-2-0 containingProjects: 1 /dev/null/inferredProject1* *default* -^/inmemory/model/6 (Open) *changed* +^/inmemory/model/6 (Dynamic) (Open) *changed* version: SVC-1-1 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js index 5614ae78241b8..cd9105374f561 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js @@ -77,7 +77,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js (Open) *new* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js index e4c62ffeb572f..8d6c672a10503 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js @@ -74,7 +74,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Open) *new* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -233,7 +233,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* -/user/username/projects/myproject/^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js isDynamic:: true Before request Info seq [hh:mm:ss:mss] request: @@ -435,11 +434,11 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* /dev/null/inferredProject2* *new* -^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Open) +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Dynamic) (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js (Open) *new* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js index 8d062718b94d3..13c84cbd21ed3 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js @@ -66,7 +66,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Open) *new* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -224,5 +224,3 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* - -/^walkthroughsnippet:/users/username/projects/someproject/out/somefile#1.js isDynamic:: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js index 3c8af17b3ee5e..cd2dc8bad452b 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js @@ -81,7 +81,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Open) *new* +^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -236,7 +236,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* -/^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js isDynamic:: true Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js index d37f171f3ac5e..cfeac6cf79258 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js @@ -75,7 +75,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -untitled:^Untitled-1 (Open) *new* +untitled:^Untitled-1 (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -223,7 +223,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* -/user/username/projects/myproject/untitled:^Untitled-1 isDynamic:: true Before request Info seq [hh:mm:ss:mss] request: @@ -250,13 +249,15 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -untitled:^Untitled-1 *deleted* +untitled:^Untitled-1 (Dynamic) *deleted* open: false *changed* version: SVC-1-0 containingProjects: 0 *changed* @@ -444,6 +445,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js index 4ae012b1f2f52..a855c4d9e9a56 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js @@ -72,7 +72,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -untitled:^Untitled-1 (Open) *new* +untitled:^Untitled-1 (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -220,7 +220,6 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 *changed* -/user/username/projects/myproject/untitled:^Untitled-1 isDynamic:: true Before request //// [/user/username/projects/myproject/Untitled-1.ts] const x = 10; @@ -397,7 +396,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /user/username/projects/myproject/tsconfig.json *default* -untitled:^Untitled-1 (Open) +untitled:^Untitled-1 (Dynamic) (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -434,6 +433,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -448,7 +449,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /user/username/projects/myproject/tsconfig.json *default* -untitled:^Untitled-1 *deleted* +untitled:^Untitled-1 (Dynamic) *deleted* open: false *changed* version: SVC-1-0 containingProjects: 0 *changed* @@ -585,6 +586,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -595,9 +606,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /user/username/projects/myproject/tsconfig.json *default* -untitled:^Untitled-1 (Open) *new* +untitled:^Untitled-1 (Dynamic) (Open) *new* version: SVC-2-0 containingProjects: 1 /dev/null/inferredProject1* *default* - -/user/username/projects/myproject/untitled:^Untitled-1 isDynamic:: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js b/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js index 53089dbca3d46..353682e4c2c98 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js @@ -271,12 +271,11 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /proj/tsconfig.json *default* -untitled:^Untitled-1 (Open) *new* +untitled:^Untitled-1 (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/proj/untitled:^untitled-1 isDynamic:: true Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/dynamicFiles/untitled.js b/tests/baselines/reference/tsserver/dynamicFiles/untitled.js index 45a80bf670139..079eb0721d61e 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/untitled.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/untitled.js @@ -77,9 +77,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -untitled:/Users/matb/projects/san/^newFile.ts (Open) *new* +untitled:/Users/matb/projects/san/^newFile.ts (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* - -/untitled:/users/matb/projects/san/^newfile.ts isDynamic:: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js b/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js index dad0adbdaf7d4..909ac10869310 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js @@ -77,9 +77,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -walkThroughSnippet:/usr/share/code/resources/app/out/vs/workbench/contrib/welcome/walkThrough/browser/editor/^vs_code_editor_walkthrough.md#1.ts (Open) *new* +walkThroughSnippet:/usr/share/code/resources/app/out/vs/workbench/contrib/welcome/walkThrough/browser/editor/^vs_code_editor_walkthrough.md#1.ts (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* - -/walkthroughsnippet:/usr/share/code/resources/app/out/vs/workbench/contrib/welcome/walkthrough/browser/editor/^vs_code_editor_walkthrough.md#1.ts isDynamic:: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js b/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js index 6e2df940fa10f..7a7e683354e39 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js @@ -81,7 +81,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -untitled:^Untitled-1 (Open) *new* +untitled:^Untitled-1 (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -112,13 +112,15 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -untitled:^Untitled-1 *deleted* +untitled:^Untitled-1 (Dynamic) *deleted* open: false *changed* version: SVC-1-0 containingProjects: 0 *changed* @@ -167,12 +169,19 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -untitled:^Untitled-1 (Open) *new* +untitled:^Untitled-1 (Dynamic) (Open) *new* version: SVC-2-0 containingProjects: 1 /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js index 6a76f3af04f5c..2981724598547 100644 --- a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js +++ b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js @@ -259,6 +259,7 @@ Projects:: /a/jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/jsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/jsconfig.json @@ -324,6 +325,12 @@ FsWatchesRecursive:: /a: *new* {} +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/app.js (Open) version: SVC-1-0 @@ -398,6 +405,7 @@ Projects:: /a/jsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -583,4 +591,10 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/jsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Language service enabled: true \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js index 3bd16310fa510..55970e407aaf9 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js @@ -206,6 +206,7 @@ Projects:: /user/username/projects/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/b/tsconfig.json @@ -280,3 +281,9 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js index 48d1fbaeda95d..1dbdf5e2f36ad 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js @@ -203,6 +203,7 @@ Projects:: /user/username/projects/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/b/tsconfig.json @@ -276,3 +277,9 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js index 8d356558a8fee..2fe80522fbe2a 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js @@ -195,6 +195,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/a/tsconfig.json @@ -269,3 +270,9 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js index 60a3c2a23f818..e29495744baec 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js @@ -192,6 +192,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/a/tsconfig.json @@ -265,3 +266,9 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/a/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js index d785adf6e90b4..c1a1d6b93ae2a 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js @@ -88,6 +88,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Before request @@ -243,6 +244,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js index 7a9987a050553..3b26a464b8055 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js @@ -88,6 +88,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Before request @@ -240,6 +241,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js index 440106cbb153d..f63fc92caaefa 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js @@ -88,6 +88,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Before request @@ -236,6 +237,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js index 4e831f8a3a003..8b32c93c01c1c 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js @@ -88,6 +88,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Before request @@ -233,6 +234,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js index 33f1847e0f63c..505242d86d828 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js @@ -461,6 +461,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js index 6f29b4960873d..1a862cae0499e 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js @@ -455,6 +455,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js index f2a29de05d180..42276c593fd66 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js @@ -448,6 +448,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js index a8b7968239e54..2d1a6821554c8 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js @@ -442,6 +442,7 @@ Projects:: /user/username/projects/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js index 899a14a41195d..597e7603638d5 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js @@ -211,6 +211,7 @@ Projects:: /a/b/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/project/file1.ts (Open) @@ -267,6 +268,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/b/project/file1.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js index 4474f9a1feded..8e5a70381907d 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js @@ -227,6 +227,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -283,6 +284,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -357,6 +364,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -451,6 +459,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index 4170db72febea..cad969d4e6bd1 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -310,6 +310,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -433,6 +434,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index babd5a0b5dbcb..deb68d9a92318 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -307,6 +307,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -424,6 +425,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js index 372644c6f539f..11a9ab0730cc3 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js @@ -303,6 +303,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -436,6 +437,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js index e85f9b601d8c2..221a7539b9a2a 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js @@ -303,6 +303,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -452,6 +453,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js index 66622fa3b3110..abbc142b1d3d3 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -303,6 +303,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -442,6 +443,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -488,6 +490,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -559,6 +562,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -612,6 +621,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -768,6 +778,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -822,6 +833,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 3 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -938,6 +950,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 5 projectProgramVersion: 4 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js index 828b15211b311..f96c1134fa948 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js @@ -303,6 +303,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -426,6 +427,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -472,6 +474,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -543,6 +546,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js index e1cd83c0c528b..cfd66f00602d9 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js @@ -281,6 +281,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -380,6 +381,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -414,6 +416,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -470,6 +473,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js index aadeb46ac7e26..f177e19945340 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js @@ -254,6 +254,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -353,6 +354,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -408,6 +410,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined WatchType: Closed Script info @@ -481,6 +484,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js index 527ca582aaab5..ad20684e2f7b4 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js @@ -269,6 +269,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json @@ -339,6 +340,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js index c12881460e8cd..a8533414125af 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -303,6 +303,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -426,6 +427,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js index 5a30c8ca665ed..e6b41a06c332d 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js @@ -313,6 +313,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -468,6 +469,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -518,6 +520,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -594,6 +597,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -651,6 +660,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -772,6 +782,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js index 5e7043f1912df..ed888ec89db02 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js @@ -270,6 +270,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info @@ -345,6 +346,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---out-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---out-is-set.js index f69c24e7165c2..c839b77e1b7f8 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---out-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---out-is-set.js @@ -216,6 +216,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info @@ -288,6 +289,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -322,6 +324,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -378,6 +381,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js index c962b6cd41753..dc35f6a749ccb 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js @@ -201,6 +201,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info @@ -273,6 +274,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -307,6 +309,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -363,6 +366,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js index 2b47ce0dd59a4..d924d419a9439 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js @@ -194,6 +194,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info @@ -266,6 +267,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -300,6 +302,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file3.ts 500 undefined WatchType: Closed Script info @@ -377,6 +380,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js index b21b3278f811f..d3a3301ae247e 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js @@ -196,6 +196,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info @@ -268,6 +269,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -302,6 +304,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -358,6 +361,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index 532f34e5b8d43..c2237fbb3d80b 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -214,6 +214,7 @@ Projects:: /a/b/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/project/file1.ts (Open) @@ -271,6 +272,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/b/project/file1.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index 88220293708af..7ba23bbf53960 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -230,6 +230,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -287,6 +288,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -361,6 +368,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -456,6 +464,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index 4ab51a2a58889..22267bcce60d1 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -313,6 +313,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -437,6 +438,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index 186a8824da801..6257cac900466 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -310,6 +310,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -428,6 +429,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js index 58c35c381197f..0a0c8770c893f 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js @@ -306,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -440,6 +441,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js index b070f8304e011..30c1cedb515a0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js @@ -306,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -456,6 +457,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js index f6df99a4391c6..8b221395a9859 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -306,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -446,6 +447,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -492,6 +494,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -564,6 +567,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -617,6 +626,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -774,6 +784,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -828,6 +839,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 3 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -945,6 +957,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 5 projectProgramVersion: 4 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js index 3e7b37c91cf79..b0dc743170c1f 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js @@ -306,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -430,6 +431,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -476,6 +478,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -548,6 +551,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js index b751ff7b8f08c..5b62d8147eff6 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js @@ -284,6 +284,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -384,6 +385,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -418,6 +420,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -475,6 +478,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js index 5f2db7eefbcd6..39854d0be20ee 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js @@ -257,6 +257,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -357,6 +358,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -412,6 +414,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined WatchType: Closed Script info @@ -486,6 +489,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js index a3b40fab7c534..4f8f25692010c 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js @@ -272,6 +272,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json @@ -343,6 +344,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js index d5b911cbe4bde..f76fc77dc12d3 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -306,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -430,6 +431,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js index a6f00782588ec..6235724aa7671 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js @@ -316,6 +316,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -472,6 +473,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -522,6 +524,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -599,6 +602,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -656,6 +665,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -778,6 +788,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js index 82d312e8f3763..1d3ce5f876da4 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js @@ -273,6 +273,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info @@ -349,6 +350,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---out-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---out-is-set.js index 892a0711602d8..7f80e655d18b0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---out-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---out-is-set.js @@ -219,6 +219,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info @@ -292,6 +293,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -326,6 +328,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -383,6 +386,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js index 5d9e161820738..2527a0abcc236 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js @@ -204,6 +204,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info @@ -277,6 +278,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -311,6 +313,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -368,6 +371,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js index 3b12c82c2b2e6..b5d0357569315 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js @@ -197,6 +197,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info @@ -270,6 +271,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -304,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file3.ts 500 undefined WatchType: Closed Script info @@ -382,6 +385,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js index 43d2124186093..515b2251ee9a4 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js @@ -199,6 +199,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info @@ -272,6 +273,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -306,6 +308,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -363,6 +366,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index a927d938b002a..5782d0f639054 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -214,6 +214,7 @@ Projects:: /a/b/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/project/file1.ts (Open) @@ -275,6 +276,12 @@ After running Timeout callback:: count: 1 Timeout callback:: count: 1 3: checkOne *new* +Projects:: +/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/b/project/file1.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index 966e0d6e9eca5..66d6ca55238ac 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -230,6 +230,7 @@ Projects:: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -291,6 +292,12 @@ After running Timeout callback:: count: 1 Timeout callback:: count: 1 3: checkOne *new* +Projects:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index 9f2d31d47d3d7..21c4de3770055 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -313,6 +313,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -441,6 +442,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index 1eb41028475d4..3f0e602e47663 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -310,6 +310,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -432,6 +433,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js index 967ae148faa25..456281ad264da 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js @@ -306,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -444,6 +445,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js index b1131ba2148d1..d79f611debc9d 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js @@ -306,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -460,6 +461,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js index ff6eb74c1690d..0b219cb647712 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -306,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -450,6 +451,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -498,6 +500,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -586,6 +589,12 @@ Timeout callback:: count: 1 Immedidate callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -639,6 +648,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -801,6 +811,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -855,6 +866,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 3 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -978,6 +990,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 5 projectProgramVersion: 4 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js index 5b9b4821f4795..9762dfd1d27b1 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js @@ -306,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -434,6 +435,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -482,6 +484,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -570,6 +573,12 @@ Timeout callback:: count: 1 Immedidate callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js index 5ca0078938033..f938b8a350577 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js @@ -284,6 +284,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -388,6 +389,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -424,6 +426,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -497,6 +500,12 @@ Timeout callback:: count: 1 Immedidate callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js index 01ae0b48eae3c..cc4005ccc09d3 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js @@ -257,6 +257,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -361,6 +362,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -418,6 +420,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json @@ -508,6 +511,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js index 6b963c8765b19..3798d054b0463 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js @@ -272,6 +272,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json @@ -347,6 +348,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js index c04549c96e629..86455e4328dbc 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -306,6 +306,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -434,6 +435,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js index c044a0c0ef816..894555e9c808f 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js @@ -316,6 +316,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one @@ -476,6 +477,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* @@ -528,6 +530,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -621,6 +624,12 @@ Timeout callback:: count: 1 Immedidate callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -678,6 +687,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -806,6 +816,12 @@ After running Timeout callback:: count: 1 Timeout callback:: count: 1 26: checkOne *new* +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js index 43a2799846d7c..181dca53ee737 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js @@ -273,6 +273,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info @@ -353,6 +354,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---out-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---out-is-set.js index 2bbb33bce1dc5..12851fa7d3ffe 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---out-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---out-is-set.js @@ -219,6 +219,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info @@ -296,6 +297,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -332,6 +334,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -405,6 +408,12 @@ Timeout callback:: count: 1 Immedidate callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js index 1e7ab9dc372f7..139b598418a59 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js @@ -204,6 +204,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info @@ -281,6 +282,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -317,6 +319,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -390,6 +393,12 @@ Timeout callback:: count: 1 Immedidate callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js index bce817887fef0..fd349ec4b1a05 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js @@ -197,6 +197,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined WatchType: Closed Script info @@ -274,6 +275,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -310,6 +312,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json @@ -404,6 +407,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js index 835b0de39ced0..7840a74145d59 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js @@ -199,6 +199,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/b.ts 500 undefined WatchType: Closed Script info @@ -276,6 +277,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -312,6 +314,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -385,6 +388,12 @@ Timeout callback:: count: 1 Immedidate callback:: count: 0 +Projects:: +/users/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js index a468aaa613280..f4967a6194cc0 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js @@ -141,6 +141,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c.ts 500 undefined WatchType: Closed Script info @@ -207,6 +208,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -251,6 +253,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -301,6 +304,12 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a.ts Proje Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js index 97de39ed65494..b7bc70a6bb148 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js @@ -296,6 +296,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /user/username/projects/myproject/tsconfig.json @@ -386,6 +387,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -445,6 +447,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -510,6 +513,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js index fa9bdd3b7097c..5fe03dd801ab8 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js @@ -438,6 +438,7 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -450,3 +451,13 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImpo Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before After getPackageJsonAutoImportProvider + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js index 5358cb0034ee0..43e48eecfb037 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js @@ -469,6 +469,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js index 12bf5267f45e5..b2178d5524d70 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js @@ -498,6 +498,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /classes.ts (Open) *changed* @@ -658,3 +659,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js index a7b7760448e18..74c487f6832ad 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js @@ -550,6 +550,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: @@ -639,7 +640,9 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js index 0f0716abb1396..1aea6a9838d79 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js @@ -453,6 +453,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] Running: /tsconfig.json @@ -554,9 +555,11 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js index 34283e171e44e..a379e9df85ead 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js @@ -438,6 +438,7 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -459,6 +460,8 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *deleted* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* + isClosed: true *changed* /tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js index 11229fded2c41..f2e2cf02450de 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js @@ -77,6 +77,7 @@ Projects:: /A/B/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Before request @@ -239,6 +240,7 @@ Projects:: /A/B/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js index b0bbb8c85f47d..538bb34233c19 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js @@ -257,6 +257,7 @@ Projects:: /src/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /src/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /src/tsconfig.json @@ -412,6 +413,7 @@ Projects:: /src/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /compiler/lib.es2015.promise.d.ts *new* diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js index e0db31cdb5a2f..7de051dd3a0d1 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js @@ -219,6 +219,7 @@ Projects:: /a/b/proj1 (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/app.ts (Open) @@ -290,9 +291,12 @@ Projects:: /a/b/proj1 (External) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* /a/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true ScriptInfos:: /a/b/app.ts (Open) *changed* @@ -492,6 +496,8 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + isClosed: true *changed* Info seq [hh:mm:ss:mss] request: { diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js index 4f44546846512..c7cb816dac882 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js @@ -219,6 +219,7 @@ Projects:: /a/b/proj1 (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/app.ts (Open) @@ -380,6 +381,8 @@ Projects:: /a/b/proj1 (External) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* /a/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -435,6 +438,7 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* ScriptInfos:: /a/b/app.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js index ba0bc517651ec..553727c00d3e1 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js @@ -210,12 +210,15 @@ Projects:: /a/b/c/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true /a/b/d/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true /a/b/proj1 (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* ScriptInfos:: /a/b/app.ts *changed* @@ -561,9 +564,11 @@ Projects:: /a/b/c/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* /a/b/d/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.ts @@ -660,6 +665,8 @@ Projects:: /a/b/c/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* /a/b/d/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -764,6 +771,8 @@ Projects:: /a/b/d/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* /a/b/proj1 (External) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -855,12 +864,15 @@ Projects:: /a/b/c/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true /a/b/d/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true /a/b/proj1 (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* ScriptInfos:: /a/b/app.ts *changed* @@ -1128,9 +1140,11 @@ Projects:: /a/b/c/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* /a/b/d/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.ts @@ -1226,9 +1240,13 @@ Projects:: /a/b/c/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* /a/b/d/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/b/app.ts diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js index b51374cdd6a19..f8a736817b087 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js @@ -404,6 +404,7 @@ Projects:: /a/b/proj1 (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* ScriptInfos:: /a/b/app.ts *changed* @@ -503,6 +504,8 @@ Projects:: /a/b/c/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* /a/b/d/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -607,6 +610,8 @@ Projects:: /a/b/d/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* /a/b/proj1 (External) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -804,6 +809,7 @@ Projects:: /a/b/proj1 (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* ScriptInfos:: /a/b/app.ts *changed* @@ -902,9 +908,13 @@ Projects:: /a/b/c/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* /a/b/d/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/b/app.ts diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js index 7dca2a9b941c9..0601557b4e736 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js @@ -97,6 +97,7 @@ Projects:: /user/someuser/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Before request @@ -147,6 +148,8 @@ Projects:: /user/someuser/project/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + isClosed: true *changed* Info seq [hh:mm:ss:mss] request: { diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js index fe4687743fac7..e8b818e011f94 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js @@ -256,6 +256,7 @@ Projects:: /user/someuser/project/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* Info seq [hh:mm:ss:mss] request: { diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js b/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js index e579f7726d834..16d4c69be1c76 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-for-dynamic-file.js @@ -88,12 +88,11 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -^ScriptDocument1 file1.ts *new* +^ScriptDocument1 file1.ts (Dynamic) *new* version: Text-1 containingProjects: 1 ^ScriptDocument1 file1.ts -/^scriptdocument1 file1.ts isDynamic:: true Before request Info seq [hh:mm:ss:mss] request: @@ -137,7 +136,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -^ScriptDocument1 file1.ts (Open) *changed* +^ScriptDocument1 file1.ts (Dynamic) (Open) *changed* open: true *changed* version: SVC-2-0 *changed* containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js b/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js index 6536578c4d79a..7355a5f2a61b4 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js @@ -393,7 +393,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* -Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -458,6 +457,8 @@ Projects:: /a/c/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -476,7 +477,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* -Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -525,6 +525,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/b/f1.ts (Open) @@ -540,7 +542,6 @@ ScriptInfos:: containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -582,6 +583,17 @@ FsWatches:: /a/d/f3.ts: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isOrphan: true + ScriptInfos:: /a/b/f1.ts *changed* open: false *changed* @@ -595,7 +607,6 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -768,12 +779,17 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /a/c/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true ScriptInfos:: /a/b/f1.ts *deleted* diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js index 04fe40ce8dbc9..712b33529bdf4 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js @@ -264,6 +264,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/f1.ts *changed* open: false *changed* @@ -350,6 +356,8 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js index 65482338ef65f..bba93d67a9d9a 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js @@ -326,6 +326,8 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/b/f1.ts *changed* diff --git a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js index d1a29fbf0fa07..3392c135c36c4 100644 --- a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js +++ b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js @@ -705,6 +705,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/jsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -723,5 +725,3 @@ ScriptInfos:: containingProjects: 1 *changed* /user/username/projects/myproject/jsconfig.json *default* *new* /dev/null/inferredProject1* *deleted* - -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js b/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js index b4da98a6fb8e5..094be1db6c243 100644 --- a/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js +++ b/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js @@ -75,6 +75,7 @@ Projects:: /a/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Before request @@ -265,6 +266,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.ts *new* @@ -325,6 +327,8 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/b/app.ts *changed* diff --git a/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js b/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js index 62b3ecd423887..ae74c2bb6c27c 100644 --- a/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js +++ b/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js @@ -320,6 +320,7 @@ Projects:: /b/app.ts.csproj (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* /c/app.ts.csproj (External) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -395,9 +396,11 @@ Projects:: /a/app.ts.csproj (External) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* /c/app.ts.csproj (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* ScriptInfos:: /a/app.ts *changed* diff --git a/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js b/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js index d79c00d759ed9..0ad25b80aab97 100644 --- a/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js @@ -206,7 +206,6 @@ ScriptInfos:: containingProjects: 1 /a/tsconfig.json *default* -Configured project: /a/tsconfig.json hasOpenRef:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -246,6 +245,12 @@ FsWatchesRecursive:: /a/src: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/src/app.ts *changed* open: false *changed* @@ -253,7 +258,6 @@ ScriptInfos:: containingProjects: 1 /a/tsconfig.json -Configured project: /a/tsconfig.json hasOpenRef:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -299,11 +303,15 @@ FsWatchesRecursive:: /a/src: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/src/app.ts (Open) *changed* open: true *changed* version: SVC-1-0 containingProjects: 1 /a/tsconfig.json *default* - -Configured project: /a/tsconfig.json hasOpenRef:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js b/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js index 9db10a7e378c6..0ca976197a0c6 100644 --- a/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js +++ b/tests/baselines/reference/tsserver/externalProjects/should-not-close-external-project-with-no-open-files.js @@ -256,6 +256,7 @@ Projects:: externalproject (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* ScriptInfos:: /a/b/f1.ts *changed* diff --git a/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js b/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js index e7e4f34905fef..cf3034bf343f0 100644 --- a/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js +++ b/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js @@ -608,6 +608,7 @@ Projects:: /packages/babel-loader/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /packages/core/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -757,6 +758,7 @@ Projects:: /packages/babel-loader/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /packages/core/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index 03175cdf8b576..79ac994064e0c 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -323,6 +323,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -392,6 +393,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js index 0857b04655769..828c52dea69dd 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js @@ -336,6 +336,8 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -416,6 +418,8 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -536,6 +540,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -606,6 +611,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js index 1f8980bbec88f..2a54b94419005 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js @@ -177,6 +177,7 @@ Projects:: /common/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -345,6 +346,7 @@ Projects:: /common/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js index 49dff504da407..8463e81222b9d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js @@ -506,6 +506,7 @@ Projects:: /packages/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js index 94a16a7571896..a9826834a2121 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js @@ -346,9 +346,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /packages/dep/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -461,6 +463,19 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /lib.d.ts version: Text-1 @@ -668,9 +683,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts @@ -858,6 +875,19 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /lib.d.ts version: Text-1 @@ -1065,9 +1095,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js index 114bb531edcc7..4e2590311aaf8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js @@ -346,9 +346,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /packages/dep/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -461,6 +463,19 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /lib.d.ts version: Text-1 @@ -668,9 +683,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts @@ -858,6 +875,19 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /lib.d.ts version: Text-1 @@ -1065,9 +1095,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js index b6d4d3490ec75..28db2223a0d7c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js @@ -179,6 +179,7 @@ Projects:: /common/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -352,6 +353,7 @@ Projects:: /common/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js index d1bb93c8ac6fe..9f764fc390b0f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js @@ -346,9 +346,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /packages/dep/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -461,6 +463,19 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /lib.d.ts version: Text-1 @@ -668,9 +683,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts @@ -858,6 +875,19 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /lib.d.ts version: Text-1 @@ -1065,9 +1095,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js index aa8e717654e54..a3041a98798b7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js @@ -313,9 +313,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /packages/dep/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -413,6 +415,19 @@ watchedDirectoriesRecursive:: /packages/dep/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /lib.d.ts version: Text-1 @@ -656,6 +671,7 @@ Projects:: /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts @@ -720,10 +736,12 @@ Projects:: /packages/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js index 456b3edd100f5..b47b3f6990efc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js @@ -313,9 +313,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /packages/dep/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -413,6 +415,19 @@ watchedDirectoriesRecursive:: /packages/dep/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /lib.d.ts version: Text-1 @@ -656,6 +671,7 @@ Projects:: /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts @@ -720,10 +736,12 @@ Projects:: /packages/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js index 370411fe7838d..05765c0157964 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js @@ -304,9 +304,11 @@ Projects:: /packages/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /packages/dep/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -404,6 +406,19 @@ watchedDirectoriesRecursive:: /packages/dep/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/packages/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/packages/dep/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /lib.d.ts version: Text-1 @@ -647,6 +662,7 @@ Projects:: /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts @@ -711,10 +727,12 @@ Projects:: /packages/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* /packages/dep/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js index 390fd6945e2f7..60ba36aa44734 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js @@ -505,6 +505,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js index 7f614a24ff54d..175ab7e84a6a3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js @@ -328,6 +328,8 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js index bf51f992de138..81483ffe9320d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js @@ -318,9 +318,11 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/autoImportProviderProject1* (AutoImportProvider) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -421,6 +423,23 @@ watchedDirectoriesRecursive:: /b: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* + ScriptInfos:: /a/index.ts (Open) *changed* open: true *changed* @@ -644,6 +663,7 @@ Projects:: /b/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/autoImportProviderProject1* (AutoImportProvider) projectStateVersion: 1 projectProgramVersion: 1 @@ -705,10 +725,12 @@ Projects:: /a/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject2* /b/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/autoImportProviderProject1* (AutoImportProvider) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js index d2464a9c3f388..3bb88d83eb84e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js @@ -468,6 +468,7 @@ Projects:: /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject2* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index ebee772798155..52089661fa28a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -551,6 +551,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -828,6 +829,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js index 33aced7fa4e5b..6114d74b7e579 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js @@ -246,6 +246,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -353,6 +354,19 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 @@ -1386,6 +1400,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js index 402408593dba9..09994282eb906 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js @@ -246,6 +246,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -353,6 +354,19 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 @@ -1386,6 +1400,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js index 8cc662fc5224a..748fffabbf0fc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js @@ -191,6 +191,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -263,6 +264,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js index 8d06ba6260e8d..a3867621f709a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -214,6 +214,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -296,6 +297,19 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js index 94436722540ea..448dd96fb29d0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -207,6 +207,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -289,6 +290,19 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js index 6266b61d50fce..e2741ab03c61c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js @@ -187,6 +187,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -259,6 +260,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js index 30961a0741a26..93a16529b97b3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -219,6 +219,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -302,6 +303,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js index 8173b46245575..290eaeec9ca04 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -228,6 +228,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -311,6 +312,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js index e13ca12061e7c..e95927e7b183b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js @@ -212,6 +212,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -298,6 +299,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js index c6369a647a67f..7b551926e7d50 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js @@ -209,6 +209,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -293,6 +294,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js index 55a1705350fc2..7c945f9dc01ad 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js @@ -197,6 +197,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -275,6 +276,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js index 58e7b719173a0..f838a4c30dcfa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js @@ -199,6 +199,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js index ac19a77b46710..18ed7cf61c21a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js @@ -185,6 +185,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js index b0fdafba8736c..927d1310dfca6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js @@ -185,6 +185,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js index 96cb18da9f9fe..7b0e87590fabe 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js @@ -188,6 +188,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js index f8c6802fe5d67..7c4447dbdd3b3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js @@ -205,6 +205,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js index f2b64d9f43160..9e7ae23137900 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js @@ -190,6 +190,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -272,6 +273,19 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* @@ -555,6 +569,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject2* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js index 1d0114e908309..09e0f23c9f592 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js @@ -179,6 +179,7 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -379,6 +380,7 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /c/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -584,6 +586,7 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -748,6 +751,7 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index 78a8c0302b2a9..b43cb614eb38f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -184,6 +184,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -268,6 +269,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* @@ -1225,6 +1235,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js index 9a68ac19c6152..9593367d397f9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js @@ -199,6 +199,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -287,6 +288,15 @@ watchedDirectoriesRecursive:: /packages/app/dist: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js index 6e47c5a66f40d..1b9f1db11a9ef 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js @@ -133,6 +133,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -215,6 +216,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js index 9291dcc2a75a7..978b215fee86e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js @@ -955,6 +955,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js index 1d6568a3b83b6..0c74a982c2aa0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js @@ -961,6 +961,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions01.js b/tests/baselines/reference/tsserver/fourslashServer/completions01.js index 5c6778203b946..fc48954f2d30d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions01.js @@ -131,6 +131,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts @@ -393,6 +394,13 @@ Info seq [hh:mm:ss:mss] response: ] } } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 6, @@ -412,6 +420,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts @@ -913,4 +922,10 @@ Info seq [hh:mm:ss:mss] response: } ] } - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions02.js b/tests/baselines/reference/tsserver/fourslashServer/completions02.js index 3e72c170fb0c9..d59f60c4e5505 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions02.js @@ -390,6 +390,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts @@ -613,6 +614,13 @@ Info seq [hh:mm:ss:mss] response: ] } } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 11, diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js index b412e9c33d86c..87c160d35613d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -208,6 +208,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -304,6 +305,15 @@ watchedDirectoriesRecursive:: /packages/mylib/mySubDir: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 @@ -1297,6 +1307,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts @@ -1383,6 +1394,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] request: { @@ -1406,6 +1418,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /lib.d.ts @@ -4685,3 +4698,4 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js index 67dc7b72d9853..6a32fa2ba6ce8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -196,6 +196,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -280,6 +281,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* @@ -1058,6 +1068,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -1898,4 +1909,13 @@ Info seq [hh:mm:ss:mss] response: } ] } - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js index 3bbe0e36cf298..3906da33b46ca 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js @@ -168,6 +168,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -225,6 +226,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* @@ -1056,6 +1066,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js index 3c60318587a21..6d32880c4e959 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -185,6 +185,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -302,6 +303,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* @@ -1097,6 +1107,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -1958,6 +1969,16 @@ Info seq [hh:mm:ss:mss] response: ] } } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 10, @@ -2116,6 +2137,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js index 231748db1ccdb..bde1c25990cd1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js @@ -214,6 +214,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -304,6 +305,19 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* @@ -1192,6 +1206,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject2* ScriptInfos:: @@ -2080,3 +2095,20 @@ watchedDirectoriesRecursive:: {} /node_modules: *new* {} + +Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/autoImportProviderProject2* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js index eeeb1229777c0..695703650d327 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js @@ -198,6 +198,7 @@ Projects:: /tests/cases/fourslash/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -288,6 +289,15 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js index 2e74af7557c30..c913e1095d73f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js @@ -181,6 +181,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /classes.ts *new* @@ -257,6 +258,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /classes.ts (Open) *changed* open: true *changed* @@ -564,6 +574,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /classes.ts (Open) *changed* @@ -761,4 +772,13 @@ Info seq [hh:mm:ss:mss] response: } ] } - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js index 69b101b2ea513..5bd1efc5a91c6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js +++ b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js @@ -193,6 +193,7 @@ Projects:: /tests/cases/fourslash/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -275,6 +276,15 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js index 1cd7c8f799897..2d4c201c208b5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js @@ -213,6 +213,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -279,6 +280,15 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js index 6384e74ab9169..a4d113c6d85b5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js @@ -215,6 +215,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -281,6 +282,15 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js index 241d9ff2d9867..aea9d1db12354 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js @@ -211,6 +211,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -277,6 +278,15 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js index b4606827d1f0f..b15d3e4313c89 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js @@ -218,6 +218,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -284,6 +285,15 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js index 1f1005e534afa..642ff4439e0af 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js @@ -228,6 +228,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -294,6 +295,15 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js index 2e990818b4da8..f5b0aefe9ec14 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js @@ -372,6 +372,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /tests/cases/fourslash/server/buttonClass/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js index 06302e38899eb..9598f71ee85b3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js @@ -196,6 +196,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js index 6dcca85df41cb..e67688cd94c63 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js @@ -248,6 +248,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/format01.js b/tests/baselines/reference/tsserver/fourslashServer/format01.js index e610b951e35ac..dfbd816df789e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/format01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/format01.js @@ -240,6 +240,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js index d880958bbc201..d84943f93bd7b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js @@ -165,6 +165,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js index f1f4b321c2d36..2635ab059a308 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js @@ -178,6 +178,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js index ad07d64e84685..ce410e0918548 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js @@ -169,6 +169,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js index fd733fe21c818..2e21af4f1c592 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js @@ -134,6 +134,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js index 06e3a93f0a584..9d2b20f2b7172 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js @@ -374,12 +374,15 @@ Projects:: /tsconfig.build.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /tsconfig.test.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js index af1662b6deb71..86f69aade5747 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js @@ -183,6 +183,7 @@ Projects:: /project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index cb33b0d69fb54..a3b637a76643b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -423,15 +423,19 @@ Projects:: /packages/client/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /packages/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /packages/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js b/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js index 57a534c5ebcb3..47c2cd55dc47a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js @@ -163,6 +163,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js index a75d3ef347c96..1dba9ca909d0c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js @@ -180,6 +180,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -250,6 +251,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js index 39986ea5a29ac..388b8c5c0ad5a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js @@ -163,6 +163,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js index 884e126cf2b93..e588172328c78 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js +++ b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js @@ -173,6 +173,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -251,6 +252,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* @@ -379,6 +389,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /index.ts (Open) *changed* @@ -520,6 +531,16 @@ Info seq [hh:mm:ss:mss] response: }, "body": [] } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 10, diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js index 91fe254d6d4c4..b70362e0f8aa0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js @@ -204,6 +204,7 @@ Projects:: /apps/app1/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -345,6 +346,15 @@ watchedDirectoriesRecursive:: /shared: {} +Projects:: +/apps/app1/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /apps/app1/src/app.ts version: Text-1 @@ -565,6 +575,7 @@ Projects:: /apps/app1/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -734,6 +745,15 @@ watchedDirectoriesRecursive:: /shared: {} +Projects:: +/apps/app1/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /apps/app1/src/app.ts (Open) *changed* open: true *changed* @@ -954,6 +974,7 @@ Projects:: /apps/app1/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -1123,6 +1144,15 @@ watchedDirectoriesRecursive:: /shared: {} +Projects:: +/apps/app1/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /apps/app1/src/app.ts (Open) version: SVC-2-2 @@ -1343,6 +1373,7 @@ Projects:: /apps/app1/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 1 + dirty: true *changed* /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js index 825f535b1c993..7e942f26b915f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js @@ -608,6 +608,7 @@ Projects:: /packages/pkg-1/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: @@ -827,6 +828,7 @@ Projects:: /packages/pkg-1/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true autoImportProviderHost: /dev/null/autoImportProviderProject1* /packages/pkg-2/tsconfig.json (Configured) *new* projectStateVersion: 1 @@ -1058,10 +1060,12 @@ Projects:: /packages/pkg-1/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true autoImportProviderHost: /dev/null/autoImportProviderProject1* /packages/pkg-2/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js index 3ebd2ee9cb54f..cfb9d0395bf7c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js @@ -162,6 +162,7 @@ Projects:: /project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -239,6 +240,15 @@ watchedDirectoriesRecursive:: /project: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 @@ -451,6 +461,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js index 420667326d553..041021dd4376d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js @@ -162,6 +162,7 @@ Projects:: /project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -239,6 +240,15 @@ watchedDirectoriesRecursive:: /project: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js index d18afd10d14bd..8b1933109a431 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -176,6 +176,7 @@ Projects:: /project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -260,6 +261,15 @@ watchedDirectoriesRecursive:: /project: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js index f523d3645ac1c..53416506401e5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js @@ -157,6 +157,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /ambient.d.ts *new* @@ -227,6 +228,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /ambient.d.ts (Open) *changed* open: true *changed* @@ -1011,6 +1021,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /ambient.d.ts (Open) *changed* @@ -1765,6 +1776,16 @@ Info seq [hh:mm:ss:mss] response: ] } } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -1787,6 +1808,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /ambient.d.ts (Open) *changed* @@ -4881,6 +4903,16 @@ Info seq [hh:mm:ss:mss] response: ] } } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 68, @@ -4925,6 +4957,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /ambient.d.ts (Open) *changed* @@ -6779,6 +6812,16 @@ Info seq [hh:mm:ss:mss] response: ] } } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 99, diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js index 95034e24ae278..63bb90e21835f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js @@ -206,6 +206,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a.js *new* @@ -287,6 +288,15 @@ watchedDirectoriesRecursive:: /node_modules/@types: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a.js (Open) *changed* open: true *changed* @@ -951,6 +961,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a.js (Open) *changed* @@ -3798,6 +3809,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] request: { @@ -3821,6 +3833,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a.js (Open) *changed* @@ -4463,3 +4476,4 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js index 31ee64e7bab63..ad2e7b736e656 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js @@ -175,6 +175,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -257,6 +258,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js index 52c09a6f4a4a5..ab112f1b18686 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js @@ -187,6 +187,7 @@ Projects:: /jsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a.js *new* @@ -266,6 +267,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/jsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a.js (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js index eb8c05b2d7a5a..2dd2e6e8c9461 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -172,6 +172,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a.ts *new* @@ -249,6 +250,15 @@ watchedDirectoriesRecursive:: : {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a.ts (Open) *changed* open: true *changed* @@ -1807,6 +1817,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a.ts (Open) *changed* @@ -4706,6 +4717,16 @@ Info seq [hh:mm:ss:mss] response: ] } } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 74, diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js index fe9b4b02daa94..48e245982f8d3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js @@ -272,6 +272,8 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/index.ts (Open) *new* @@ -481,6 +483,8 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true Info seq [hh:mm:ss:mss] request: { @@ -710,12 +714,15 @@ Projects:: /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /c/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/index.ts (Open) @@ -932,6 +939,27 @@ watchedFiles *deleted*:: /b/index.ts: {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 3 + /b/tsconfig.json + /a/tsconfig.json + /c/tsconfig.json +/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /a/index.ts (Open) version: SVC-1-0 @@ -1439,6 +1467,26 @@ watchedFiles *deleted*:: /c/index.ts: {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 3 + /b/tsconfig.json + /a/tsconfig.json + /c/tsconfig.json +/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/c/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /a/index.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js index 813102675150d..86a304bc8baa5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js @@ -315,6 +315,8 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/index.ts (Open) *new* @@ -563,6 +565,8 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true Info seq [hh:mm:ss:mss] request: { @@ -984,6 +988,7 @@ Projects:: /a2/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /c/tsconfig.json /a/tsconfig.json @@ -991,9 +996,11 @@ Projects:: /c/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/index.ts (Open) @@ -1219,6 +1226,30 @@ watchedFiles *deleted*:: /a2/index.ts: {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /c/tsconfig.json + /a/tsconfig.json +/a2/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + originalConfiguredProjects: 3 + /c/tsconfig.json + /a/tsconfig.json + /a2/tsconfig.json +/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /a/index.ts (Open) version: SVC-1-0 @@ -1704,9 +1735,11 @@ Projects:: /c/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true Info seq [hh:mm:ss:mss] request: { @@ -1977,9 +2010,11 @@ Projects:: /c/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/index.ts (Open) @@ -2190,9 +2225,11 @@ Projects:: /c/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true Info seq [hh:mm:ss:mss] request: { @@ -2494,6 +2531,35 @@ watchedFiles *deleted*:: /c/index.ts: {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 4 + /c/tsconfig.json + /a/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json +/a2/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 4 + /c/tsconfig.json + /a/tsconfig.json + /a2/tsconfig.json + /b/tsconfig.json +/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/c/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /a/index.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js index cdc665a7304f3..8caca95bfb823 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js @@ -180,6 +180,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts @@ -412,4 +413,10 @@ Info seq [hh:mm:ss:mss] response: } ] } - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js index 6f89994425fb6..b3bb91bb01524 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js @@ -193,6 +193,7 @@ Projects:: /tests/cases/fourslash/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -275,6 +276,15 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js index f37c5671ffdcd..75af1baea66ab 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js @@ -193,6 +193,7 @@ Projects:: /tests/cases/fourslash/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -275,6 +276,15 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js index 11441542f7ca1..47384598f1afc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js @@ -192,6 +192,7 @@ Projects:: /tests/cases/fourslash/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -274,6 +275,15 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js index 438fa500f6c7f..843861a566aac 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js @@ -192,6 +192,7 @@ Projects:: /tests/cases/fourslash/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -274,6 +275,15 @@ watchedDirectoriesRecursive:: {} {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js index 9e2151feb1d77..863accfd3460a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js @@ -270,6 +270,7 @@ Projects:: /tests/cases/fourslash/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -362,6 +363,15 @@ watchedDirectoriesRecursive:: /tests/cases/fourslash/server/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tests/cases/fourslash/server/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js index ba7a463c37546..50e476c6241c4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js @@ -426,6 +426,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: @@ -1289,12 +1290,14 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 /tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: @@ -1347,12 +1350,14 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 /tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: @@ -1551,12 +1556,14 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 /tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js index 4abe24cb9ddf8..e26ebaa610540 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js @@ -279,6 +279,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -462,6 +465,9 @@ Projects:: /dev/null/inferredProject2* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject3* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/references01.js b/tests/baselines/reference/tsserver/fourslashServer/references01.js index a37f0d84062ce..ff9044a90704d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/references01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/references01.js @@ -159,6 +159,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js index fb0c1029117df..1c5a75185eb60 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js @@ -152,6 +152,7 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -227,6 +228,15 @@ watchedFiles *deleted*:: /a/a.ts: {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/a.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js index 4b711a9a880f4..3ec0396f94e0f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js @@ -152,6 +152,7 @@ Projects:: /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -227,6 +228,15 @@ watchedFiles *deleted*:: /a/a.ts: {"pollingInterval":500} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/a.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js index 1457a19582dc4..faf3109a1ca61 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js @@ -159,6 +159,7 @@ Projects:: /lib/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -229,6 +230,15 @@ watchedDirectoriesRecursive:: /lib: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/lib/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js index 34ee4e715bbb6..e261e795a471d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js @@ -159,6 +159,7 @@ Projects:: /lib/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* @@ -229,6 +230,15 @@ watchedDirectoriesRecursive:: /lib: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/lib/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js index 7974bd806c637..bab196c1a29ac 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js @@ -225,6 +225,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /index.ts *new* @@ -298,6 +299,15 @@ watchedFiles *deleted*:: /index.ts: {"pollingInterval":500} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /index.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js index ee844fb4aad49..57d55148192f2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js @@ -213,6 +213,7 @@ Projects:: /tests/cases/fourslash/server/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js index 8a69dbbded8e1..061fea819fc86 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js @@ -129,6 +129,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /lib.d.ts diff --git a/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js b/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js index f107bd1103255..033ea7cb620e9 100644 --- a/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js +++ b/tests/baselines/reference/tsserver/inconsistentErrorInEditor/should-not-error.js @@ -57,7 +57,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -^/untitled/ts-nul-authority/Untitled-1 (Open) *new* +^/untitled/ts-nul-authority/Untitled-1 (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/inconsistentErrorInEditor2/should-not-error.js b/tests/baselines/reference/tsserver/inconsistentErrorInEditor2/should-not-error.js index 5d7cf8ccc134a..97df4dbc223bf 100644 --- a/tests/baselines/reference/tsserver/inconsistentErrorInEditor2/should-not-error.js +++ b/tests/baselines/reference/tsserver/inconsistentErrorInEditor2/should-not-error.js @@ -57,7 +57,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -^/untitled/ts-nul-authority/Untitled-1 (Open) *new* +^/untitled/ts-nul-authority/Untitled-1 (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-insensitive-system.js b/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-insensitive-system.js index 5f46483cab981..75c117b846bff 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-insensitive-system.js +++ b/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-insensitive-system.js @@ -808,6 +808,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* /dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -894,6 +895,19 @@ FsWatches:: /a/file1.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: true + isOrphan: true *changed* +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /A/file2.ts *changed* open: false *changed* @@ -977,9 +991,13 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 3 projectProgramVersion: 2 + dirty: true + isOrphan: true /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject3* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -1067,12 +1085,18 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 3 projectProgramVersion: 2 + dirty: true + isOrphan: true /dev/null/inferredProject2* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject3* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /A/file2.ts @@ -1300,12 +1324,20 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* + isOrphan: false *changed* /dev/null/inferredProject2* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject3* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true ScriptInfos:: /A/file2.ts *deleted* @@ -1899,6 +1931,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 4 + dirty: true *changed* /dev/null/inferredProject4* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -1985,6 +2018,19 @@ FsWatches:: /a/file1.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 5 + projectProgramVersion: 4 + dirty: true + isOrphan: true *changed* +/dev/null/inferredProject4* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject5* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /A/file2.ts *changed* open: false *changed* @@ -2068,9 +2114,13 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 5 projectProgramVersion: 4 + dirty: true + isOrphan: true /dev/null/inferredProject4* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject5* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -2158,12 +2208,18 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 5 projectProgramVersion: 4 + dirty: true + isOrphan: true /dev/null/inferredProject4* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject5* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /A/file2.ts @@ -2421,12 +2477,20 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 5 projectProgramVersion: 5 *changed* + dirty: false *changed* + isOrphan: false *changed* /dev/null/inferredProject4* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject5* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true ScriptInfos:: /A/file2.ts *deleted* @@ -3020,6 +3084,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 7 *changed* projectProgramVersion: 6 + dirty: true *changed* /dev/null/inferredProject6* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -3106,6 +3171,19 @@ FsWatches:: /a/file1.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 7 + projectProgramVersion: 6 + dirty: true + isOrphan: true *changed* +/dev/null/inferredProject6* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject7* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /A/file2.ts *changed* open: false *changed* @@ -3189,9 +3267,13 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 7 projectProgramVersion: 6 + dirty: true + isOrphan: true /dev/null/inferredProject6* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject7* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -3279,12 +3361,18 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 7 projectProgramVersion: 6 + dirty: true + isOrphan: true /dev/null/inferredProject6* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject7* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /A/file2.ts @@ -3512,12 +3600,20 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 7 projectProgramVersion: 7 *changed* + dirty: false *changed* + isOrphan: false *changed* /dev/null/inferredProject6* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject7* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true ScriptInfos:: /A/file2.ts *deleted* @@ -4111,6 +4207,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 9 *changed* projectProgramVersion: 8 + dirty: true *changed* /dev/null/inferredProject8* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -4197,6 +4294,19 @@ FsWatches:: /a/file1.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 9 + projectProgramVersion: 8 + dirty: true + isOrphan: true *changed* +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject9* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /A/file2.ts *changed* open: false *changed* @@ -4280,9 +4390,13 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 9 projectProgramVersion: 8 + dirty: true + isOrphan: true /dev/null/inferredProject8* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject9* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -4370,12 +4484,18 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 9 projectProgramVersion: 8 + dirty: true + isOrphan: true /dev/null/inferredProject8* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject9* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /A/file2.ts diff --git a/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-sensitive-system.js b/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-sensitive-system.js index fdd9013119770..d1428aeb6a7ef 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-sensitive-system.js +++ b/tests/baselines/reference/tsserver/inferredProjects/inferred-projects-per-project-root-with-case-sensitive-system.js @@ -808,6 +808,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* /dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -894,6 +895,19 @@ FsWatches:: /a/file1.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: true + isOrphan: true *changed* +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /A/file2.ts *changed* open: false *changed* @@ -977,9 +991,13 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 3 projectProgramVersion: 2 + dirty: true + isOrphan: true /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject3* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -1067,12 +1085,18 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 3 projectProgramVersion: 2 + dirty: true + isOrphan: true /dev/null/inferredProject2* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject3* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /A/file2.ts @@ -1300,12 +1324,20 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* + isOrphan: false *changed* /dev/null/inferredProject2* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject3* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true ScriptInfos:: /A/file2.ts *deleted* @@ -1955,6 +1987,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject4* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -2056,9 +2090,13 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 4 projectProgramVersion: 3 + dirty: true + isOrphan: true /dev/null/inferredProject4* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject5* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -2157,12 +2195,18 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 4 projectProgramVersion: 3 + dirty: true + isOrphan: true /dev/null/inferredProject4* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject5* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject6* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -2258,15 +2302,23 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 4 projectProgramVersion: 3 + dirty: true + isOrphan: true /dev/null/inferredProject4* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject5* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject6* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /A/file2.ts @@ -2536,18 +2588,29 @@ FsWatches *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 4 projectProgramVersion: 3 + dirty: false *changed* + isOrphan: false *changed* /dev/null/inferredProject4* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject5* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject6* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true ScriptInfos:: /A/file2.ts *deleted* @@ -3141,6 +3204,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 6 *changed* projectProgramVersion: 4 + dirty: true *changed* /dev/null/inferredProject7* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -3227,6 +3291,19 @@ FsWatches:: /a/file1.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 6 + projectProgramVersion: 4 + dirty: true + isOrphan: true *changed* +/dev/null/inferredProject7* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject8* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /A/file2.ts *changed* open: false *changed* @@ -3310,9 +3387,13 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 6 projectProgramVersion: 4 + dirty: true + isOrphan: true /dev/null/inferredProject7* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject8* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -3400,12 +3481,18 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 6 projectProgramVersion: 4 + dirty: true + isOrphan: true /dev/null/inferredProject7* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject8* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /A/file2.ts @@ -3633,12 +3720,20 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 6 projectProgramVersion: 5 *changed* + dirty: false *changed* + isOrphan: false *changed* /dev/null/inferredProject7* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject8* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true ScriptInfos:: /A/file2.ts *deleted* @@ -4294,6 +4389,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 7 *changed* projectProgramVersion: 5 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject10* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -4397,6 +4494,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 7 projectProgramVersion: 5 + dirty: true + isOrphan: true /dev/null/inferredProject10* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -4406,6 +4505,8 @@ Projects:: /dev/null/inferredProject9* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /A/file2.ts *changed* @@ -4500,15 +4601,21 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 7 projectProgramVersion: 5 + dirty: true + isOrphan: true /dev/null/inferredProject10* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject11* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 /dev/null/inferredProject9* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true ScriptInfos:: /A/file2.ts @@ -4603,15 +4710,23 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 7 projectProgramVersion: 5 + dirty: true + isOrphan: true /dev/null/inferredProject10* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject11* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject9* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true ScriptInfos:: /A/file2.ts diff --git a/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js b/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js index 6452a1fd13bd5..9d40956068f46 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js +++ b/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js @@ -153,9 +153,11 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 3 1: /dev/null/inferredProject1* @@ -242,9 +244,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 3 *changed* + dirty: false *changed* + isOrphan: true *changed* ScriptInfos:: /a/b/app.ts (Open) @@ -256,6 +261,3 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject1* *default* *new* /dev/null/inferredProject2* *deleted* - -Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false -Inferred project: /dev/null/inferredProject2* isOrphan:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js index bcf8c60a3da98..9881dae5dd6cd 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js @@ -189,6 +189,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -367,6 +368,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true Before request @@ -428,9 +430,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -623,9 +628,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -814,6 +822,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -926,6 +935,8 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js b/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js index cbe77ba5e8173..6e73bffada3f2 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js @@ -357,6 +357,7 @@ Projects:: /user/username/projects/myproject/a/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Loading configured project /user/username/projects/myproject/a/b/tsconfig.json @@ -638,6 +639,7 @@ Projects:: /user/username/projects/myproject/a/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js index a88e313afa46d..c8a8a155a5687 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js +++ b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js @@ -216,6 +216,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -335,6 +337,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 *changed* + dirty: false *changed* + isOrphan: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js b/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js index 7cf825707d389..d3d39fb5351bd 100644 --- a/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js +++ b/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js @@ -296,6 +296,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/app.ts (Open) *changed* @@ -355,6 +356,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: @@ -394,6 +401,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/app.ts (Open) *changed* @@ -452,3 +460,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js index b0bcdd38921e3..0bb85ce0128f3 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js @@ -524,6 +524,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts *deleted* @@ -710,6 +711,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts *new* @@ -772,6 +774,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts @@ -868,6 +871,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /home/src/lib/lib.dom.d.ts version: Text-1 @@ -963,6 +972,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts @@ -1084,6 +1094,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 3 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation @@ -1112,6 +1123,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 3 + dirty: true *changed* Before running Timeout callback:: count: 2 11: /home/src/projects/project1/tsconfig.json @@ -1209,6 +1221,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 5 projectProgramVersion: 4 *changed* + dirty: false *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts *changed* @@ -1284,6 +1297,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 6 *changed* projectProgramVersion: 4 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /home/src/projects/project1/tsconfig.json @@ -1430,6 +1444,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 6 projectProgramVersion: 5 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project1/tsconfig.json 1:: WatchInfo: /home/src/projects/project1/tsconfig.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.json @@ -1472,6 +1487,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 7 *changed* projectProgramVersion: 5 + dirty: true *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts @@ -1715,6 +1731,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 7 projectProgramVersion: 6 *changed* + dirty: false *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts *changed* @@ -1776,6 +1793,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 8 *changed* projectProgramVersion: 6 + dirty: true *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts @@ -1955,6 +1973,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 8 projectProgramVersion: 7 *changed* + dirty: false *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts @@ -2021,6 +2040,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 9 *changed* projectProgramVersion: 7 + dirty: true *changed* Before running Timeout callback:: count: 2 24: /home/src/projects/project1/tsconfig.json @@ -2118,6 +2138,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 9 projectProgramVersion: 8 *changed* + dirty: false *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config.js b/tests/baselines/reference/tsserver/libraryResolution/with-config.js index 52c86afbe1a59..e26c5a429395c 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config.js @@ -545,6 +545,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 3: /home/src/projects/project1/tsconfig.json @@ -647,6 +648,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts *changed* @@ -713,6 +715,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts @@ -812,6 +815,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/home/src/projects/project1/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /home/src/lib/lib.dom.d.ts version: Text-1 @@ -916,6 +925,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts @@ -1040,6 +1050,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 3 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts :: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation @@ -1065,6 +1076,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 3 + dirty: true *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts @@ -1218,6 +1230,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 5 projectProgramVersion: 4 *changed* + dirty: false *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts *changed* @@ -1289,6 +1302,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 6 *changed* projectProgramVersion: 4 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /home/src/projects/project1/tsconfig.json @@ -1441,6 +1455,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 6 projectProgramVersion: 5 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project1/tsconfig.json 1:: WatchInfo: /home/src/projects/project1/tsconfig.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project1/tsconfig.json @@ -1481,6 +1496,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 7 *changed* projectProgramVersion: 5 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -1649,6 +1665,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 7 projectProgramVersion: 6 *changed* + dirty: false *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts *changed* @@ -1755,6 +1772,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 8 *changed* projectProgramVersion: 6 + dirty: true *changed* Before running Timeout callback:: count: 2 22: /home/src/projects/project1/tsconfig.json @@ -1852,6 +1870,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 8 projectProgramVersion: 7 *changed* + dirty: false *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts @@ -1920,6 +1939,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 9 *changed* projectProgramVersion: 7 + dirty: true *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts @@ -2076,6 +2096,7 @@ Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 9 projectProgramVersion: 8 *changed* + dirty: false *changed* ScriptInfos:: /home/src/lib/lib.dom.d.ts diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js index da10373c8d2b7..eed4c77b18b9b 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js @@ -245,5 +245,6 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* maxNodeModuleJsDepth: 2 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js index 15a3dfd6f766b..a91c08894888f 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js @@ -180,6 +180,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/file1.ts (Open) diff --git a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js index b7a73d7c308ae..e2546c24c9f8c 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js @@ -729,6 +729,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -918,6 +919,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 3: semanticCheck @@ -1070,6 +1072,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -1238,6 +1241,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 5: semanticCheck @@ -1392,6 +1396,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -1568,6 +1573,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 7: semanticCheck @@ -1722,6 +1728,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 4 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -1877,6 +1884,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 5 projectProgramVersion: 5 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 9: semanticCheck @@ -2039,6 +2047,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 6 *changed* projectProgramVersion: 5 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -2192,6 +2201,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 6 projectProgramVersion: 6 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -2365,6 +2375,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 7 *changed* projectProgramVersion: 6 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -2546,6 +2557,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 7 projectProgramVersion: 7 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -2706,6 +2718,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 8 *changed* projectProgramVersion: 7 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -2934,6 +2947,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 8 projectProgramVersion: 8 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -3110,6 +3124,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 9 *changed* projectProgramVersion: 8 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -3278,6 +3293,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 9 projectProgramVersion: 9 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -3479,6 +3495,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 10 *changed* projectProgramVersion: 9 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -3668,6 +3685,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 10 projectProgramVersion: 10 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 19: semanticCheck @@ -3841,6 +3859,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 11 *changed* projectProgramVersion: 10 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -4009,6 +4028,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 11 projectProgramVersion: 11 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 21: semanticCheck @@ -4163,6 +4183,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 12 *changed* projectProgramVersion: 11 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -4339,6 +4360,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 12 projectProgramVersion: 12 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 23: semanticCheck @@ -4493,6 +4515,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 13 *changed* projectProgramVersion: 12 + dirty: true *changed* Before running Immedidate callback:: count: 0 @@ -4648,6 +4671,7 @@ Projects:: /home/src/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 13 projectProgramVersion: 13 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 25: semanticCheck diff --git a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js index 12b8b1e65a865..f2a94642f8177 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js +++ b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js @@ -275,6 +275,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 2: /user/username/projects/myproject/src/tsconfig.json @@ -342,6 +343,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before request @@ -472,6 +474,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Before running Timeout callback:: count: 2 6: /user/username/projects/myproject/src/tsconfig.json @@ -539,6 +542,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* Before request @@ -650,6 +654,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* Before running Timeout callback:: count: 2 10: /user/username/projects/myproject/src/tsconfig.json @@ -752,6 +757,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* Before request @@ -879,6 +885,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 4 + dirty: true *changed* Before running Timeout callback:: count: 2 14: /user/username/projects/myproject/src/tsconfig.json @@ -969,6 +976,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 5 projectProgramVersion: 5 *changed* + dirty: false *changed* Before request @@ -1091,6 +1099,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 6 *changed* projectProgramVersion: 5 + dirty: true *changed* Before running Timeout callback:: count: 2 18: /user/username/projects/myproject/src/tsconfig.json @@ -1187,6 +1196,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 6 projectProgramVersion: 6 *changed* + dirty: false *changed* Before request diff --git a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js index 4b0306758797f..26deef03b4c40 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js +++ b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js @@ -275,6 +275,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 2: /user/username/projects/myproject/src/tsconfig.json @@ -342,6 +343,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before request @@ -457,6 +459,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Before running Timeout callback:: count: 2 6: /user/username/projects/myproject/src/tsconfig.json @@ -524,6 +527,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* Before request @@ -649,6 +653,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* Before running Timeout callback:: count: 2 10: /user/username/projects/myproject/src/tsconfig.json @@ -745,6 +750,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* Before request @@ -873,6 +879,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 4 + dirty: true *changed* Before running Timeout callback:: count: 2 14: /user/username/projects/myproject/src/tsconfig.json @@ -969,6 +976,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 5 projectProgramVersion: 5 *changed* + dirty: false *changed* Before request @@ -1077,6 +1085,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 6 *changed* projectProgramVersion: 5 + dirty: true *changed* Before running Timeout callback:: count: 2 18: /user/username/projects/myproject/src/tsconfig.json @@ -1179,6 +1188,7 @@ Projects:: /user/username/projects/myproject/src/tsconfig.json (Configured) *changed* projectStateVersion: 6 projectProgramVersion: 6 *changed* + dirty: false *changed* Before request diff --git a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js index ca48e168a5d49..0c7732786f0b5 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js +++ b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js @@ -804,6 +804,7 @@ Projects:: /home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.es2021.d.ts @@ -982,6 +983,7 @@ Projects:: /home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.es2021.d.ts @@ -1096,6 +1098,7 @@ Projects:: /home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.es2021.d.ts @@ -1276,6 +1279,7 @@ Projects:: /home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.es2021.d.ts diff --git a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js index 270a45930504a..bc688d30a6f64 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js +++ b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js @@ -596,6 +596,7 @@ Projects:: /home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.es2021.d.ts @@ -774,6 +775,7 @@ Projects:: /home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.es2021.d.ts @@ -888,6 +890,7 @@ Projects:: /home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.es2021.d.ts @@ -1068,6 +1071,7 @@ Projects:: /home/src/projects/project/packages/package-b/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.es2021.d.ts diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js index 67f7c2fbdb4ff..329bdf455cba8 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js @@ -978,6 +978,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] Running: /tsconfig.json @@ -1087,9 +1088,11 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js index 77146f2792aa1..14da607f1988c 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js @@ -967,6 +967,7 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js index a44de11b41e1b..693d243797cf9 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js @@ -978,6 +978,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] Running: /tsconfig.json @@ -1142,6 +1143,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] moduleSpecifierCache count: 0 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js index 9b04b812f4207..97ad5f43dbf58 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js @@ -1007,6 +1007,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: @@ -1113,9 +1114,11 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] moduleSpecifierCache count: 0 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js index 71deaf3cc491f..9f7126f63c1cb 100644 --- a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js +++ b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js @@ -238,6 +238,8 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/index.ts (Open) *new* @@ -498,9 +500,12 @@ Projects:: /b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true ScriptInfos:: /a/index.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js b/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js index 19dab75a4b4ff..3c6120b08a1bc 100644 --- a/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js @@ -290,6 +290,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -316,6 +317,12 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Before request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "command": "close", @@ -355,6 +362,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -400,6 +408,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 1 + dirty: true ScriptInfos:: /a/lib/lib.d.ts @@ -457,6 +466,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js b/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js index 1ac0f49d8d599..a0e8dfc8daeaa 100644 --- a/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js @@ -275,6 +275,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -301,6 +302,12 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Before request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "command": "close", @@ -373,6 +380,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -430,6 +438,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js index b3e705d50297e..43b8ffb213e65 100644 --- a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js +++ b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js @@ -275,6 +275,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -301,6 +302,12 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Before request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "command": "applyChangedToOpenFiles", @@ -334,6 +341,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -363,6 +371,12 @@ Before request export const y = 10;export const b = 10; +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "command": "close", @@ -402,6 +416,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -441,6 +456,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 1 + dirty: true Info seq [hh:mm:ss:mss] Running: /project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json @@ -483,6 +499,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js index 870f61f71b3c4..60c74e0b119c5 100644 --- a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js @@ -275,6 +275,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -301,6 +302,12 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Before request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "command": "applyChangedToOpenFiles", @@ -334,6 +341,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -360,6 +368,12 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Before request +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] request: { "command": "close", @@ -399,6 +413,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -444,6 +459,7 @@ Projects:: /project/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 1 + dirty: true ScriptInfos:: /a/lib/lib.d.ts @@ -501,6 +517,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js index 0ae898fd79d2d..8df0d93e55267 100644 --- a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js +++ b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js @@ -253,6 +253,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/lib/module2.ts version: Text-1 @@ -310,6 +316,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/b/lib/module2.ts version: Text-1 @@ -360,6 +372,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/lib/module2.ts version: Text-1 @@ -417,6 +435,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/b/lib/module2.ts version: Text-1 @@ -467,6 +491,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/lib/module2.ts version: Text-1 @@ -524,6 +554,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/b/lib/module2.ts (Open) *changed* open: true *changed* @@ -574,6 +610,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/lib/module2.ts *changed* open: false *changed* @@ -631,6 +673,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/b/lib/module2.ts (Open) *changed* open: true *changed* @@ -681,6 +729,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/lib/module2.ts *changed* open: false *changed* @@ -738,6 +792,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/b/lib/module2.ts (Open) *changed* open: true *changed* @@ -788,6 +848,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/lib/module2.ts *changed* open: false *changed* diff --git a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js index 326a4e91f3f4e..517656bdc08ad 100644 --- a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js +++ b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js @@ -240,6 +240,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/src/app.ts *changed* open: false *changed* @@ -291,6 +297,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/b/src/app.ts (Open) *changed* open: true *changed* @@ -335,6 +347,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/src/app.ts *changed* open: false *changed* @@ -386,6 +404,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/b/src/app.ts (Open) *changed* open: true *changed* @@ -430,6 +454,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/src/app.ts *changed* open: false *changed* @@ -649,6 +679,8 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -703,6 +735,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/B/lib/module2.ts *changed* open: false *changed* @@ -760,6 +798,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/B/lib/module2.ts (Open) *changed* open: true *changed* @@ -810,6 +854,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/B/lib/module2.ts *changed* open: false *changed* @@ -883,6 +933,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/B/lib/module2.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js index b97f738a17221..330e80eecb468 100644 --- a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js +++ b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js @@ -196,6 +196,7 @@ Projects:: /user/someuser/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -245,6 +246,7 @@ Projects:: /user/someuser/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js b/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js index 8959d6f7abdef..2d6d9afa9fcf1 100644 --- a/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js +++ b/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js @@ -226,6 +226,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -286,6 +287,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck @@ -381,6 +388,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -441,6 +449,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 5: semanticCheck *new* +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 5: semanticCheck diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js b/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js index 9b3d6082ef7cb..b0f7f7dba31f7 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js @@ -142,6 +142,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /tsconfig.json (Open) *new* @@ -217,6 +218,8 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: false *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -351,6 +354,7 @@ Projects:: /tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with package.json :: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /tsconfig.json Detected new package.json: /package.json diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js b/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js index d4755942ad81e..22b7cea6f3323 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js @@ -158,6 +158,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /tsconfig.json (Open) *new* @@ -233,6 +234,8 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: false *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -384,6 +387,7 @@ Projects:: /tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with src :: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /tsconfig.json, Cancelled earlier one diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js b/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js index 069312a9d96bc..f25f586c4b76c 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js @@ -158,6 +158,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /tsconfig.json (Open) *new* @@ -233,6 +234,8 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: false *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -384,6 +387,7 @@ Projects:: /tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true getPackageJsonsVisibleToFile:: /src/whatever/blah.ts undefined diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js b/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js index f386ce95b52ef..84534525f95f4 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js @@ -145,6 +145,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /tsconfig.json (Open) *new* @@ -220,6 +221,8 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: false *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -361,6 +364,7 @@ Projects:: /tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true getPackageJsonsVisibleToFile:: /src/whatever/blah.ts undefined diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js b/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js index 0406fca27537d..41629dc70ce9d 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js @@ -145,6 +145,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /tsconfig.json (Open) *new* @@ -220,6 +221,8 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: false *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -361,6 +364,7 @@ Projects:: /tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true getPackageJsonsVisibleToFile:: /src/whatever/blah.ts undefined diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js index 6d5d576b21405..2b01e31406000 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js @@ -112,6 +112,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* autoImportProviderHost: false ScriptInfos:: @@ -167,6 +169,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* + isOrphan: false *changed* autoImportProviderHost: undefined *changed* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js b/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js index 48fa658b4a660..21bef2cc74e3a 100644 --- a/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js +++ b/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js @@ -239,6 +239,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/tsconfig.json @@ -363,6 +364,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ExternalFiles:: [ "someOtherFile.txt" diff --git a/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js b/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js index 18f75b3d83954..b34f51f1176e6 100644 --- a/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js +++ b/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js @@ -241,6 +241,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json getExternalFiles:: Getting new list of .vue files @@ -324,6 +325,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -366,6 +368,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -434,6 +437,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js b/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js index 2b0f9504273ef..7afb154d870ba 100644 --- a/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js +++ b/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js @@ -244,6 +244,7 @@ Projects:: /user/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -305,6 +306,7 @@ Projects:: /user/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js b/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js index dc5e41f1999cf..6200f5d639265 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js @@ -72,7 +72,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -^memfs:/foo.ts (Open) *new* +^memfs:/foo.ts (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -102,6 +102,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -109,4 +110,10 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferre Info seq [hh:mm:ss:mss] Same program as before After running Timeout callback:: count: 0 +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + External files before plugin after plugin is loaded: external.txt \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js b/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js index 0d2ed5bb03b5d..aef6bd2ec7385 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js @@ -72,7 +72,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -^memfs:/foo.ts (Open) *new* +^memfs:/foo.ts (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js b/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js index 397edc712c8b5..a72afb3d02cd2 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js @@ -77,7 +77,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -^memfs:/foo.ts (Open) *new* +^memfs:/foo.ts (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js b/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js index b0d9f37a0e582..f661bd30ec608 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js @@ -72,7 +72,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -^memfs:/foo.ts (Open) *new* +^memfs:/foo.ts (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -103,13 +103,15 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -^memfs:/foo.ts *deleted* +^memfs:/foo.ts (Dynamic) *deleted* open: false *changed* version: SVC-1-0 containingProjects: 0 *changed* diff --git a/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js b/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js index 5b1b162440021..6a26013f6d01f 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js @@ -72,7 +72,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -^memfs:/foo.ts (Open) *new* +^memfs:/foo.ts (Dynamic) (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js index 98370e7843072..2c0619103418a 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js @@ -193,6 +193,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json @@ -288,6 +289,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -309,6 +316,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json @@ -388,3 +396,9 @@ Info seq [hh:mm:ss:mss] event: } } After running Timeout callback:: count: 0 + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js index 8a17b45d6c5f6..5e5caf096a975 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js @@ -207,6 +207,7 @@ Projects:: /a/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -269,6 +270,15 @@ FsWatches *deleted*:: /a/b/app.ts: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/b/app.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js index 840ea852fd5af..c4518cc28b981 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js @@ -180,6 +180,7 @@ Projects:: /a/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -242,6 +243,15 @@ FsWatches *deleted*:: /a/b/app.ts: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/b/app.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js index 6399f55124d30..81de308bbf494 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js @@ -315,6 +315,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -445,6 +446,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js index f1f6e1643f3c8..df966b0771a36 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js @@ -287,6 +287,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -431,6 +432,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js index 53d6e27800826..09053bf868da8 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js @@ -267,6 +267,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -314,6 +315,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js index e6f532f52a148..4c0d3c4d186f0 100644 --- a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js +++ b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js @@ -354,6 +354,7 @@ Projects:: /users/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -424,6 +425,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/users/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js b/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js index 54821c6b998da..d594fb87d4b6d 100644 --- a/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js +++ b/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js @@ -218,6 +218,7 @@ Projects:: /tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /tsconfig.json @@ -344,6 +345,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js b/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js index 8773264555965..8e85e9b09b610 100644 --- a/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js +++ b/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js @@ -184,6 +184,7 @@ Projects:: /a/b/test.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/app.ts *deleted* @@ -247,6 +248,7 @@ Projects:: /a/b/test.csproj (External) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/applib.ts *new* @@ -285,6 +287,7 @@ Projects:: /a/b/test.csproj (External) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -332,6 +335,7 @@ Projects:: /a/b/test.csproj (External) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.ts *new* diff --git a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js index fb60239dc3284..85e41ee344801 100644 --- a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js @@ -383,6 +383,7 @@ Projects:: /a/b/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/projects/myproject/bar/app.ts (Open) @@ -463,6 +464,7 @@ Projects:: /a/b/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/projects/myproject/bar/app.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js b/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js index bf0bce1b317f0..aa620791a2779 100644 --- a/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js +++ b/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js @@ -255,6 +255,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before request @@ -286,3 +287,4 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js index 4a2e362d98054..7f6f0ec0d37d1 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js @@ -357,6 +357,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -423,6 +424,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 3: semanticCheck @@ -803,6 +805,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one @@ -900,6 +903,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js index 316fc98a11fd5..28c1a468b3f90 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js @@ -360,6 +360,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one @@ -420,6 +421,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before request @@ -845,6 +847,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one @@ -942,6 +945,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js index 6bee18cb202ff..eeee518602886 100644 --- a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js +++ b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js @@ -712,6 +712,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -1041,6 +1042,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 4 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js index 6e894826045ef..1f2aaad5d11df 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js @@ -98,11 +98,6 @@ untitled:Untitled-1 (Open) *new* containingProjects: 1 /dev/null/inferredProject1* *default* - -ScriptInfos: -path: /user/someuser/projects/somefolder/untitled:untitled-1 fileName: untitled:Untitled-1 -path: /a/lib/lib.d.ts fileName: /a/lib/lib.d.ts - Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js index 8c33f3d12716a..8ad02e6299b7f 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js @@ -89,11 +89,6 @@ untitled:Untitled-1 (Open) *new* containingProjects: 1 /dev/null/inferredProject1* *default* - -ScriptInfos: -path: /untitled:untitled-1 fileName: untitled:Untitled-1 -path: /a/lib/lib.d.ts fileName: /a/lib/lib.d.ts - Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectErrors/when-options-change.js b/tests/baselines/reference/tsserver/projectErrors/when-options-change.js index 45dfcecce523c..07141eea60a9d 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-options-change.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-options-change.js @@ -310,6 +310,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -466,3 +467,9 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js index 9285851fba2c1..1e13502ed3cdb 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js @@ -518,9 +518,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -616,6 +618,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js index 732b97983db59..80d267fdc866b 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js @@ -521,6 +521,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -606,6 +607,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js index 30218b23af4a6..84cfd20738787 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js @@ -518,9 +518,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -614,6 +616,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js index 9b2fc5aabe982..2f7e950d8e347 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js @@ -521,6 +521,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -606,6 +607,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js index da0aca9977724..8ada2122489a0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js @@ -518,9 +518,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -573,6 +575,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js index 33a30dd0b8032..559427db73748 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js @@ -521,6 +521,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js index 828f7705ac918..3a690398e1c7b 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js @@ -518,9 +518,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -573,6 +575,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/usage/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js index 5957754aece66..a8c88809c404a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js @@ -521,6 +521,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js index a98884bc9dba6..73595c59c1bd5 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js @@ -518,9 +518,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -574,6 +576,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js index 1cfda60dfc2ff..148355370b40c 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js @@ -521,6 +521,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -572,6 +573,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js index 61301a486fc56..2911116512585 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js @@ -518,9 +518,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -572,6 +574,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js index 76a15bf39c03c..6e8116c465a3b 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js @@ -521,6 +521,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -572,6 +573,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js index f762836518448..66959166f953b 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js @@ -518,9 +518,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -609,6 +611,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js index 26e6046903858..dc56fed17b438 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js @@ -521,6 +521,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -601,6 +602,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js index 41c7b61434855..8d3ce7bb1357a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js @@ -518,9 +518,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -574,6 +576,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js index b689fabbbc5dd..88f467dda1672 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js @@ -518,9 +518,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -609,6 +611,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js index 6ecbd75a31079..d9e6c199221f8 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js @@ -521,6 +521,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -574,6 +575,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js index 2afcd82f796db..412a3db4c7abe 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js @@ -521,6 +521,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -601,6 +602,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js index 696afcbd02568..21e4aef2fd86f 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js @@ -518,9 +518,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -574,6 +576,16 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js index c52a7cd2a67b9..1dff0d2c654dc 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js @@ -521,6 +521,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -574,6 +575,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js index 35b9d4c4b457a..b461363a2b946 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js @@ -307,6 +307,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -372,6 +373,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js index a0217a2f27cc5..12a6e704e4232 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js @@ -314,6 +314,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -378,6 +379,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js index 56d332a6cc0c0..50971cd00e066 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js @@ -307,6 +307,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -370,6 +371,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js index b449c907be0ab..8d30724d63d20 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js @@ -314,6 +314,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -378,6 +379,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js index a38e5727d5227..82a689263eca8 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js @@ -307,6 +307,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -357,6 +358,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js index a083ec37c7237..cc75bea636517 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js @@ -314,6 +314,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -363,6 +364,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js index 33442ede1c592..766763e4ee578 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js @@ -307,6 +307,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -355,6 +356,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js index fca9aa9203213..612983a706942 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js @@ -314,6 +314,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -363,6 +364,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js index 131354250c3af..efa134f12f281 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js @@ -307,6 +307,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -372,6 +373,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js index c5c28304b676a..631d536435ab0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js @@ -314,6 +314,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -380,6 +381,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js index 646dae3cea607..3e1eda97cb4a0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js @@ -307,6 +307,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -372,6 +373,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js index 77b6bbe1e8979..3762076e9b036 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js @@ -314,6 +314,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -380,6 +381,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js index 8eb5d03d9e4c8..a5d65736ffd42 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js @@ -307,6 +307,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -357,6 +358,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js index d15dddd70925a..27e7cc3c5f23f 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js @@ -314,6 +314,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -365,6 +366,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js index 7b48bffc13f90..c42a593b68e49 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js @@ -307,6 +307,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -357,6 +358,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js index 3d84fa495254d..8d98cf7337597 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js @@ -314,6 +314,7 @@ Projects:: /user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -365,6 +366,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/usage/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js index 763b7c00aa89a..1be9dace85f53 100644 --- a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js +++ b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js @@ -562,6 +562,8 @@ Projects:: /user/username/projects/container/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -669,6 +671,8 @@ Projects:: /user/username/projects/container/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1137,6 +1141,7 @@ Projects:: /user/username/projects/container/exec/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/container/lib/tsconfig.json /user/username/projects/container/compositeexec/tsconfig.json @@ -1144,9 +1149,12 @@ Projects:: /user/username/projects/container/lib/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/container/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1260,6 +1268,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/container/compositeExec/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1269,6 +1279,7 @@ Projects:: /user/username/projects/container/exec/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/container/lib/tsconfig.json /user/username/projects/container/compositeexec/tsconfig.json @@ -1276,9 +1287,11 @@ Projects:: /user/username/projects/container/lib/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/container/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -1396,6 +1409,35 @@ FsWatches *deleted*:: /user/username/projects/temp/temp.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* +/user/username/projects/container/compositeExec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json +/user/username/projects/container/exec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 3 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/lib/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/container/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1501,6 +1543,34 @@ FsWatches:: /user/username/projects/container/tsconfig.json: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/container/compositeExec/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 2 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json +/user/username/projects/container/exec/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 3 + /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/compositeexec/tsconfig.json + /user/username/projects/container/exec/tsconfig.json +/user/username/projects/container/lib/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/container/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1614,15 +1684,19 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/container/compositeExec/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/container/lib/tsconfig.json /user/username/projects/container/compositeexec/tsconfig.json /user/username/projects/container/exec/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/container/lib/tsconfig.json /user/username/projects/container/compositeexec/tsconfig.json @@ -1630,9 +1704,11 @@ Projects:: /user/username/projects/container/lib/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/container/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -1818,18 +1894,24 @@ FsWatches *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/container/compositeExec/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/container/lib/tsconfig.json /user/username/projects/container/compositeexec/tsconfig.json /user/username/projects/container/exec/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/container/lib/tsconfig.json /user/username/projects/container/compositeexec/tsconfig.json @@ -1837,9 +1919,13 @@ Projects:: /user/username/projects/container/lib/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/container/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js index 95d8f4146e343..9835fe1411c2f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js @@ -472,6 +472,8 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js index b57338c8086b5..eec5ed34f98d8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js @@ -469,6 +469,8 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js index f21359e650155..64e713fe87e1c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js @@ -300,6 +300,8 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js index e28b81a0637e8..2c2ad016e27b7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js +++ b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js @@ -559,6 +559,8 @@ Projects:: /user/username/projects/container/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -1013,6 +1015,7 @@ Projects:: /user/username/projects/container/exec/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/container/lib/tsconfig.json /user/username/projects/container/compositeexec/tsconfig.json @@ -1020,9 +1023,12 @@ Projects:: /user/username/projects/container/lib/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/container/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js index f69d479baf646..c30b183307a08 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js @@ -436,6 +436,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -513,6 +514,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -595,6 +597,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -678,12 +693,16 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -806,15 +825,21 @@ FsWatchesRecursive *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1056,6 +1081,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1345,6 +1371,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index ab87c3bed5a3f..28dc244928f21 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -393,6 +393,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -474,6 +475,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -560,6 +562,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -647,12 +662,16 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-indirect1.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -781,15 +800,21 @@ FsWatchesRecursive *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1016,6 +1041,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1292,6 +1318,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index 80bf891b8c118..3acc90b06b4df 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -305,6 +305,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -422,6 +423,8 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -507,6 +510,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -580,9 +585,13 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -683,9 +692,14 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/dev/null/inferredProject2* (Inferred) + dirty: true + isClosed: true *changed* + isOrphan: true +/dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -879,6 +893,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1147,3 +1162,4 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + noOpenRef: true diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 88cf3c35de356..245f9d1e59f12 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -586,6 +586,7 @@ Projects:: /user/username/projects/myproject/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /user/username/projects/myproject/a/index.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index 8e535e558da99..738281468a976 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -569,6 +569,7 @@ Projects:: /user/username/projects/myproject/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /user/username/projects/myproject/a/index.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index d6cbedd2077e9..1cf105d6d2271 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -581,6 +581,7 @@ Projects:: /user/username/projects/myproject/b/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /user/username/projects/myproject/a/index.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js index 23805fbbb9fa8..c3b680cd092dd 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js @@ -250,6 +250,8 @@ Projects:: /user/username/projects/solution/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -656,12 +658,15 @@ Projects:: /user/username/projects/solution/services/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/solution/compiler/tsconfig.json /user/username/projects/solution/services/tsconfig.json /user/username/projects/solution/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js index d36e9470a51e5..cc2da144d86ed 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js @@ -319,6 +319,8 @@ Projects:: /user/username/projects/solution/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -987,6 +989,7 @@ Projects:: /user/username/projects/solution/a/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/solution/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -996,6 +999,7 @@ Projects:: /user/username/projects/solution/c/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 4 /user/username/projects/solution/a/tsconfig.json /user/username/projects/solution/b/tsconfig.json @@ -1004,6 +1008,7 @@ Projects:: /user/username/projects/solution/d/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 4 /user/username/projects/solution/a/tsconfig.json /user/username/projects/solution/b/tsconfig.json @@ -1012,6 +1017,8 @@ Projects:: /user/username/projects/solution/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1231,6 +1238,7 @@ Projects:: /user/username/projects/solution/a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/solution/b/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1242,6 +1250,7 @@ Projects:: /user/username/projects/solution/c/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 4 /user/username/projects/solution/a/tsconfig.json /user/username/projects/solution/b/tsconfig.json @@ -1250,6 +1259,7 @@ Projects:: /user/username/projects/solution/d/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 4 /user/username/projects/solution/a/tsconfig.json /user/username/projects/solution/b/tsconfig.json @@ -1258,3 +1268,4 @@ Projects:: /user/username/projects/solution/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js index 1fb54f9879b34..13fa29a4ad95e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js @@ -605,6 +605,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -675,6 +676,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js index 99d5111a23a7f..8f8ed13a0f212 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js @@ -600,6 +600,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -670,6 +671,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js index f79a091ab80ae..6f1143b5c3d17 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js @@ -427,6 +427,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -497,6 +498,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js index 67ec3c612ea24..8e3caf8c5d068 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js @@ -422,6 +422,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -492,6 +493,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 50df5ca007aea..b80ac90e9654d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -605,6 +605,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -675,6 +676,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js index 7dabbae240f7a..e8e5b15be0bcb 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js @@ -600,6 +600,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -670,6 +671,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 81232521d44dc..d4ddd06ee3d58 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -427,6 +427,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -497,6 +498,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js index d3883904ab24f..6ffdca6dcee32 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js @@ -422,6 +422,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -492,6 +493,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js index a2ea14856c4e0..3d032e42de102 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js @@ -602,6 +602,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -672,6 +673,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js index 4b53dd73234d3..c6c9ac96e30c2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js @@ -597,6 +597,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -667,6 +668,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js index 48a3ce9fa93c3..8a9fa665cf04a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js @@ -424,6 +424,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -494,6 +495,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js index 41fa19f082960..8f8e183e70845 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js @@ -419,6 +419,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -489,6 +490,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index af9f37916b859..4024eb1fcabcf 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -602,6 +602,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -672,6 +673,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js index 343a9f93cfd17..70cd98a926411 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js @@ -597,6 +597,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -667,6 +668,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 4d0a7e96376c2..486112681347e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -424,6 +424,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -494,6 +495,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js index 9de5923a36cde..db872ea3e9d69 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js @@ -419,6 +419,7 @@ Projects:: /user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -489,6 +490,12 @@ After running Timeout callback:: count: 0 Immedidate callback:: count: 1 3: semanticCheck *new* +Projects:: +/user/username/projects/myproject/packages/A/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + Before running Immedidate callback:: count: 1 3: semanticCheck diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js index 9e9c6f4dfcbbe..efff871ec9630 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js @@ -275,6 +275,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -350,6 +351,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file @@ -404,6 +406,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -490,6 +493,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -573,6 +577,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -674,6 +679,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file @@ -728,6 +734,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 4 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -814,6 +821,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 5 projectProgramVersion: 5 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js index d9b1f1df2e12b..381ee1f8100a8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js @@ -272,6 +272,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -358,6 +359,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js index ed26cbbebd931..5e1df96774913 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js @@ -465,9 +465,11 @@ Projects:: /user/username/projects/myproject/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -579,9 +581,11 @@ Projects:: /user/username/projects/myproject/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -666,6 +670,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -772,6 +777,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -871,6 +877,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -1001,6 +1008,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file @@ -1062,6 +1070,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 4 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -1168,6 +1177,7 @@ Projects:: /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 5 projectProgramVersion: 5 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js index cc6ceeadab58b..a5b3abcfbdde6 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js @@ -463,9 +463,11 @@ Projects:: /user/username/projects/myproject/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -583,9 +585,11 @@ Projects:: /user/username/projects/myproject/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /user/username/projects/myproject/projects/project2/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js index 287d51c89f91e..40552a340d082 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js @@ -343,6 +343,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -503,6 +504,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -581,6 +583,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -660,12 +675,16 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -782,15 +801,21 @@ FsWatchesRecursive *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -987,6 +1012,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1069,9 +1095,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1160,6 +1189,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1407,6 +1450,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* @@ -1614,6 +1658,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1703,12 +1760,16 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 2 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -1974,15 +2035,22 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 5 projectProgramVersion: 2 + dirty: true + isClosed: true *changed* + isOrphan: true /user/username/projects/myproject/indirect3/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -2307,9 +2375,11 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js index 90ab4ee919b94..54b14d8c93282 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js @@ -434,6 +434,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -594,6 +595,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -676,6 +678,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -759,12 +774,16 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -887,15 +906,21 @@ FsWatchesRecursive *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1136,6 +1161,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1222,9 +1248,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1317,6 +1346,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1602,6 +1645,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* @@ -2014,6 +2058,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json @@ -2021,6 +2066,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json @@ -2028,6 +2074,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 @@ -2146,6 +2193,35 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/tsconfig-indirect2.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2265,9 +2341,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 2 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-indirect1.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json @@ -2275,6 +2354,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect2.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json @@ -2282,9 +2362,11 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -2622,12 +2704,17 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 5 projectProgramVersion: 2 + dirty: true + isClosed: true *changed* + isOrphan: true /user/username/projects/myproject/indirect3/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json @@ -2635,6 +2722,8 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json @@ -2642,9 +2731,13 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -3215,6 +3308,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json @@ -3222,6 +3316,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig-indirect1.json @@ -3229,9 +3324,11 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js b/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js index e89449e0de99a..6f5346b37152a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js @@ -556,6 +556,7 @@ Projects:: /user/username/projects/myproject/compositea/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/compositec/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js index 6613836458890..4ac05bc4f51c2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js @@ -487,6 +487,8 @@ Projects:: /user/username/projects/project/src/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -711,6 +713,8 @@ Projects:: /user/username/projects/project/src/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js index b6a1076d6714a..fbbb946c991de 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js @@ -487,6 +487,8 @@ Projects:: /user/username/projects/project/src/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -707,6 +709,8 @@ Projects:: /user/username/projects/project/src/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js index 196d6f1fa883f..4fc69c7964297 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js @@ -476,6 +476,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -564,6 +565,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -661,6 +663,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -759,12 +774,16 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -919,15 +938,21 @@ FsWatchesRecursive *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1207,6 +1232,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1534,6 +1560,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index f9fe1572cbd0b..8431512847f22 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -430,6 +430,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -519,6 +520,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -615,6 +617,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -712,12 +727,16 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-indirect1.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -872,15 +891,21 @@ FsWatchesRecursive *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1139,6 +1164,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1449,6 +1475,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index 086c009acdafa..d76fae1c51241 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -441,6 +441,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -522,9 +531,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -639,12 +651,16 @@ FsWatchesRecursive *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js index a4e0a17c7b8da..954d80805d7e0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js @@ -378,6 +378,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -545,6 +546,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -632,6 +634,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -720,12 +735,16 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -864,15 +883,21 @@ FsWatchesRecursive *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1097,6 +1122,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1188,9 +1214,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1288,6 +1317,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1564,6 +1607,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* @@ -1743,6 +1787,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 @@ -1843,6 +1888,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1941,12 +2002,16 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 2 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -2237,15 +2302,22 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 5 projectProgramVersion: 2 + dirty: true + isClosed: true *changed* + isOrphan: true /user/username/projects/myproject/indirect3/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -2649,9 +2721,11 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js index 531b87d701927..525fc1a375808 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js @@ -474,6 +474,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -645,6 +646,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -742,6 +744,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -840,12 +855,16 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts @@ -1000,15 +1019,21 @@ FsWatchesRecursive *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) +/dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1287,6 +1312,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1388,9 +1414,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1498,6 +1527,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1821,6 +1864,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* @@ -2251,6 +2295,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -2258,6 +2303,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 4 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -2266,6 +2312,7 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 @@ -2398,6 +2445,40 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 4 + projectProgramVersion: 2 +/user/username/projects/myproject/tsconfig-indirect1.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json +/user/username/projects/myproject/tsconfig-indirect2.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 4 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + /user/username/projects/myproject/tsconfig-indirect2.json +/user/username/projects/myproject/tsconfig-src.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* + originalConfiguredProjects: 3 + /user/username/projects/myproject/tsconfig-src.json + /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-indirect1.json + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2527,9 +2608,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 2 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/tsconfig-indirect1.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -2537,6 +2621,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect2.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 4 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -2545,9 +2630,11 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 2 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -2915,12 +3002,17 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 5 projectProgramVersion: 2 + dirty: true + isClosed: true *changed* + isOrphan: true /user/username/projects/myproject/indirect3/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -2928,6 +3020,8 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 4 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -2936,9 +3030,13 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -3563,6 +3661,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -3570,6 +3669,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect2.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 4 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json @@ -3578,9 +3678,11 @@ Projects:: /user/username/projects/myproject/tsconfig-src.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js index 18c0b4670b26c..0befd39177b0d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js @@ -291,6 +291,8 @@ Projects:: /user/username/projects/solution/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -732,6 +734,7 @@ Projects:: /user/username/projects/solution/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/solution/shared/tsconfig.json /user/username/projects/solution/api/tsconfig.json @@ -739,9 +742,12 @@ Projects:: /user/username/projects/solution/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/solution/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js index 3e18ad933bbc4..7d48b694040d3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js @@ -292,6 +292,8 @@ Projects:: /user/username/projects/solution/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -498,9 +500,12 @@ Projects:: /user/username/projects/solution/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/solution/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js index 5cad33bf995e7..fc6ce63c751b7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js @@ -291,6 +291,8 @@ Projects:: /user/username/projects/solution/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -732,6 +734,7 @@ Projects:: /user/username/projects/solution/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/solution/shared/tsconfig.json /user/username/projects/solution/api/tsconfig.json @@ -739,9 +742,12 @@ Projects:: /user/username/projects/solution/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/solution/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js index 0fffbd2358140..22cb29deb98db 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js @@ -293,6 +293,8 @@ Projects:: /user/username/projects/solution/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -734,6 +736,7 @@ Projects:: /user/username/projects/solution/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/solution/shared/tsconfig.json /user/username/projects/solution/api/tsconfig.json @@ -741,9 +744,12 @@ Projects:: /user/username/projects/solution/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/solution/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js index 8efef48f23a38..05edac3cde1b9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js @@ -291,6 +291,8 @@ Projects:: /user/username/projects/solution/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* @@ -732,6 +734,7 @@ Projects:: /user/username/projects/solution/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 3 /user/username/projects/solution/shared/tsconfig.json /user/username/projects/solution/api/tsconfig.json @@ -739,9 +742,12 @@ Projects:: /user/username/projects/solution/shared/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/solution/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js index e49b880aab851..3699f576d13f3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js @@ -1490,24 +1490,30 @@ Projects:: /user/username/projects/myproject/coreRef1/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/coreRef3/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/indirect/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/refToCoreRef3/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 10c241dfd73df..2dad24f67697a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -716,6 +716,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -790,6 +791,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js index f59574dc3a106..7a371d25e18c3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js @@ -714,6 +714,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -804,6 +805,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js index 8022721b7448d..5f77d023401a6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js @@ -715,6 +715,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -813,6 +814,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1145,6 +1155,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1232,6 +1251,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1313,6 +1341,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1394,6 +1431,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1511,9 +1558,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js index a9d3c147aab31..d74e130315ae5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js @@ -737,6 +737,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -855,6 +856,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1166,6 +1176,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1251,6 +1270,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1327,6 +1355,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1400,6 +1437,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1507,9 +1554,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js index fdc032741a7df..652e688aeed52 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js @@ -968,6 +968,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1047,6 +1056,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1120,6 +1138,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1193,6 +1220,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1300,9 +1337,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index dedd3764e73ba..d3c48baaf758b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -719,6 +719,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -793,6 +794,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js index 3081c403a992b..9065aa2403c7a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js @@ -717,6 +717,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -807,6 +808,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js index 320dc83344aa1..b154aaead9744 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js @@ -733,6 +733,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -830,6 +831,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1162,6 +1172,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1249,6 +1268,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1330,6 +1358,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1411,6 +1448,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1527,9 +1574,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js index d669535ffcd52..edbbcb144c3de 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js @@ -737,6 +737,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -855,6 +856,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1166,6 +1176,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1250,6 +1269,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1328,6 +1356,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1406,6 +1443,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1519,9 +1566,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js index a06f83332efd6..dc362f4b0bbcb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js @@ -996,6 +996,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1080,6 +1089,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1158,6 +1176,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1236,6 +1263,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1349,9 +1386,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js index fb98c58123727..02ba57b734019 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js @@ -1002,6 +1002,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1089,6 +1098,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1170,6 +1188,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1251,6 +1278,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1367,9 +1404,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 8e6eabc8f0686..b03abaf632d08 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -717,6 +717,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -817,6 +818,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js index 4b0a97cacd079..f3b15269310b0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js @@ -717,6 +717,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -813,6 +814,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js index 284d7f4791b03..fb5c4ed854d3c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -721,6 +721,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -795,6 +796,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js index 4bb87f28981fc..001c221052965 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js @@ -719,6 +719,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -809,6 +810,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js index d0c7801641851..2a1157f3fb571 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js @@ -720,6 +720,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -818,6 +819,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1150,6 +1160,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1237,6 +1256,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1318,6 +1346,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1399,6 +1436,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1516,9 +1563,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js index 5aedc25c1644e..91b2263dd6ca4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js @@ -742,6 +742,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -860,6 +861,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1171,6 +1181,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1256,6 +1275,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1332,6 +1360,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1405,6 +1442,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1512,9 +1559,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js index 9f23e4d373c58..f1cc6c3d504dc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js @@ -973,6 +973,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1052,6 +1061,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1125,6 +1143,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1198,6 +1225,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1305,9 +1342,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 8fa5803eb1e3c..2421d96664d57 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -724,6 +724,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -798,6 +799,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js index 0d7e1a05f5684..15dc6b608b1af 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js @@ -722,6 +722,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -812,6 +813,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js index 83e3a5b9eff99..180a53b0969c0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js @@ -738,6 +738,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -835,6 +836,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1167,6 +1177,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1254,6 +1273,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1335,6 +1363,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1416,6 +1453,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1532,9 +1579,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js index ec350dead38a1..aa5d32973da9f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js @@ -742,6 +742,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -860,6 +861,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1171,6 +1181,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1255,6 +1274,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1333,6 +1361,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1411,6 +1448,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1524,9 +1571,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js index 9a20fef2dcec7..6921432b8acc3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js @@ -1001,6 +1001,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1085,6 +1094,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1163,6 +1181,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1241,6 +1268,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1354,9 +1391,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js index b40251b1ed33c..cd685e14fed20 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -722,6 +722,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -822,6 +823,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js index b198df7799084..8199e21dec8e7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js @@ -722,6 +722,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -818,6 +819,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js index 194b74e86c5d5..95d53933e9314 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js @@ -1007,6 +1007,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1094,6 +1103,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1175,6 +1193,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1256,6 +1283,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1372,9 +1409,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js index dfb4a21e7e474..ef9d4b7504bfe 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -722,6 +722,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -822,6 +823,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js index 67bc346680bdc..a1f8343d5a06f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js @@ -722,6 +722,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -818,6 +819,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js index 53592046ea286..97a370cf7e8e3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js @@ -818,6 +818,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -897,6 +906,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -970,6 +988,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1043,6 +1070,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1150,9 +1187,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 9cd0a394f2a33..199f59e404d03 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -722,6 +722,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -796,6 +797,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js index e5a8265622566..ed5847530cb4d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js @@ -720,6 +720,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -810,6 +811,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js index 51351e0087a5e..193ddc6a267b7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js @@ -721,6 +721,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -819,6 +820,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1151,6 +1161,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1238,6 +1257,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1319,6 +1347,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1400,6 +1437,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1517,9 +1564,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js index b0444f6a528ff..2a2024d406c4d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js @@ -743,6 +743,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -861,6 +862,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1172,6 +1182,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1257,6 +1276,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1333,6 +1361,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1406,6 +1443,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1513,9 +1560,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js index 50bac6aef7108..2a3794585675b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js @@ -974,6 +974,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1053,6 +1062,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1126,6 +1144,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1199,6 +1226,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1306,9 +1343,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 92f6607b99f83..c8fd3ab9450db 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -725,6 +725,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -799,6 +800,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js index bef7476ed8335..cdb589538cd75 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js @@ -723,6 +723,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -813,6 +814,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js index f94dce46a5651..b688e9872cc9b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js @@ -739,6 +739,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -836,6 +837,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1168,6 +1178,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1255,6 +1274,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1336,6 +1364,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1417,6 +1454,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1533,9 +1580,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js index 8a933926d27ca..d974276a8c2e0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js @@ -743,6 +743,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -861,6 +862,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1172,6 +1182,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1256,6 +1275,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1334,6 +1362,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1412,6 +1449,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1525,9 +1572,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js index 180f4ab080774..2774542b56504 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js @@ -1002,6 +1002,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1086,6 +1095,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1164,6 +1182,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1242,6 +1269,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1355,9 +1392,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js index 644d623c1c673..37c9257f72bb3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js @@ -1008,6 +1008,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1095,6 +1104,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1176,6 +1194,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1257,6 +1284,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1373,9 +1410,12 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 07167c0807c6d..92862a999e899 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -723,6 +723,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -823,6 +824,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js index 153b5c2f92b9a..1920b880230d9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js @@ -723,6 +723,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -819,6 +820,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index df28d29f49d89..09926c5736a19 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -1072,9 +1072,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1180,6 +1182,21 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js index 50b6a7f30616d..9fbc0cd331d30 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js @@ -1069,9 +1069,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1165,6 +1167,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1502,6 +1519,20 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js index f3ba0d8ba8786..e76578bfd178b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js @@ -1004,6 +1004,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1127,6 +1128,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* @@ -1471,9 +1473,10 @@ Info seq [hh:mm:ss:mss] response: After request Projects:: -/user/username/projects/myproject/dependency/tsconfig.json (Configured) +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 @@ -1948,6 +1951,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2055,6 +2072,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2156,6 +2187,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2257,6 +2302,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2358,6 +2418,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2519,14 +2595,19 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js index 293ecb8e93049..9ead022b664dc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js @@ -1104,9 +1104,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1214,9 +1216,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1534,6 +1538,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1859,6 +1877,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1963,6 +1995,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2058,6 +2104,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2150,6 +2210,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2242,6 +2317,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2389,14 +2480,19 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js index e7cffbe6b5f37..9141e79c6e3ee 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js @@ -1467,6 +1467,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1565,6 +1577,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1657,6 +1681,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1749,6 +1785,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1841,6 +1890,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1988,12 +2051,17 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 733243a9eddec..d065b3e14ee51 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -1075,9 +1075,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1177,6 +1179,21 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js index 432568d00b25b..40f2b2f54e51d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js @@ -1072,9 +1072,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1162,6 +1164,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1499,6 +1516,20 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js index 924000e39faec..ed041fd4e5e00 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js @@ -1026,9 +1026,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1123,6 +1125,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1460,9 +1475,10 @@ Info seq [hh:mm:ss:mss] response: After request Projects:: -/user/username/projects/myproject/dependency/tsconfig.json (Configured) +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 @@ -1937,6 +1953,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2044,6 +2074,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2145,6 +2189,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2246,6 +2304,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2347,6 +2420,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2507,14 +2596,19 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js index 8c43e504cc8b4..379daa1705e31 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js @@ -1102,9 +1102,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1228,6 +1230,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1502,6 +1519,20 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1827,6 +1858,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1931,6 +1976,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2029,6 +2088,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2127,6 +2200,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2225,6 +2313,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2382,14 +2486,19 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js index b939c57d859ed..a6dd8a265abfd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js @@ -1498,6 +1498,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1602,6 +1614,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1700,6 +1724,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1798,6 +1834,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1896,6 +1945,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2053,12 +2116,17 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js index a6d1045ad135a..31a7cf4b72172 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js @@ -1716,6 +1716,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1823,6 +1837,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1924,6 +1952,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2025,6 +2067,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2126,6 +2183,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2286,14 +2359,19 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 34b7538ff9052..8d8d6bcab9c23 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -1072,6 +1072,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1131,9 +1132,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1232,6 +1235,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1546,6 +1564,20 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js index 5bef4144d3b36..504ead876eb68 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js @@ -1072,6 +1072,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1131,9 +1132,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1228,6 +1231,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1542,6 +1560,20 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js index 3f8ac8175a09b..a09696b4d2f47 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -1084,9 +1084,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1187,6 +1189,22 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js index 7effc4882d194..97d622f81a917 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js @@ -1081,9 +1081,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1172,6 +1174,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1481,6 +1499,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js index ca995748695d6..7933612f02a00 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js @@ -1086,6 +1086,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1498,6 +1499,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1990,6 +2006,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2097,6 +2128,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2198,6 +2244,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2299,6 +2360,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2400,6 +2477,23 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2561,15 +2655,20 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js index dcf23afe0a7fd..646e22d61c164 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js @@ -1116,9 +1116,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1212,6 +1214,22 @@ Timeout callback:: count: 3 2: /user/username/projects/myproject/dependency/tsconfig.json 3: *ensureProjectForOpenFiles* +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1558,6 +1576,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -2023,6 +2056,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2128,6 +2176,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2224,6 +2287,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2317,6 +2395,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2410,6 +2504,23 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2561,15 +2672,20 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js index 3458d756e4745..a4a4fbe0edbf3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js @@ -1689,6 +1689,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1788,6 +1803,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1881,6 +1911,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1974,6 +2019,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2067,6 +2128,23 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2218,15 +2296,20 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 58bc46cb3cc71..3658448a29768 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -1087,9 +1087,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1190,6 +1192,22 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js index 3c9a282a25b04..f819456966af0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js @@ -1084,9 +1084,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1175,6 +1177,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1484,6 +1502,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js index f256565c06022..19b65eb5164ac 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js @@ -1110,9 +1110,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1173,6 +1175,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1519,6 +1537,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2011,6 +2044,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2118,6 +2166,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2219,6 +2282,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2320,6 +2398,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2421,6 +2515,23 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2581,15 +2692,20 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js index f9bf5dbc9611c..120c8069cd271 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js @@ -1114,9 +1114,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1204,6 +1206,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1550,6 +1568,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -2015,6 +2048,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2119,6 +2167,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2217,6 +2280,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2315,6 +2393,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2413,6 +2507,23 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2570,15 +2681,20 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js index 97724d2feba88..cbf919e171f1e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js @@ -1723,6 +1723,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1827,6 +1842,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1925,6 +1955,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2023,6 +2068,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2121,6 +2182,23 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2278,15 +2356,20 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js index f217cc391c042..c17c565e6ada9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -1082,9 +1082,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1184,6 +1186,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1498,6 +1516,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js index b61f3fdd386a4..ddc7a6ba348f2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js @@ -1082,9 +1082,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1180,6 +1182,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1494,6 +1512,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js index f8f0ea2a9eab3..1077c99c335ff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js @@ -1729,6 +1729,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1836,6 +1851,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1937,6 +1967,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2038,6 +2083,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2139,6 +2200,23 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2299,15 +2377,20 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js index ae7d376cb381c..ce3561fb864de 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -1085,6 +1085,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1145,9 +1146,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1247,6 +1250,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1561,6 +1580,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js index fdc41d600af53..37a10822f0032 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js @@ -1085,6 +1085,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1145,9 +1146,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json @@ -1243,6 +1246,22 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1557,6 +1576,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js index dfee06759cf7e..490c54edb1337 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js @@ -1534,6 +1534,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1633,6 +1648,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1726,6 +1756,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1819,6 +1864,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1912,6 +1973,23 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2063,15 +2141,20 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/main/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 9d8a8d285688e..535a1a8e09639 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -1090,9 +1090,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1198,6 +1200,21 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js index 8a4d3a3775ea2..59f05b698b6f1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js @@ -1087,9 +1087,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1183,6 +1185,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1520,6 +1537,20 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js index 61abc652c56a9..11f127368cdd0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js @@ -1022,6 +1022,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1145,6 +1146,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* @@ -1489,9 +1491,10 @@ Info seq [hh:mm:ss:mss] response: After request Projects:: -/user/username/projects/myproject/dependency/tsconfig.json (Configured) +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 @@ -1966,6 +1969,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2073,6 +2090,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2174,6 +2205,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2275,6 +2320,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2376,6 +2436,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2537,14 +2613,19 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js index fbd6b663e5634..e5b38ce17b1b6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js @@ -1122,9 +1122,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1232,9 +1234,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1552,6 +1556,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1877,6 +1895,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1981,6 +2013,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2076,6 +2122,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2168,6 +2228,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2260,6 +2335,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2407,14 +2498,19 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js index 2ab058849401f..01bb7f5c28e89 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js @@ -1485,6 +1485,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1583,6 +1595,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1675,6 +1699,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1767,6 +1803,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1859,6 +1908,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2006,12 +2069,17 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index e5201fe1791dd..8ec10fe044325 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -1093,9 +1093,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1195,6 +1197,21 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js index e8d3599e3b130..5108f317e850b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js @@ -1090,9 +1090,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1180,6 +1182,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1517,6 +1534,20 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js index 59b848f11d537..e1c0c3351105b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js @@ -1044,9 +1044,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1141,6 +1143,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1478,9 +1493,10 @@ Info seq [hh:mm:ss:mss] response: After request Projects:: -/user/username/projects/myproject/dependency/tsconfig.json (Configured) +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 @@ -1955,6 +1971,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2062,6 +2092,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2163,6 +2207,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2264,6 +2322,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2365,6 +2438,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2525,14 +2614,19 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js index b286df36835a3..2bf96bc1e68b4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js @@ -1120,9 +1120,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1246,6 +1248,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1520,6 +1537,20 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1845,6 +1876,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1949,6 +1994,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2047,6 +2106,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2145,6 +2218,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2243,6 +2331,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2400,14 +2504,19 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js index 57c6ba21c6e5b..3732ac64949b5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js @@ -1516,6 +1516,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1620,6 +1632,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1718,6 +1742,18 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1816,6 +1852,19 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1914,6 +1963,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2071,12 +2134,17 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js index 4f5a219ed9dc4..02701585ea085 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js @@ -1734,6 +1734,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1841,6 +1855,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1942,6 +1970,20 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2043,6 +2085,21 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2144,6 +2201,22 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -2304,14 +2377,19 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json -/user/username/projects/myproject/random/tsconfig.json (Configured) +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 38e65aca8c20a..f5828fce8dc44 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -1090,6 +1090,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1149,9 +1150,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1250,6 +1253,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1564,6 +1582,20 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js index ec42b72f35e22..d3727ca342082 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js @@ -1090,6 +1090,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1149,9 +1150,11 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/main/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true originalConfiguredProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json (Configured) @@ -1246,6 +1249,21 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1560,6 +1578,20 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + originalConfiguredProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js index 1a4b8e5ddd11f..eba977b33c81f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js @@ -979,6 +979,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1074,6 +1083,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1163,6 +1181,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1252,6 +1279,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1382,9 +1419,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index da47c70f37e60..faafd7801311d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -733,6 +733,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -817,6 +818,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js index 3994bc5543cb4..b4386c112b361 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js @@ -731,6 +731,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -820,6 +821,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js index c20ff4dc3b31d..35451006e28ba 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js @@ -1052,6 +1052,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1147,6 +1156,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1236,6 +1254,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1325,6 +1352,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1455,9 +1492,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js index 29aa965b2c82e..2060bd3c5a3ff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js @@ -762,6 +762,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -864,6 +865,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1137,6 +1139,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1228,6 +1239,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1307,6 +1327,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1380,6 +1409,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1488,9 +1527,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js index 9920513419e50..10fa1f3a891b1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js @@ -890,6 +890,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -969,6 +978,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1042,6 +1060,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1115,6 +1142,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1223,9 +1260,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 514832d936562..420396d37660a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -736,6 +736,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -814,6 +815,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js index e82441acec64d..0477c4540502b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js @@ -734,6 +734,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -817,6 +818,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js index 856158f7578ab..182e64833ce4b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js @@ -729,6 +729,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -820,6 +821,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1116,6 +1126,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1211,6 +1230,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1300,6 +1328,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1389,6 +1426,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1519,9 +1566,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js index ef39788f31841..46920a989b2c2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js @@ -760,6 +760,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -875,6 +876,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1146,6 +1156,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1239,6 +1258,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1323,6 +1351,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1404,6 +1441,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1525,9 +1572,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js index 90dd44dda8d8a..13e80faf371af 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js @@ -946,6 +946,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1033,6 +1042,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1114,6 +1132,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1195,6 +1222,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1316,9 +1353,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 52619039515c6..9a868a92dd7a2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -734,6 +734,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -828,6 +829,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js index e94b5be8c42d8..8e86fbbb9fb21 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js @@ -734,6 +734,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -824,6 +825,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js index 5b125e0ba8691..695d89f71c5a8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js @@ -953,6 +953,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1042,6 +1051,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1125,6 +1143,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1208,6 +1235,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1333,9 +1370,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js index 85aeb86610a47..7b32d2c9226cd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js @@ -1014,6 +1014,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1103,6 +1112,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1186,6 +1204,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1269,6 +1296,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1394,9 +1431,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js index 352cb887d0794..6bdcd4951d2ca 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js @@ -1015,6 +1015,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1104,6 +1113,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1187,6 +1205,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1270,6 +1297,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1395,9 +1432,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js index 3b842d0252be2..360a278cc12da 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js @@ -945,6 +945,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1034,6 +1043,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1117,6 +1135,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1200,6 +1227,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1325,9 +1362,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js index abe6f89c2ffe0..5e610327318a3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js @@ -1007,6 +1007,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1096,6 +1105,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1179,6 +1197,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1262,6 +1289,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1387,9 +1424,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js index e82ef9daa07f6..e5b448b365c85 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js @@ -1008,6 +1008,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1097,6 +1106,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1180,6 +1198,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1263,6 +1290,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1388,9 +1425,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js index 94421d3d3ef2f..56000f0f77022 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js @@ -950,6 +950,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1039,6 +1048,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1122,6 +1140,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1205,6 +1232,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1330,9 +1367,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js index 84f069fdb498d..d001128f6c872 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -707,6 +707,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -785,6 +786,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js index 9d498d5c1e9ce..1ec03bca0ec6e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js @@ -705,6 +705,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -788,6 +789,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js index cdb6f55173f6c..3868ef73868ce 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -708,6 +708,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -796,6 +797,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js index 2c19885b1b665..9c4a3ee395cfb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js @@ -708,6 +708,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -792,6 +793,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js index c92a3c24784a9..ca8777a06bbf3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js @@ -790,6 +790,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -879,6 +888,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -962,6 +980,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1045,6 +1072,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1170,9 +1207,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js index ed09aae89567f..6e4da0b141f46 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js @@ -1023,6 +1023,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1122,6 +1131,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1215,6 +1233,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1308,6 +1335,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1445,9 +1482,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 4697c35ef4842..aacaeb249f6f7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -773,6 +773,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -857,6 +858,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js index 7a25dd0e5b2f9..4d6ab15255109 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js @@ -771,6 +771,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -860,6 +861,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js index b81f3061f8ae5..de51a536f6069 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js @@ -1096,6 +1096,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1195,6 +1204,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1288,6 +1306,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1381,6 +1408,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1518,9 +1555,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js index cdb5636257df4..ee8c9d799cb7b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js @@ -806,6 +806,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -908,6 +909,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1185,6 +1187,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1280,6 +1291,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1363,6 +1383,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1440,6 +1469,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1555,9 +1594,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js index b05948e2ade19..69ffd351382d3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js @@ -930,6 +930,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1013,6 +1022,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1090,6 +1108,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1167,6 +1194,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1282,9 +1319,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 81c87eec2935e..a1653125f2451 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -776,6 +776,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -854,6 +855,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js index 33289aedf6f7c..e89d50cdc4653 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js @@ -774,6 +774,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -857,6 +858,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js index 029ab01fe1bea..d828569cd5990 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js @@ -773,6 +773,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -868,6 +869,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1168,6 +1178,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1267,6 +1286,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1360,6 +1388,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1453,6 +1490,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1590,9 +1637,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js index 44eed1fc45bd3..cc9158eaee50c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js @@ -804,6 +804,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -923,6 +924,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: @@ -1198,6 +1208,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1295,6 +1314,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1383,6 +1411,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1468,6 +1505,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1596,9 +1643,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js index f55218d197d24..f1749a3b5fb4a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js @@ -990,6 +990,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1081,6 +1090,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1166,6 +1184,15 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1251,6 +1278,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -1379,9 +1416,12 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/random/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/user/username/projects/myproject/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index a7def716a1b00..709c146d6d8ff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -774,6 +774,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -868,6 +869,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js index b11428331355e..ad975562bfb13 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js @@ -774,6 +774,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /user/username/projects/myproject/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -864,6 +865,15 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/main/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/user/username/projects/myproject/random/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js b/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js index 3dd9326490374..0d50a43cab80f 100644 --- a/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js +++ b/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js @@ -212,7 +212,6 @@ ScriptInfos:: containingProjects: 1 /a/c/tsconfig.json *default* -Configured project: /a/c/tsconfig.json hasOpenRef:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -427,8 +426,6 @@ ScriptInfos:: containingProjects: 1 /a/c/tsconfig.json *default* -Configured project: /a/c/tsconfig.json hasOpenRef:: true isClosed: false -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -476,6 +473,15 @@ FsWatchesRecursive:: /a/c: {} +Projects:: +/a/b/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 +/a/c/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/app.ts (Open) version: Text-1 @@ -488,8 +494,6 @@ ScriptInfos:: containingProjects: 1 /a/c/tsconfig.json -Configured project: /a/c/tsconfig.json hasOpenRef:: false isClosed: false -Configured project: /a/b/tsconfig.json hasOpenRef:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -537,6 +541,16 @@ FsWatchesRecursive:: /a/c: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* +/a/c/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + ScriptInfos:: /a/b/app.ts *changed* open: false *changed* @@ -549,8 +563,6 @@ ScriptInfos:: containingProjects: 1 /a/c/tsconfig.json -Configured project: /a/c/tsconfig.json hasOpenRef:: false isClosed: false -Configured project: /a/b/tsconfig.json hasOpenRef:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -620,9 +632,12 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/a/c/tsconfig.json (Configured) + isClosed: true *changed* + noOpenRef: true +/a/c/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: false *changed* ScriptInfos:: /a/b/app.ts *changed* @@ -635,5 +650,3 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/c/tsconfig.json *default* - -Configured project: /a/c/tsconfig.json hasOpenRef:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js b/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js index 0233be3d36609..ca00c6f28f1d6 100644 --- a/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js +++ b/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js @@ -214,6 +214,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/tsconfig.json @@ -304,6 +305,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -319,7 +321,6 @@ ScriptInfos:: containingProjects: 0 *changed* /user/username/projects/myproject/tsconfig.json *deleted* -Containing projects for /user/username/projects/myproject/src/file2.ts:: Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/src/file2.ts 1:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/src/file2.ts 1:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Before running Timeout callback:: count: 0 @@ -342,5 +343,3 @@ ScriptInfos:: containingProjects: 0 After running Timeout callback:: count: 0 - -Containing projects for /user/username/projects/myproject/src/file2.ts:: \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js b/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js index d5060ebd5c396..d635a5946fc28 100644 --- a/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js +++ b/tests/baselines/reference/tsserver/projects/changes-in-closed-files-are-reflected-in-project-structure.js @@ -159,6 +159,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /dev/null/inferredProject2* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 @@ -253,9 +254,11 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* + isOrphan: true *changed* ScriptInfos:: /a/b/f1.ts (Open) @@ -272,6 +275,3 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject1* *default* *new* /dev/null/inferredProject2* *deleted* - -Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false -Inferred project: /dev/null/inferredProject2* isOrphan:: true isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js b/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js index 7de9f197047bf..0bdb20be7c385 100644 --- a/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js +++ b/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js @@ -699,6 +699,7 @@ Projects:: /a/b/project (External) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/app.ts (Open) @@ -1153,6 +1154,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/project (External) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/b/app.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js index 01f5604fa4258..51dc48d326672 100644 --- a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js +++ b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js @@ -315,6 +315,8 @@ Projects:: /a/b/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true *changed* ScriptInfos:: /a/b/f1.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js b/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js index b639cc7eb3358..21f2cdd81008a 100644 --- a/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js +++ b/tests/baselines/reference/tsserver/projects/correctly-migrate-files-between-projects.js @@ -64,7 +64,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* -Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -127,8 +126,6 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject2* *default* -Inferred project: /dev/null/inferredProject1* isOrphan:: false isClosed: false -Inferred project: /dev/null/inferredProject2* isOrphan:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -203,9 +200,15 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject3* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -226,7 +229,6 @@ ScriptInfos:: /dev/null/inferredProject3* *default* *new* /dev/null/inferredProject2* *deleted* -Inferred project: /dev/null/inferredProject3* isOrphan:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -298,6 +300,8 @@ Projects:: /dev/null/inferredProject3* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /dev/null/inferredProject4* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -322,9 +326,6 @@ ScriptInfos:: /dev/null/inferredProject5* *default* *new* /dev/null/inferredProject3* -Inferred project: /dev/null/inferredProject3* isOrphan:: true isClosed: false -Inferred project: /dev/null/inferredProject4* isOrphan:: false isClosed: false -Inferred project: /dev/null/inferredProject5* isOrphan:: false isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -372,12 +373,16 @@ Projects:: /dev/null/inferredProject3* (Inferred) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isOrphan: true /dev/null/inferredProject4* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 /dev/null/inferredProject5* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/b/f1.ts @@ -395,9 +400,6 @@ ScriptInfos:: /dev/null/inferredProject3* /dev/null/inferredProject5* *deleted* -Inferred project: /dev/null/inferredProject3* isOrphan:: true isClosed: false -Inferred project: /dev/null/inferredProject4* isOrphan:: false isClosed: false -Inferred project: /dev/null/inferredProject5* isOrphan:: true isClosed: false Before request Info seq [hh:mm:ss:mss] request: @@ -465,12 +467,17 @@ Projects:: /dev/null/inferredProject3* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject4* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/dev/null/inferredProject5* (Inferred) +/dev/null/inferredProject5* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* ScriptInfos:: /a/b/f1.ts *deleted* @@ -487,6 +494,3 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject5* *default* *new* /dev/null/inferredProject3* *deleted* - -Inferred project: /dev/null/inferredProject5* isOrphan:: false isClosed: false -Inferred project: /dev/null/inferredProject4* isOrphan:: false isClosed: false \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js index 407ecaba688c9..ef7b387571e8b 100644 --- a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js @@ -120,6 +120,7 @@ Projects:: /tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true Info seq [hh:mm:ss:mss] Calling ensureInferredProjectsUpToDate_TestOnly Info seq [hh:mm:ss:mss] Loading configured project /tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js b/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js index 68da5b45f8e2f..cb6ddbacfe69b 100644 --- a/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js +++ b/tests/baselines/reference/tsserver/projects/deleted-files-affect-project-structure.js @@ -166,6 +166,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/f1.ts (Open) @@ -257,6 +258,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js index 00b9b92e230c8..94be5e3eb17af 100644 --- a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js @@ -264,6 +264,12 @@ FsWatchesRecursive:: /user/username/projects/myproject/playground: {} +Projects:: +/user/username/projects/myproject/playground/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -471,9 +477,12 @@ Projects:: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/playground/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -636,6 +645,7 @@ Projects:: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js index cc43a454ed405..1b9045e3d3611 100644 --- a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js +++ b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js @@ -301,6 +301,12 @@ FsWatchesRecursive:: /a/b/projects/config: {} +Projects:: +/a/b/projects/config/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/projects/config/file.ts *changed* open: false *changed* @@ -420,6 +426,8 @@ Projects:: /a/b/projects/config/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js index f2c28a0ccbb2f..5ab683a53bb46 100644 --- a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js +++ b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js @@ -319,6 +319,7 @@ Projects:: projectFileName (External) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/f1.html *changed* diff --git a/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js b/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js index 3d81d675fdbc1..8aed920909c61 100644 --- a/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js +++ b/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js @@ -205,6 +205,12 @@ FsWatchesRecursive:: /a/b: {} +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/b/app.ts *changed* open: false *changed* diff --git a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js index cb61b330ec11a..ab81500303f15 100644 --- a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js +++ b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js @@ -286,6 +286,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -382,6 +383,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -472,6 +474,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -609,6 +612,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -703,6 +707,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -802,9 +807,12 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js b/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js index 895e0dfed0877..5089e1a47dc9f 100644 --- a/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js +++ b/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js @@ -155,6 +155,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -216,6 +217,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/commonFile1.ts (Open) diff --git a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js index 9905d487f8126..2f4e1c1049de0 100644 --- a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js @@ -282,6 +282,12 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -536,9 +542,12 @@ Projects:: /user/username/projects/myproject/apps/editor/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -755,3 +764,4 @@ Projects:: /user/username/projects/myproject/apps/editor/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true diff --git a/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js b/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js index 3378e990477de..3bb5a33f7df83 100644 --- a/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js +++ b/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js @@ -288,6 +288,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/main.ts *changed* open: false *changed* @@ -383,6 +389,7 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 0 @@ -460,6 +467,8 @@ Projects:: /a/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: false *changed* /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 0 @@ -599,6 +608,7 @@ Projects:: /a/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* @@ -653,12 +663,16 @@ FsWatchesRecursive:: {} Projects:: -/a/tsconfig.json (Configured) +/a/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + noOpenRef: true *changed* /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/main.js *changed* @@ -874,9 +888,15 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js b/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js index 6cbbc29b93625..0d985457f65b5 100644 --- a/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js +++ b/tests/baselines/reference/tsserver/projects/project-structure-update-is-deferred-if-files-are-not-added-or-removed.js @@ -154,6 +154,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/f1.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js index 708c9f83f4006..2ecf8a7fc092f 100644 --- a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js @@ -264,6 +264,12 @@ FsWatchesRecursive:: /user/username/projects/myproject/playground: {} +Projects:: +/user/username/projects/myproject/playground/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -471,9 +477,12 @@ Projects:: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true /user/username/projects/myproject/playground/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -644,6 +653,7 @@ Projects:: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js b/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js index 491157e637334..91fb2728b7b4f 100644 --- a/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js +++ b/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js @@ -324,6 +324,7 @@ Projects:: /a/b/project (External) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/app.ts (Open) @@ -389,6 +390,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/project (External) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/b/app.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js b/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js index f217c37d6fe77..90e25ae44dd82 100644 --- a/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js +++ b/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js @@ -305,6 +305,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -364,6 +365,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js b/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js index 218c51a3515ee..7d3d1ef55dc62 100644 --- a/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js +++ b/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js @@ -229,6 +229,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /a/b/tsconfig.json @@ -362,6 +363,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/commonFile1.ts (Open) diff --git a/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js b/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js index 170f9f036f7f6..8dfc7318430b7 100644 --- a/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js +++ b/tests/baselines/reference/tsserver/projects/snapshot-from-different-caches-are-incompatible.js @@ -266,6 +266,7 @@ Projects:: /a/b/proj.csproj (External) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/app.ts *changed* @@ -315,6 +316,12 @@ FsWatches *deleted*:: /a/b/app.ts: {} +Projects:: +/a/b/proj.csproj (External) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/b/app.ts (Open) *changed* open: true *changed* diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js index 19d318bd8d3d8..47e48395f99ca 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js @@ -610,9 +610,11 @@ Projects:: /users/username/projects/project/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /users/username/projects/project/B/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] request: { @@ -805,9 +807,11 @@ Projects:: /users/username/projects/project/A/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /users/username/projects/project/B/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projects/syntax-tree-cache-handles-changes-in-project-settings.js b/tests/baselines/reference/tsserver/projects/syntax-tree-cache-handles-changes-in-project-settings.js index e167808f3b8a1..7d01f10316d01 100644 --- a/tests/baselines/reference/tsserver/projects/syntax-tree-cache-handles-changes-in-project-settings.js +++ b/tests/baselines/reference/tsserver/projects/syntax-tree-cache-handles-changes-in-project-settings.js @@ -152,6 +152,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before request @@ -265,6 +266,13 @@ FsWatches:: /a/b/app.ts: *new* {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isOrphan: true *changed* + ScriptInfos:: /a/b/app.ts *changed* open: false *changed* diff --git a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js index b27eafa4a3c78..c1c9c64d32f4e 100644 --- a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js +++ b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js @@ -908,6 +908,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/b/f1.ts (Open) @@ -1356,6 +1357,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Projects:: +/a/b/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 2 + dirty: false *changed* + ScriptInfos:: /a/b/f1.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js index 7eaa7bec06496..29c68a7598a60 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js @@ -376,6 +376,7 @@ Projects:: /user/username/projects/sample1/tests/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -443,6 +444,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/sample1/tests/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -491,6 +498,7 @@ Projects:: /user/username/projects/sample1/tests/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -558,6 +566,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/sample1/tests/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 @@ -611,6 +625,7 @@ Projects:: /user/username/projects/sample1/tests/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/sample1/tests/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/sample1/tests/tsconfig.json @@ -676,3 +691,4 @@ Projects:: /user/username/projects/sample1/tests/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 2 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js index e17f788704565..307998a491f6c 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js @@ -361,6 +361,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -471,6 +472,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -536,6 +538,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -667,6 +670,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js index 5664b2ac29650..1a86b0c7db29d 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js @@ -361,6 +361,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -420,6 +421,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json @@ -452,6 +454,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -512,3 +515,4 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js index 5be7e2852e883..2e177e7c19235 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js @@ -385,6 +385,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json @@ -513,6 +514,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -577,6 +579,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -703,6 +706,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js index e81430931eb43..fb19231621672 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js @@ -384,6 +384,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json @@ -542,6 +543,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -605,6 +607,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/c/tsconfig.json @@ -761,6 +764,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js index a7edc0aaf0291..710124953b93e 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js @@ -359,6 +359,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -426,6 +427,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js index af515ec40256c..eb05d1f0d4648 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js @@ -363,6 +363,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -479,6 +480,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -541,6 +543,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -678,6 +681,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js index 3652b0a7d8b3b..d89993a3e12a3 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js @@ -363,6 +363,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -424,6 +425,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json @@ -453,6 +455,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -515,3 +518,4 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js index 2828c27423eaf..878f60b80791e 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js @@ -381,6 +381,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json @@ -509,6 +510,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -570,6 +572,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json @@ -698,6 +701,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js index 7a155f2ef0c44..c0b48df2340cd 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js @@ -380,6 +380,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json @@ -540,6 +541,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -600,6 +602,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /user/username/projects/myproject/c/tsconfig.json @@ -758,6 +761,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js index b7817aa075655..f60406c06a293 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js @@ -358,6 +358,7 @@ Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -425,6 +426,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/c/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js b/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js index c4be3eaa1b2ed..03b1d927e760f 100644 --- a/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js +++ b/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js @@ -114,6 +114,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/b/app.ts *changed* @@ -128,8 +130,6 @@ ScriptInfos:: /dev/null/inferredProject1* contents of closed file:: Content of /a/b/app.ts:: let x = 1 -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -info:: /a/b/app.ts:: Before request ScriptInfos:: @@ -182,8 +182,6 @@ ScriptInfos:: /dev/null/inferredProject1* contents of temp file:: Content of /a/b/app.ts:: const y = 42 -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -info:: /a/b/app.ts:: Before request Info seq [hh:mm:ss:mss] request: @@ -225,8 +223,6 @@ ScriptInfos:: /dev/null/inferredProject1* contents of closed file:: Content of /a/b/app.ts:: let x = 1 -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -info:: /a/b/app.ts:: Before request Info seq [hh:mm:ss:mss] request: @@ -276,6 +272,13 @@ FsWatches *deleted*:: /a/b/app.ts: {} +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* + ScriptInfos:: /a/b/app.ts (Open) *changed* open: true *changed* @@ -321,6 +324,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* ScriptInfos:: /a/b/app.ts *changed* @@ -334,8 +339,6 @@ ScriptInfos:: /dev/null/inferredProject1* contents of closed file:: Content of /a/b/app.ts:: let x = 1 -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -info:: /a/b/app.ts:: Before request Info seq [hh:mm:ss:mss] request: @@ -378,8 +381,6 @@ ScriptInfos:: /dev/null/inferredProject1* contents of temp file:: Content of /a/b/app.ts:: const y = 42 -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -info:: /a/b/app.ts:: Before request Info seq [hh:mm:ss:mss] request: @@ -420,6 +421,4 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* -contents of closed file:: Content of /a/b/app.ts:: let x = 1 -Inferred project: /dev/null/inferredProject1* isOrphan:: true isClosed: false -info:: /a/b/app.ts:: \ No newline at end of file +contents of closed file:: Content of /a/b/app.ts:: let x = 1 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js b/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js index 48d553f852367..b95e3fb069fb2 100644 --- a/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js +++ b/tests/baselines/reference/tsserver/reload/should-work-with-temp-file.js @@ -95,6 +95,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/b/app.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js b/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js index e0a587e4ff68e..64b5a3e4419f9 100644 --- a/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js +++ b/tests/baselines/reference/tsserver/rename/rename-TS-file-with-js-extension.js @@ -117,6 +117,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js b/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js index eeb16f45e4e77..84d9c7ab8f619 100644 --- a/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js +++ b/tests/baselines/reference/tsserver/rename/rename-behavior-is-based-on-file-of-rename-initiation.js @@ -117,6 +117,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js index 25773fb1a6201..2fbd4244ffc71 100644 --- a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js +++ b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js @@ -239,6 +239,8 @@ c:/temp/test/project1/tsconfig.json (Configured) *new* c:/temp/test/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 0 + dirty: true + noOpenRef: true ScriptInfos:: C:/a/lib/lib.d.ts *new* @@ -600,12 +602,15 @@ c:/temp/test/project1/tsconfig.json (Configured) c:/temp/test/project2/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true originalConfiguredProjects: 2 c:/temp/test/project1/tsconfig.json c:/temp/test/project2/tsconfig.json c:/temp/test/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 *changed* + dirty: false *changed* + noOpenRef: true ScriptInfos:: C:/a/lib/lib.d.ts *changed* diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js index c3c7dfea5c978..bad451670f9bc 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js @@ -370,6 +370,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -461,6 +462,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js index 100fb46ca6b3d..774f7f4621769 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js @@ -286,6 +286,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -361,6 +362,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js index 3dd8a141aaf17..d1dad25b9ed1b 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js @@ -345,6 +345,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -439,6 +440,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js index d56a8e9180d3e..746b72b2e010a 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js +++ b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js @@ -270,6 +270,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -328,6 +329,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/projects/temp/a.ts (Open) diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js index 936c0c3ae3351..5796511fd15f7 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js @@ -346,6 +346,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -437,6 +438,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js index fb2f7fdefb7c5..2f8807d95dd91 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js @@ -266,6 +266,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -341,6 +342,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js index 990749dc36b37..a3e424e839120 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js +++ b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js @@ -286,6 +286,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /users/username/projects/project/file1.ts (Open) @@ -374,6 +375,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /users/username/projects/project/file1.ts (Open) @@ -478,6 +480,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /users/username/projects/project/file1.ts (Open) @@ -568,6 +571,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /users/username/projects/project/file1.ts (Open) diff --git a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js index 1a41fd96f0fa2..ecc6ac6021384 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js +++ b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js @@ -140,6 +140,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /users/username/projects/project/file1.ts (Open) @@ -220,6 +221,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before request @@ -282,6 +284,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Before request @@ -394,6 +397,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /users/username/projects/project/file1.ts (Open) diff --git a/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js b/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js index a7c1af2acdedd..c054807a9b559 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js +++ b/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js @@ -259,6 +259,7 @@ Projects:: project1 (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* ScriptInfos:: /a/b/app.ts *changed* diff --git a/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js b/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js index 717d3b46b20f0..f127feefebd9b 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js +++ b/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js @@ -137,6 +137,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before request @@ -231,6 +232,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /users/username/projects/project/file1.ts (Open) diff --git a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js index 3e125ed19132c..5083f786addda 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js @@ -257,6 +257,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /users/username/projects/project/app.ts (Open) @@ -338,6 +339,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2 :: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json @@ -378,6 +380,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json @@ -434,6 +437,7 @@ Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /users/username/projects/project/app.ts (Open) diff --git a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js index 94a4dda92056d..52dafe977c53a 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/jsonly-inferred-project.js @@ -668,6 +668,9 @@ Projects:: /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js index 4daa73005afe8..a4c4a04c3a57f 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js @@ -151,6 +151,7 @@ Projects:: /a/jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -404,6 +405,7 @@ Projects:: /a/jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* Before request diff --git a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js index 200e57e2ad800..8e36dd152776c 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js @@ -147,6 +147,7 @@ Projects:: /a/jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -396,6 +397,7 @@ Projects:: /a/jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* Before request diff --git a/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js b/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js index c5494099eb70d..dec7684576ce7 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js @@ -178,6 +178,7 @@ Projects:: /a/jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -433,6 +434,7 @@ Projects:: /a/jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* Before request diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js index 6fcabaaff3014..553c212be2de0 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js @@ -394,6 +394,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 6: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -500,6 +501,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -624,6 +626,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -710,6 +713,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* Before running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js index ffba824de8fca..a1e79afe4cd72 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js @@ -358,6 +358,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -465,6 +466,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js index 1e37c89cb5b90..9a29b0c5f9317 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js @@ -441,6 +441,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 9: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -558,6 +559,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -689,6 +691,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Reloading configured project /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -783,6 +786,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* Before running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index 2bc33696b5f15..884f1782615d3 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -387,6 +387,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 5: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -504,6 +505,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js index 1d595b161bad4..e79f746c729d3 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js @@ -377,6 +377,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -494,6 +495,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before running Timeout callback:: count: 0 @@ -627,6 +629,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Before running Timeout callback:: count: 2 8: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -744,6 +747,7 @@ Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js index 63de8f38a6b95..6795a9635d768 100644 --- a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js +++ b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js @@ -213,6 +213,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: @@ -387,9 +388,13 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* /dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true *changed* autoImportProviderHost: undefined *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 @@ -630,9 +635,11 @@ Projects:: /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /dev/null/inferredProject3* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject2* ScriptInfos:: @@ -770,6 +777,20 @@ FsWatchesRecursive:: c:/temp/replay/axios-src/node_modules: {} +Projects:: +/dev/null/autoImportProviderProject2* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + autoImportProviderHost: /dev/null/autoImportProviderProject2* + ScriptInfos:: c:/temp/replay/axios-src/lib/core/AxiosHeaders.js *changed* version: Text-2 *changed* diff --git a/tests/baselines/reference/tsserver/syntacticServer/files-go-to-inferred-project-and-semantic-operations-fail.js b/tests/baselines/reference/tsserver/syntacticServer/files-go-to-inferred-project-and-semantic-operations-fail.js index 4d7a45c56134e..82eb2a0abce50 100644 --- a/tests/baselines/reference/tsserver/syntacticServer/files-go-to-inferred-project-and-semantic-operations-fail.js +++ b/tests/baselines/reference/tsserver/syntacticServer/files-go-to-inferred-project-and-semantic-operations-fail.js @@ -322,6 +322,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 5 *changed* projectProgramVersion: 0 + dirty: true *changed* ScriptInfos:: /user/username/projects/myproject/a.ts (Open) diff --git a/tests/baselines/reference/tsserver/syntacticServer/should-not-include-referenced-files-from-unopened-files.js b/tests/baselines/reference/tsserver/syntacticServer/should-not-include-referenced-files-from-unopened-files.js index 8dd4841c1b355..701aa6d719614 100644 --- a/tests/baselines/reference/tsserver/syntacticServer/should-not-include-referenced-files-from-unopened-files.js +++ b/tests/baselines/reference/tsserver/syntacticServer/should-not-include-referenced-files-from-unopened-files.js @@ -145,6 +145,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 0 + dirty: true *changed* ScriptInfos:: /user/username/projects/myproject/a.ts (Open) diff --git a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js index 4648e77d9b1df..195796440abfb 100644 --- a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js +++ b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js @@ -209,6 +209,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/unitTest1.ts 500 undefined WatchType: Closed Script info @@ -290,6 +291,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -526,6 +528,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -622,6 +625,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/unitTest1.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json @@ -651,6 +655,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/unitTest1.ts 500 undefined WatchType: Closed Script info @@ -732,6 +737,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js b/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js index 6e4fa3fedbbf0..172953085f7b1 100644 --- a/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js +++ b/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js @@ -153,6 +153,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -406,3 +407,4 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js b/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js index 54eadb66245f6..4d4305eeb020e 100644 --- a/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js +++ b/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js @@ -236,6 +236,12 @@ FsWatchesRecursive:: /a: {} +Projects:: +/a/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/a.ts *changed* open: false *changed* @@ -314,6 +320,8 @@ Projects:: /a/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js index 1a1dcc35ade3e..0519453c38d58 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js @@ -172,6 +172,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -424,3 +425,4 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js index 333f40b7159b5..1b4bf3931e3c7 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js @@ -158,6 +158,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -422,3 +423,4 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js b/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js index db4cb50082cf6..8b33e47a955c5 100644 --- a/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js +++ b/tests/baselines/reference/tsserver/telemetry/works-with-external-project.js @@ -225,6 +225,7 @@ Projects:: /hunter2/foo.csproj (External) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* ScriptInfos:: /a.ts *changed* diff --git a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js index b7d03bbe64ff6..bd9f2b7033700 100644 --- a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js +++ b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js @@ -270,6 +270,7 @@ Projects:: /user/username/projects/myproject/test/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -332,6 +333,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +Projects:: +/user/username/projects/myproject/test/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js b/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js index bc0e29eb4c294..2d228f90cb6db 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js @@ -223,6 +223,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/app.js (Open) *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js index e8dc4088bbef8..188c327d00b41 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js @@ -164,6 +164,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -395,6 +396,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ @@ -430,6 +432,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* TI:: [hh:mm:ss:mss] Installed typings ["@types/jquery@tsFakeMajor.Minor"] TI:: [hh:mm:ss:mss] Installed typing files ["/tmp/node_modules/@types/jquery/index.d.ts"] @@ -669,6 +672,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js index f9c0251faeff4..8d667268799ab 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js @@ -472,6 +472,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /a/b/tsconfig.json @@ -612,6 +613,7 @@ Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js index 16c153ba81f23..e3508b5da0149 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js @@ -163,6 +163,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -398,6 +399,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ @@ -433,6 +435,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* TI:: [hh:mm:ss:mss] Installed typings ["@types/jquery@tsFakeMajor.Minor"] TI:: [hh:mm:ss:mss] Installed typing files ["/tmp/node_modules/@types/jquery/index.d.ts"] @@ -672,6 +675,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js index b445e83f56130..a4caf974fe24f 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js @@ -224,6 +224,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -444,6 +445,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* Before running PendingInstalls callback:: count: 1 1: #1 with arguments:: [ @@ -479,6 +481,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* TI:: [hh:mm:ss:mss] Installed typings ["@types/jquery@tsFakeMajor.Minor"] TI:: [hh:mm:ss:mss] Installed typing files ["/tmp/node_modules/@types/jquery/index.d.ts"] @@ -692,6 +695,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 *changed* + dirty: true ScriptInfos:: /app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js index 7472429e81ad4..396e717834091 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js @@ -211,6 +211,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -472,6 +473,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js index 606f5441a3481..94c9e448cf701 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js @@ -215,6 +215,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -507,6 +508,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js index 95fc26d9c05b2..5d8ca2d367cd3 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js @@ -206,6 +206,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -465,6 +466,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: @@ -514,6 +516,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* TI:: [hh:mm:ss:mss] Installed typings ["@types/jquery@tsFakeMajor.Minor"] @@ -768,9 +771,11 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /jsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 2 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js index e02cef7102c1a..d4c7dfaebbb96 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js @@ -336,6 +336,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* @@ -487,6 +488,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js index 398fe02c78e03..e905113d75c0d 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-autoDiscovery.js @@ -324,3 +324,4 @@ Projects:: /a/app/test.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js index 534e140ba3ab1..db7c223ef26cb 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js @@ -416,6 +416,7 @@ Projects:: /a/app/test.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 1 1: /a/app/test.csproj @@ -549,6 +550,7 @@ Projects:: /a/app/test.csproj (External) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/file2.jsx diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js index 037717236d608..854fa985c2d53 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js @@ -489,6 +489,7 @@ Projects:: /a/app/test.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 1 1: /a/app/test.csproj @@ -650,6 +651,7 @@ Projects:: /a/app/test.csproj (External) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/file3.d.ts diff --git a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js index a89cec762b60f..04a38e0a49c95 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js @@ -312,6 +312,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* @@ -463,6 +464,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js index 0b4ea97e853e9..77f8b141ce3af 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js @@ -320,6 +320,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* @@ -448,6 +449,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 *changed* + dirty: true ScriptInfos:: /a/b/app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js index e3d6373edfb3a..9f82c137b0158 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js @@ -322,6 +322,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* @@ -455,6 +456,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 *changed* + dirty: true ScriptInfos:: /a/b/app.js (Open) @@ -603,6 +605,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* Info seq [hh:mm:ss:mss] request: { @@ -637,6 +640,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* ScriptInfos:: /a/b/app.js (Open) *changed* @@ -811,3 +815,4 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js index 552187bd70146..cda76aaefcfff 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js @@ -309,6 +309,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* @@ -434,6 +435,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 *changed* + dirty: true ScriptInfos:: /a/b/app.js (Open) @@ -564,6 +566,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.js (Open) @@ -612,6 +615,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* ScriptInfos:: /a/b/app.js (Open) *changed* @@ -773,3 +777,4 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js b/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js index 8d658562d5928..f10318b2d2036 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js @@ -387,6 +387,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* @@ -536,6 +537,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js index a054d5e07c655..c4283302afae9 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js @@ -466,6 +466,7 @@ Projects:: /user/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /user/username/projects/project/tsconfig.json @@ -610,6 +611,7 @@ Projects:: /user/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/data/node_modules/@types/jquery/index.d.ts *new* @@ -672,6 +674,12 @@ FsWatchesRecursive:: /user/username/projects/project: {} +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + noOpenRef: true *changed* + ScriptInfos:: /a/data/node_modules/@types/jquery/index.d.ts version: Text-1 @@ -985,6 +993,8 @@ Projects:: /user/username/projects/project/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 2 + isClosed: true *changed* + noOpenRef: true /user/username/projects/project2/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js b/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js index 5a1b19d6fc87d..8cc0b3e9b591a 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js @@ -269,6 +269,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 *changed* + dirty: true *changed* Before running PendingInstalls callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js index b8909da8e4ae5..05b3d6870673b 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js @@ -302,6 +302,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* @@ -451,6 +452,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js index f7b6971491be1..fcf573cda9e50 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js @@ -354,6 +354,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* @@ -506,6 +507,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 *changed* + dirty: true ScriptInfos:: /user/username/projects/a/b/app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js index 6bc90b62c234c..f1a7c68a0475f 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js @@ -201,6 +201,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 0 + dirty: true *changed* TI:: [hh:mm:ss:mss] Got install request { @@ -460,6 +461,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 *changed* + dirty: false *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: @@ -509,6 +511,7 @@ Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* autoImportProviderHost: /dev/null/autoImportProviderProject1* TI:: [hh:mm:ss:mss] Installed typings ["@types/zkat__cacache@tsFakeMajor.Minor"] @@ -731,9 +734,11 @@ Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /jsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 2 *changed* + dirty: true autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js index 4bf201de89099..3221c2701e625 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js @@ -318,6 +318,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* @@ -443,6 +444,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 *changed* + dirty: true ScriptInfos:: /a/b/app.js (Open) @@ -654,6 +656,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/b/app.js (Open) @@ -704,6 +707,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* ScriptInfos:: /a/b/app.js (Open) *changed* @@ -835,3 +839,4 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 4 projectProgramVersion: 4 *changed* + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js index fa327605d88c4..5757d63c6eb0b 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js @@ -293,6 +293,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /dev/null/inferredProject1* @@ -442,6 +443,7 @@ Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/app.js (Open) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js index b259fa6a48b75..56385f150fe67 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js @@ -674,6 +674,7 @@ Projects:: /a/app/test1.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /a/app/test2.csproj (External) projectStateVersion: 1 projectProgramVersion: 1 @@ -787,9 +788,11 @@ Projects:: /a/app/test1.csproj (External) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /a/app/test2.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 2 1: /a/app/test1.csproj @@ -1060,9 +1063,11 @@ Projects:: /a/app/test1.csproj (External) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* /a/app/test2.csproj (External) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/file3.d.ts diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js index c32b072069c0c..cc4df45d05bd6 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js @@ -501,6 +501,7 @@ Projects:: /a/app/test.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before running Timeout callback:: count: 1 1: /a/app/test.csproj @@ -662,6 +663,7 @@ Projects:: /a/app/test.csproj (External) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/b/file3.d.ts diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js index 2f7a9bd67550a..d60faf073a54a 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js @@ -800,6 +800,7 @@ Projects:: /a/app/test1.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /a/app/test2.csproj (External) projectStateVersion: 2 projectProgramVersion: 1 @@ -1107,6 +1108,8 @@ Projects:: /a/app/test1.csproj (External) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /a/app/test2.csproj (External) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 + dirty: true *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js index 1445845f24b4e..ce0fdaded062a 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js @@ -840,6 +840,7 @@ Projects:: /a/app/test1.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /a/app/test2.csproj (External) projectStateVersion: 1 projectProgramVersion: 1 @@ -1120,9 +1121,11 @@ Projects:: /a/app/test1.csproj (External) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /a/app/test2.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /a/app/test3.csproj (External) projectStateVersion: 1 projectProgramVersion: 1 @@ -1413,9 +1416,12 @@ Projects:: /a/app/test1.csproj (External) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /a/app/test2.csproj (External) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /a/app/test3.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js index 7d817b47632d6..c84dd9ab774a1 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js @@ -742,6 +742,7 @@ Projects:: /a/app/test1.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* /a/app/test2.csproj (External) projectStateVersion: 1 projectProgramVersion: 1 @@ -1017,6 +1018,8 @@ Projects:: /a/app/test1.csproj (External) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /a/app/test2.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js index 8c49e8b1b6385..e21b8f5569a12 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js @@ -606,6 +606,7 @@ Projects:: /a/app/test1.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before request @@ -734,6 +735,7 @@ Projects:: /a/app/test1.csproj (External) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /a/app/test2.csproj (External) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1016,6 +1018,8 @@ Projects:: /a/app/test1.csproj (External) projectStateVersion: 2 projectProgramVersion: 1 + dirty: true /a/app/test2.csproj (External) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js b/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js index da772f6aa0723..b0ed962899ee6 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js @@ -206,6 +206,7 @@ Projects:: /Volumes/git/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /Volumes/git/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Volumes/git/projects/project/Bar.ts 500 undefined WatchType: Closed Script info @@ -281,6 +282,7 @@ Projects:: /Volumes/git/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /Volumes/git/projects/project/Bar.ts *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js index 1b32297b2b373..9d1ba7d1f55ba 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js @@ -253,6 +253,7 @@ Projects:: /a/username/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Before request @@ -337,6 +338,7 @@ Projects:: /a/username/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js index 5c08e6baa338e..39a8069ff731d 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js @@ -256,6 +256,7 @@ Projects:: /a/username/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/username/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/src/file2.ts 500 undefined WatchType: Closed Script info @@ -336,6 +337,7 @@ Projects:: /a/username/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js index cbe306d20356b..1419bbc6a683c 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js @@ -256,6 +256,7 @@ Projects:: /a/username/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* Info seq [hh:mm:ss:mss] Running: /a/username/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -310,6 +311,7 @@ Projects:: /a/username/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js index 42299c3efe3c4..18f48e58dec17 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js @@ -346,6 +346,7 @@ Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 + dirty: true *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -433,6 +434,7 @@ Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* + dirty: false *changed* Before running Immedidate callback:: count: 1 3: semanticCheck @@ -558,6 +560,7 @@ Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 + dirty: true *changed* Before request //// [/workspaces/somerepo/node_modules/@types/random-seed/index.d.ts] Inode:: 16 @@ -674,6 +677,7 @@ Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts @@ -782,3 +786,4 @@ Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 + dirty: true *changed* From 31bf80ce6b5caa65106132f3fb4421c6e4b1e795 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Wed, 7 Feb 2024 15:02:35 -0800 Subject: [PATCH 27/56] Fix path completions missing extensions for exports wildcards (#57312) --- src/compiler/moduleSpecifiers.ts | 35 ++++++++-------- src/compiler/utilities.ts | 24 +++++++---- src/services/stringCompletions.ts | 40 ++++++++++++++----- ...CompletionsPackageJsonExportsWildcard10.ts | 28 +++++++++++++ ...CompletionsPackageJsonExportsWildcard11.ts | 27 +++++++++++++ 5 files changed, 120 insertions(+), 34 deletions(-) create mode 100644 tests/cases/fourslash/pathCompletionsPackageJsonExportsWildcard10.ts create mode 100644 tests/cases/fourslash/pathCompletionsPackageJsonExportsWildcard11.ts diff --git a/src/compiler/moduleSpecifiers.ts b/src/compiler/moduleSpecifiers.ts index b252e71eb485f..fb2a6cb1bb7f3 100644 --- a/src/compiler/moduleSpecifiers.ts +++ b/src/compiler/moduleSpecifiers.ts @@ -120,15 +120,16 @@ import { // Used by importFixes, getEditsForFileRename, and declaration emit to synthesize import module specifiers. -const enum RelativePreference { +/** @internal */ +export const enum RelativePreference { Relative, NonRelative, Shortest, ExternalNonRelative, } -// Processed preferences -interface Preferences { +/** @internal */ +export interface ModuleSpecifierPreferences { readonly relativePreference: RelativePreference; /** * @param syntaxImpliedNodeFormat Used when the import syntax implies ESM or CJS irrespective of the mode of the file. @@ -136,13 +137,14 @@ interface Preferences { getAllowedEndingsInPreferredOrder(syntaxImpliedNodeFormat?: SourceFile["impliedNodeFormat"]): ModuleSpecifierEnding[]; } -function getPreferences( +/** @internal */ +export function getModuleSpecifierPreferences( { importModuleSpecifierPreference, importModuleSpecifierEnding }: UserPreferences, compilerOptions: CompilerOptions, importingSourceFile: SourceFile, oldImportSpecifier?: string, -): Preferences { - const preferredEnding = getPreferredEnding(); +): ModuleSpecifierPreferences { + const filePreferredEnding = getPreferredEnding(); return { relativePreference: oldImportSpecifier !== undefined ? (isExternalModuleNameRelative(oldImportSpecifier) ? RelativePreference.Relative : @@ -152,6 +154,7 @@ function getPreferences( importModuleSpecifierPreference === "project-relative" ? RelativePreference.ExternalNonRelative : RelativePreference.Shortest, getAllowedEndingsInPreferredOrder: syntaxImpliedNodeFormat => { + const preferredEnding = syntaxImpliedNodeFormat !== importingSourceFile.impliedNodeFormat ? getPreferredEnding(syntaxImpliedNodeFormat) : filePreferredEnding; if ((syntaxImpliedNodeFormat ?? importingSourceFile.impliedNodeFormat) === ModuleKind.ESNext) { if (shouldAllowImportingTsExtension(compilerOptions, importingSourceFile.fileName)) { return [ModuleSpecifierEnding.TsExtension, ModuleSpecifierEnding.JsExtension]; @@ -185,14 +188,14 @@ function getPreferences( }, }; - function getPreferredEnding(): ModuleSpecifierEnding { + function getPreferredEnding(resolutionMode?: ResolutionMode): ModuleSpecifierEnding { if (oldImportSpecifier !== undefined) { if (hasJSFileExtension(oldImportSpecifier)) return ModuleSpecifierEnding.JsExtension; if (endsWith(oldImportSpecifier, "/index")) return ModuleSpecifierEnding.Index; } return getModuleSpecifierEndingPreference( importModuleSpecifierEnding, - importingSourceFile.impliedNodeFormat, + resolutionMode ?? importingSourceFile.impliedNodeFormat, compilerOptions, importingSourceFile, ); @@ -213,7 +216,7 @@ export function updateModuleSpecifier( oldImportSpecifier: string, options: ModuleSpecifierOptions = {}, ): string | undefined { - const res = getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName, host, getPreferences({}, compilerOptions, importingSourceFile, oldImportSpecifier), {}, options); + const res = getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName, host, getModuleSpecifierPreferences({}, compilerOptions, importingSourceFile, oldImportSpecifier), {}, options); if (res === oldImportSpecifier) return undefined; return res; } @@ -233,7 +236,7 @@ export function getModuleSpecifier( host: ModuleSpecifierResolutionHost, options: ModuleSpecifierOptions = {}, ): string { - return getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName, host, getPreferences({}, compilerOptions, importingSourceFile), {}, options); + return getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName, host, getModuleSpecifierPreferences({}, compilerOptions, importingSourceFile), {}, options); } /** @internal */ @@ -256,7 +259,7 @@ function getModuleSpecifierWorker( importingSourceFileName: string, toFileName: string, host: ModuleSpecifierResolutionHost, - preferences: Preferences, + preferences: ModuleSpecifierPreferences, userPreferences: UserPreferences, options: ModuleSpecifierOptions = {}, ): string { @@ -377,7 +380,7 @@ function computeModuleSpecifiers( forAutoImport: boolean, ): readonly string[] { const info = getInfo(importingSourceFile.fileName, host); - const preferences = getPreferences(userPreferences, compilerOptions, importingSourceFile); + const preferences = getModuleSpecifierPreferences(userPreferences, compilerOptions, importingSourceFile); const existingSpecifier = forEach(modulePaths, modulePath => forEach( host.getFileIncludeReasons().get(toPath(modulePath.path, host.getCurrentDirectory(), info.getCanonicalFileName)), @@ -488,9 +491,9 @@ function getInfo(importingSourceFileName: string, host: ModuleSpecifierResolutio }; } -function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOptions: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, preferences: Preferences): string; -function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOptions: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, preferences: Preferences, pathsOnly?: boolean): string | undefined; -function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOptions: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, { getAllowedEndingsInPreferredOrder: getAllowedEndingsInPrefererredOrder, relativePreference }: Preferences, pathsOnly?: boolean): string | undefined { +function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOptions: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, preferences: ModuleSpecifierPreferences): string; +function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOptions: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, preferences: ModuleSpecifierPreferences, pathsOnly?: boolean): string | undefined; +function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOptions: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, { getAllowedEndingsInPreferredOrder: getAllowedEndingsInPrefererredOrder, relativePreference }: ModuleSpecifierPreferences, pathsOnly?: boolean): string | undefined { const { baseUrl, paths, rootDirs } = compilerOptions; if (pathsOnly && !paths) { return undefined; @@ -1015,7 +1018,7 @@ function tryGetModuleNameAsNodeModule({ path, isRedirect }: ModulePath, { getCan // Simplify the full file path to something that can be resolved by Node. - const preferences = getPreferences(userPreferences, options, importingSourceFile); + const preferences = getModuleSpecifierPreferences(userPreferences, options, importingSourceFile); const allowedEndings = preferences.getAllowedEndingsInPreferredOrder(); let moduleSpecifier = path; let isPackageRootPath = false; diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index f9ec2c9b48639..6b3b2aed34994 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -187,6 +187,7 @@ import { getLineAndCharacterOfPosition, getLinesBetweenPositions, getLineStarts, + getModeForUsageLocation, getNameOfDeclaration, getNormalizedAbsolutePath, getNormalizedPathComponents, @@ -9590,7 +9591,8 @@ export function usesExtensionsOnImports({ imports }: SourceFile, hasExtension: ( /** @internal */ export function getModuleSpecifierEndingPreference(preference: UserPreferences["importModuleSpecifierEnding"], resolutionMode: ResolutionMode, compilerOptions: CompilerOptions, sourceFile: SourceFile): ModuleSpecifierEnding { const moduleResolution = getEmitModuleResolutionKind(compilerOptions); - if (preference === "js" || resolutionMode === ModuleKind.ESNext && ModuleResolutionKind.Node16 <= moduleResolution && moduleResolution <= ModuleResolutionKind.NodeNext) { + const moduleResolutionIsNodeNext = ModuleResolutionKind.Node16 <= moduleResolution && moduleResolution <= ModuleResolutionKind.NodeNext; + if (preference === "js" || resolutionMode === ModuleKind.ESNext && moduleResolutionIsNodeNext) { // Extensions are explicitly requested or required. Now choose between .js and .ts. if (!shouldAllowImportingTsExtension(compilerOptions)) { return ModuleSpecifierEnding.JsExtension; @@ -9621,19 +9623,27 @@ export function getModuleSpecifierEndingPreference(preference: UserPreferences[" function inferPreference() { let usesJsExtensions = false; - const specifiers = sourceFile.imports.length ? sourceFile.imports.map(i => i.text) : - isSourceFileJS(sourceFile) ? getRequiresAtTopOfFile(sourceFile).map(r => r.arguments[0].text) : + const specifiers = sourceFile.imports.length ? sourceFile.imports : + isSourceFileJS(sourceFile) ? getRequiresAtTopOfFile(sourceFile).map(r => r.arguments[0]) : emptyArray; for (const specifier of specifiers) { - if (pathIsRelative(specifier)) { - if (fileExtensionIsOneOf(specifier, extensionsNotSupportingExtensionlessResolution)) { + if (pathIsRelative(specifier.text)) { + if ( + moduleResolutionIsNodeNext && + resolutionMode === ModuleKind.CommonJS && + getModeForUsageLocation(sourceFile, specifier, compilerOptions) === ModuleKind.ESNext + ) { + // We're trying to decide a preference for a CommonJS module specifier, but looking at an ESM import. + continue; + } + if (fileExtensionIsOneOf(specifier.text, extensionsNotSupportingExtensionlessResolution)) { // These extensions are not optional, so do not indicate a preference. continue; } - if (hasTSFileExtension(specifier)) { + if (hasTSFileExtension(specifier.text)) { return ModuleSpecifierEnding.TsExtension; } - if (hasJSFileExtension(specifier)) { + if (hasJSFileExtension(specifier.text)) { usesJsExtensions = true; } } diff --git a/src/services/stringCompletions.ts b/src/services/stringCompletions.ts index 1c0339f7c1488..eb9d9e92bf499 100644 --- a/src/services/stringCompletions.ts +++ b/src/services/stringCompletions.ts @@ -1,3 +1,6 @@ +import { + getModuleSpecifierPreferences, +} from "../compiler/moduleSpecifiers"; import { addToSeen, altDirectorySeparator, @@ -52,7 +55,6 @@ import { getEffectiveTypeRoots, getEmitModuleResolutionKind, getLeadingCommentRanges, - getModuleSpecifierEndingPreference, getOwnKeys, getPackageJsonTypesVersionsPaths, getPathComponents, @@ -744,7 +746,7 @@ function getCompletionEntriesForDirectoryFragment( continue; } - const { name, extension } = getFilenameWithExtensionOption(getBaseFileName(filePath), host.getCompilationSettings(), extensionOptions); + const { name, extension } = getFilenameWithExtensionOption(getBaseFileName(filePath), host.getCompilationSettings(), extensionOptions, /*isExportsWildcard*/ false); result.add(nameAndKind(name, ScriptElementKind.scriptElement, extension)); } } @@ -764,7 +766,7 @@ function getCompletionEntriesForDirectoryFragment( return result; } -function getFilenameWithExtensionOption(name: string, compilerOptions: CompilerOptions, extensionOptions: ExtensionOptions): { name: string; extension: Extension | undefined; } { +function getFilenameWithExtensionOption(name: string, compilerOptions: CompilerOptions, extensionOptions: ExtensionOptions, isExportsWildcard: boolean): { name: string; extension: Extension | undefined; } { const nonJsResult = moduleSpecifiers.tryGetRealFileNameForNonJsDeclarationFileName(name); if (nonJsResult) { return { name: nonJsResult, extension: tryGetExtensionFromPath(nonJsResult) }; @@ -773,8 +775,19 @@ function getFilenameWithExtensionOption(name: string, compilerOptions: CompilerO return { name, extension: tryGetExtensionFromPath(name) }; } - const endingPreference = getModuleSpecifierEndingPreference(extensionOptions.endingPreference, extensionOptions.resolutionMode, compilerOptions, extensionOptions.importingSourceFile); - if (endingPreference === ModuleSpecifierEnding.TsExtension) { + let allowedEndings = getModuleSpecifierPreferences( + { importModuleSpecifierEnding: extensionOptions.endingPreference }, + compilerOptions, + extensionOptions.importingSourceFile, + ).getAllowedEndingsInPreferredOrder(extensionOptions.resolutionMode); + + if (isExportsWildcard) { + // If we're completing `import {} from "foo/|"` and subpaths are available via `"exports": { "./*": "./src/*" }`, + // the completion must be a (potentially extension-swapped) file name. Dropping extensions and index files is not allowed. + allowedEndings = allowedEndings.filter(e => e !== ModuleSpecifierEnding.Minimal && e !== ModuleSpecifierEnding.Index); + } + + if (allowedEndings[0] === ModuleSpecifierEnding.TsExtension) { if (fileExtensionIsOneOf(name, supportedTSImplementationExtensions)) { return { name, extension: tryGetExtensionFromPath(name) }; } @@ -785,7 +798,8 @@ function getFilenameWithExtensionOption(name: string, compilerOptions: CompilerO } if ( - (endingPreference === ModuleSpecifierEnding.Minimal || endingPreference === ModuleSpecifierEnding.Index) && + !isExportsWildcard && + (allowedEndings[0] === ModuleSpecifierEnding.Minimal || allowedEndings[0] === ModuleSpecifierEnding.Index) && fileExtensionIsOneOf(name, [Extension.Js, Extension.Jsx, Extension.Ts, Extension.Tsx, Extension.Dts]) ) { return { name: removeFileExtension(name), extension: tryGetExtensionFromPath(name) }; @@ -814,12 +828,13 @@ function addCompletionEntriesFromPaths( const lengthB = typeof patternB === "object" ? patternB.prefix.length : b.length; return compareValues(lengthB, lengthA); }; - return addCompletionEntriesFromPathsOrExports(result, fragment, baseDirectory, extensionOptions, host, getOwnKeys(paths), getPatternsForKey, comparePaths); + return addCompletionEntriesFromPathsOrExports(result, /*isExports*/ false, fragment, baseDirectory, extensionOptions, host, getOwnKeys(paths), getPatternsForKey, comparePaths); } /** @returns whether `fragment` was a match for any `paths` (which should indicate whether any other path completions should be offered) */ function addCompletionEntriesFromPathsOrExports( result: NameAndKindSet, + isExports: boolean, fragment: string, baseDirectory: string, extensionOptions: ExtensionOptions, @@ -857,7 +872,7 @@ function addCompletionEntriesFromPathsOrExports( if (typeof pathPattern === "string" || matchedPath === undefined || comparePaths(key, matchedPath) !== Comparison.GreaterThan) { pathResults.push({ matchedPattern: isMatch, - results: getCompletionsForPathMapping(keyWithoutLeadingDotSlash, patterns, fragment, baseDirectory, extensionOptions, host) + results: getCompletionsForPathMapping(keyWithoutLeadingDotSlash, patterns, fragment, baseDirectory, extensionOptions, isExports && isMatch, host) .map(({ name, kind, extension }) => nameAndKind(name, kind, extension)), }); } @@ -956,6 +971,7 @@ function getCompletionEntriesForNonRelativeModules( const conditions = getConditions(compilerOptions, mode); addCompletionEntriesFromPathsOrExports( result, + /*isExports*/ true, fragmentSubpath, packageDirectory, extensionOptions, @@ -1001,6 +1017,7 @@ function getCompletionsForPathMapping( fragment: string, packageDirectory: string, extensionOptions: ExtensionOptions, + isExportsWildcard: boolean, host: LanguageServiceHost, ): readonly NameAndKind[] { if (!endsWith(path, "*")) { @@ -1012,9 +1029,9 @@ function getCompletionsForPathMapping( const remainingFragment = tryRemovePrefix(fragment, pathPrefix); if (remainingFragment === undefined) { const starIsFullPathComponent = path[path.length - 2] === "/"; - return starIsFullPathComponent ? justPathMappingName(pathPrefix, ScriptElementKind.directory) : flatMap(patterns, pattern => getModulesForPathsPattern("", packageDirectory, pattern, extensionOptions, host)?.map(({ name, ...rest }) => ({ name: pathPrefix + name, ...rest }))); + return starIsFullPathComponent ? justPathMappingName(pathPrefix, ScriptElementKind.directory) : flatMap(patterns, pattern => getModulesForPathsPattern("", packageDirectory, pattern, extensionOptions, isExportsWildcard, host)?.map(({ name, ...rest }) => ({ name: pathPrefix + name, ...rest }))); } - return flatMap(patterns, pattern => getModulesForPathsPattern(remainingFragment, packageDirectory, pattern, extensionOptions, host)); + return flatMap(patterns, pattern => getModulesForPathsPattern(remainingFragment, packageDirectory, pattern, extensionOptions, isExportsWildcard, host)); function justPathMappingName(name: string, kind: ScriptElementKind.directory | ScriptElementKind.scriptElement): readonly NameAndKind[] { return startsWith(name, fragment) ? [{ name: removeTrailingDirectorySeparator(name), kind, extension: undefined }] : emptyArray; @@ -1026,6 +1043,7 @@ function getModulesForPathsPattern( packageDirectory: string, pattern: string, extensionOptions: ExtensionOptions, + isExportsWildcard: boolean, host: LanguageServiceHost, ): readonly NameAndKind[] | undefined { if (!host.readDirectory) { @@ -1074,7 +1092,7 @@ function getModulesForPathsPattern( if (containsSlash(trimmedWithPattern)) { return directoryResult(getPathComponents(removeLeadingDirectorySeparator(trimmedWithPattern))[1]); } - const { name, extension } = getFilenameWithExtensionOption(trimmedWithPattern, host.getCompilationSettings(), extensionOptions); + const { name, extension } = getFilenameWithExtensionOption(trimmedWithPattern, host.getCompilationSettings(), extensionOptions, isExportsWildcard); return nameAndKind(name, ScriptElementKind.scriptElement, extension); } }); diff --git a/tests/cases/fourslash/pathCompletionsPackageJsonExportsWildcard10.ts b/tests/cases/fourslash/pathCompletionsPackageJsonExportsWildcard10.ts new file mode 100644 index 0000000000000..9c01ae03f58ef --- /dev/null +++ b/tests/cases/fourslash/pathCompletionsPackageJsonExportsWildcard10.ts @@ -0,0 +1,28 @@ +/// + +// @module: preserve +// @moduleResolution: bundler +// @allowImportingTsExtensions: true +// @jsx: react + +// @Filename: /node_modules/repo/package.json +//// { +//// "name": "repo", +//// "exports": { +//// "./*": "./src/*" +//// } +//// } + +// @Filename: /node_modules/repo/src/card.tsx +//// export {}; + +// @Filename: /main.ts +//// import { } from "repo//**/"; + +verify.completions({ + marker: "", + isNewIdentifierLocation: true, + exact: [ + { name: "card.tsx", kind: "script", kindModifiers: ".tsx" }, + ], +}); diff --git a/tests/cases/fourslash/pathCompletionsPackageJsonExportsWildcard11.ts b/tests/cases/fourslash/pathCompletionsPackageJsonExportsWildcard11.ts new file mode 100644 index 0000000000000..39ab070dc69ee --- /dev/null +++ b/tests/cases/fourslash/pathCompletionsPackageJsonExportsWildcard11.ts @@ -0,0 +1,27 @@ +/// + +// @module: preserve +// @moduleResolution: bundler +// @jsx: react + +// @Filename: /node_modules/repo/package.json +//// { +//// "name": "repo", +//// "exports": { +//// "./*": "./src/*" +//// } +//// } + +// @Filename: /node_modules/repo/src/card.tsx +//// export {}; + +// @Filename: /main.ts +//// import { } from "repo//**/"; + +verify.completions({ + marker: "", + isNewIdentifierLocation: true, + exact: [ + { name: "card.js", kind: "script", kindModifiers: ".js" }, + ], +}); From 10a3872de4c8ed8f68633d29066862b292851df9 Mon Sep 17 00:00:00 2001 From: Oleksandr T Date: Thu, 8 Feb 2024 01:17:29 +0200 Subject: [PATCH 28/56] fix(57326): 'resolves to a type-only declaration and must be imported using a type-only import' doesn't have a quick fix (#57327) --- .../codefixes/convertToTypeOnlyImport.ts | 1 + .../codeFixConvertToTypeOnlyImport8.ts | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 tests/cases/fourslash/codeFixConvertToTypeOnlyImport8.ts diff --git a/src/services/codefixes/convertToTypeOnlyImport.ts b/src/services/codefixes/convertToTypeOnlyImport.ts index 43ebf3e7ac6bc..da71d592b35fe 100644 --- a/src/services/codefixes/convertToTypeOnlyImport.ts +++ b/src/services/codefixes/convertToTypeOnlyImport.ts @@ -28,6 +28,7 @@ import { const errorCodes = [ Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code, Diagnostics._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code, + Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code, ]; const fixId = "convertToTypeOnlyImport"; diff --git a/tests/cases/fourslash/codeFixConvertToTypeOnlyImport8.ts b/tests/cases/fourslash/codeFixConvertToTypeOnlyImport8.ts new file mode 100644 index 0000000000000..cbe55a213d251 --- /dev/null +++ b/tests/cases/fourslash/codeFixConvertToTypeOnlyImport8.ts @@ -0,0 +1,22 @@ +/// + +// @verbatimModuleSyntax: true +// @module: esnext +// @moduleResolution: bundler +// @target: esnext + +// @filename: /a.ts +////export function f() {} + +// @Filename: /b.ts +////export type * as b from "./a.js"; + +// @Filename: /c.ts +////import { b } from "./b.js"; + +goTo.file("/c.ts"); +verify.codeFix({ + index: 0, + description: ts.Diagnostics.Use_import_type.message, + newFileContent: `import type { b } from "./b.js";`, +}); From 76cf0928f278a664c87489689a6bdca1fac3e68d Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Thu, 8 Feb 2024 11:12:35 -0800 Subject: [PATCH 29/56] Expand anti-parent-barrel auto-import heuristic to all moduleResolution modes (#57342) --- src/services/codefixes/importFixes.ts | 5 +-- .../importNameCodeFix_barrelExport4.ts | 30 ++++++++++++++++++ .../importNameCodeFix_barrelExport5.ts | 31 +++++++++++++++++++ 3 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 tests/cases/fourslash/importNameCodeFix_barrelExport4.ts create mode 100644 tests/cases/fourslash/importNameCodeFix_barrelExport5.ts diff --git a/src/services/codefixes/importFixes.ts b/src/services/codefixes/importFixes.ts index a634ac334a02f..f6e192dc4b9a0 100644 --- a/src/services/codefixes/importFixes.ts +++ b/src/services/codefixes/importFixes.ts @@ -97,7 +97,6 @@ import { mapDefined, memoizeOne, ModuleKind, - ModuleResolutionKind, moduleResolutionUsesNodeModules, moduleSpecifiers, MultiMap, @@ -1054,13 +1053,11 @@ function compareModuleSpecifiers( // This is a simple heuristic to try to avoid creating an import cycle with a barrel re-export. // E.g., do not `import { Foo } from ".."` when you could `import { Foo } from "../Foo"`. // This can produce false positives or negatives if re-exports cross into sibling directories -// (e.g. `export * from "../whatever"`) or are not named "index" (we don't even try to consider -// this if we're in a resolution mode where you can't drop trailing "/index" from paths). +// (e.g. `export * from "../whatever"`) or are not named "index". function isFixPossiblyReExportingImportingFile(fix: ImportFixWithModuleSpecifier, importingFile: SourceFile, compilerOptions: CompilerOptions, toPath: (fileName: string) => Path): boolean { if ( fix.isReExport && fix.exportInfo?.moduleFileName && - getEmitModuleResolutionKind(compilerOptions) === ModuleResolutionKind.Node10 && isIndexFileName(fix.exportInfo.moduleFileName) ) { const reExportDir = toPath(getDirectoryPath(fix.exportInfo.moduleFileName)); diff --git a/tests/cases/fourslash/importNameCodeFix_barrelExport4.ts b/tests/cases/fourslash/importNameCodeFix_barrelExport4.ts new file mode 100644 index 0000000000000..493a8ae7718a9 --- /dev/null +++ b/tests/cases/fourslash/importNameCodeFix_barrelExport4.ts @@ -0,0 +1,30 @@ +/// + +// @module: preserve +// @moduleResolution: bundler + +// @Filename: /foo/a.ts +//// export const A = 0; + +// @Filename: /foo/b.ts +//// export {}; +//// A/*sibling*/ + +// @Filename: /foo/index.ts +//// export * from "./a"; +//// export * from "./b"; + +// @Filename: /index.ts +//// export * from "./foo"; +//// export * from "./src"; + +// @Filename: /src/a.ts +//// export {}; +//// A/*parent*/ + +// @Filename: /src/index.ts +//// export * from "./a"; + +// Module specifiers made up of only "." and ".." components are deprioritized +verify.importFixModuleSpecifiers("sibling", ["./a", ".", ".."]); +verify.importFixModuleSpecifiers("parent", ["../foo", "../foo/a", ".."]); \ No newline at end of file diff --git a/tests/cases/fourslash/importNameCodeFix_barrelExport5.ts b/tests/cases/fourslash/importNameCodeFix_barrelExport5.ts new file mode 100644 index 0000000000000..465f96c8b9f68 --- /dev/null +++ b/tests/cases/fourslash/importNameCodeFix_barrelExport5.ts @@ -0,0 +1,31 @@ +/// + +// @module: nodenext + +// @Filename: /package.json +//// { "type": "module" } + +// @Filename: /foo/a.ts +//// export const A = 0; + +// @Filename: /foo/b.ts +//// export {}; +//// A/*sibling*/ + +// @Filename: /foo/index.ts +//// export * from "./a.js"; +//// export * from "./b.js"; + +// @Filename: /index.ts +//// export * from "./foo/index.js"; +//// export * from "./src/index.js"; + +// @Filename: /src/a.ts +//// export {}; +//// A/*parent*/ + +// @Filename: /src/index.ts +//// export * from "./a.js"; + +verify.importFixModuleSpecifiers("sibling", ["./a.js", "./index.js", "../index.js"]); +verify.importFixModuleSpecifiers("parent", ["../foo/a.js", "../foo/index.js", "../index.js"]); \ No newline at end of file From c5db0ac0ef57d75ef277a4af6b473e5637d95ca0 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Fri, 9 Feb 2024 06:14:38 +0000 Subject: [PATCH 30/56] Update package-lock.json --- package-lock.json | 119 ++++++++++------------------------------------ 1 file changed, 25 insertions(+), 94 deletions(-) diff --git a/package-lock.json b/package-lock.json index e736720249d04..edb3f62006a15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1029,9 +1029,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.11.16", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.16.tgz", - "integrity": "sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ==", + "version": "20.11.17", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.17.tgz", + "integrity": "sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -3049,9 +3049,9 @@ } }, "node_modules/mocha": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", - "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.3.0.tgz", + "integrity": "sha512-uF2XJs+7xSLsrmIvn37i/wnc91nw7XjOQB8ccyx5aEgdnohr7n+rEiZP23WkCYHjilR6+EboEnbq/ZQDz4LSbg==", "dev": true, "dependencies": { "ansi-colors": "4.1.1", @@ -3061,13 +3061,12 @@ "diff": "5.0.0", "escape-string-regexp": "4.0.0", "find-up": "5.0.0", - "glob": "7.2.0", + "glob": "8.1.0", "he": "1.2.0", "js-yaml": "4.1.0", "log-symbols": "4.1.0", "minimatch": "5.0.1", "ms": "2.1.3", - "nanoid": "3.3.3", "serialize-javascript": "6.0.0", "strip-json-comments": "3.1.1", "supports-color": "8.1.1", @@ -3082,10 +3081,6 @@ }, "engines": { "node": ">= 14.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mochajs" } }, "node_modules/mocha-fivemat-progress-reporter": { @@ -3148,47 +3143,24 @@ "dev": true }, "node_modules/mocha/node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^5.0.1", + "once": "^1.3.0" }, "engines": { - "node": "*" + "node": ">=12" }, "funding": { "url": "/~https://github.com/sponsors/isaacs" } }, - "node_modules/mocha/node_modules/glob/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/mocha/node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/mocha/node_modules/minimatch": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", @@ -3280,18 +3252,6 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, - "node_modules/nanoid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", - "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", - "dev": true, - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -5125,9 +5085,9 @@ "dev": true }, "@types/node": { - "version": "20.11.16", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.16.tgz", - "integrity": "sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ==", + "version": "20.11.17", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.17.tgz", + "integrity": "sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==", "dev": true, "requires": { "undici-types": "~5.26.4" @@ -6573,9 +6533,9 @@ "dev": true }, "mocha": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", - "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.3.0.tgz", + "integrity": "sha512-uF2XJs+7xSLsrmIvn37i/wnc91nw7XjOQB8ccyx5aEgdnohr7n+rEiZP23WkCYHjilR6+EboEnbq/ZQDz4LSbg==", "dev": true, "requires": { "ansi-colors": "4.1.1", @@ -6585,13 +6545,12 @@ "diff": "5.0.0", "escape-string-regexp": "4.0.0", "find-up": "5.0.0", - "glob": "7.2.0", + "glob": "8.1.0", "he": "1.2.0", "js-yaml": "4.1.0", "log-symbols": "4.1.0", "minimatch": "5.0.1", "ms": "2.1.3", - "nanoid": "3.3.3", "serialize-javascript": "6.0.0", "strip-json-comments": "3.1.1", "supports-color": "8.1.1", @@ -6641,38 +6600,16 @@ "dev": true }, "glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - } + "minimatch": "^5.0.1", + "once": "^1.3.0" } }, "minimatch": { @@ -6750,12 +6687,6 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, - "nanoid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", - "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", - "dev": true - }, "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", From e2bf8b437d063392264ef20c55076cf0922ea2b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Fri, 9 Feb 2024 21:25:02 +0100 Subject: [PATCH 31/56] Fixed distributive conditional types with never intersections (#57345) --- src/compiler/checker.ts | 4 +-- ...eConditionalTypeNeverIntersection1.symbols | 30 +++++++++++++++++++ ...iveConditionalTypeNeverIntersection1.types | 26 ++++++++++++++++ ...butiveConditionalTypeNeverIntersection1.ts | 12 ++++++++ 4 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 tests/baselines/reference/distributiveConditionalTypeNeverIntersection1.symbols create mode 100644 tests/baselines/reference/distributiveConditionalTypeNeverIntersection1.types create mode 100644 tests/cases/compiler/distributiveConditionalTypeNeverIntersection1.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 91a5c09454b09..072ed10aa712e 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -19877,12 +19877,12 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (!result) { const newMapper = createTypeMapper(root.outerTypeParameters, typeArguments); const checkType = root.checkType; - const distributionType = root.isDistributive ? getMappedType(checkType, newMapper) : undefined; + const distributionType = root.isDistributive ? getReducedType(getMappedType(checkType, newMapper)) : undefined; // Distributive conditional types are distributed over union types. For example, when the // distributive conditional type T extends U ? X : Y is instantiated with A | B for T, the // result is (A extends U ? X : Y) | (B extends U ? X : Y). result = distributionType && checkType !== distributionType && distributionType.flags & (TypeFlags.Union | TypeFlags.Never) ? - mapTypeWithAlias(getReducedType(distributionType), t => getConditionalType(root, prependTypeMapping(checkType, t, newMapper), forConstraint), aliasSymbol, aliasTypeArguments) : + mapTypeWithAlias(distributionType, t => getConditionalType(root, prependTypeMapping(checkType, t, newMapper), forConstraint), aliasSymbol, aliasTypeArguments) : getConditionalType(root, newMapper, forConstraint, aliasSymbol, aliasTypeArguments); root.instantiations!.set(id, result); } diff --git a/tests/baselines/reference/distributiveConditionalTypeNeverIntersection1.symbols b/tests/baselines/reference/distributiveConditionalTypeNeverIntersection1.symbols new file mode 100644 index 0000000000000..ce659795b52ff --- /dev/null +++ b/tests/baselines/reference/distributiveConditionalTypeNeverIntersection1.symbols @@ -0,0 +1,30 @@ +//// [tests/cases/compiler/distributiveConditionalTypeNeverIntersection1.ts] //// + +=== distributiveConditionalTypeNeverIntersection1.ts === +// /~https://github.com/microsoft/TypeScript/issues/57343 + +type IsNumber = T extends number ? true : false; +>IsNumber : Symbol(IsNumber, Decl(distributiveConditionalTypeNeverIntersection1.ts, 0, 0)) +>T : Symbol(T, Decl(distributiveConditionalTypeNeverIntersection1.ts, 2, 14)) +>T : Symbol(T, Decl(distributiveConditionalTypeNeverIntersection1.ts, 2, 14)) + +type Conflicted = { x: true } & { x: false }; +>Conflicted : Symbol(Conflicted, Decl(distributiveConditionalTypeNeverIntersection1.ts, 2, 51)) +>x : Symbol(x, Decl(distributiveConditionalTypeNeverIntersection1.ts, 4, 19)) +>x : Symbol(x, Decl(distributiveConditionalTypeNeverIntersection1.ts, 4, 33)) + +type Ex1 = IsNumber; // never +>Ex1 : Symbol(Ex1, Decl(distributiveConditionalTypeNeverIntersection1.ts, 4, 45)) +>IsNumber : Symbol(IsNumber, Decl(distributiveConditionalTypeNeverIntersection1.ts, 0, 0)) +>Conflicted : Symbol(Conflicted, Decl(distributiveConditionalTypeNeverIntersection1.ts, 2, 51)) + +type Ex2 = IsNumber<"OEEE" | Conflicted>; // false +>Ex2 : Symbol(Ex2, Decl(distributiveConditionalTypeNeverIntersection1.ts, 6, 32)) +>IsNumber : Symbol(IsNumber, Decl(distributiveConditionalTypeNeverIntersection1.ts, 0, 0)) +>Conflicted : Symbol(Conflicted, Decl(distributiveConditionalTypeNeverIntersection1.ts, 2, 51)) + +type Ex3 = IsNumber<1 | Conflicted>; // true +>Ex3 : Symbol(Ex3, Decl(distributiveConditionalTypeNeverIntersection1.ts, 7, 41)) +>IsNumber : Symbol(IsNumber, Decl(distributiveConditionalTypeNeverIntersection1.ts, 0, 0)) +>Conflicted : Symbol(Conflicted, Decl(distributiveConditionalTypeNeverIntersection1.ts, 2, 51)) + diff --git a/tests/baselines/reference/distributiveConditionalTypeNeverIntersection1.types b/tests/baselines/reference/distributiveConditionalTypeNeverIntersection1.types new file mode 100644 index 0000000000000..92ae159677231 --- /dev/null +++ b/tests/baselines/reference/distributiveConditionalTypeNeverIntersection1.types @@ -0,0 +1,26 @@ +//// [tests/cases/compiler/distributiveConditionalTypeNeverIntersection1.ts] //// + +=== distributiveConditionalTypeNeverIntersection1.ts === +// /~https://github.com/microsoft/TypeScript/issues/57343 + +type IsNumber = T extends number ? true : false; +>IsNumber : IsNumber +>true : true +>false : false + +type Conflicted = { x: true } & { x: false }; +>Conflicted : never +>x : true +>true : true +>x : false +>false : false + +type Ex1 = IsNumber; // never +>Ex1 : never + +type Ex2 = IsNumber<"OEEE" | Conflicted>; // false +>Ex2 : false + +type Ex3 = IsNumber<1 | Conflicted>; // true +>Ex3 : true + diff --git a/tests/cases/compiler/distributiveConditionalTypeNeverIntersection1.ts b/tests/cases/compiler/distributiveConditionalTypeNeverIntersection1.ts new file mode 100644 index 0000000000000..3d8141e35f3a7 --- /dev/null +++ b/tests/cases/compiler/distributiveConditionalTypeNeverIntersection1.ts @@ -0,0 +1,12 @@ +// @strict: true +// @noEmit: true + +// /~https://github.com/microsoft/TypeScript/issues/57343 + +type IsNumber = T extends number ? true : false; + +type Conflicted = { x: true } & { x: false }; + +type Ex1 = IsNumber; // never +type Ex2 = IsNumber<"OEEE" | Conflicted>; // false +type Ex3 = IsNumber<1 | Conflicted>; // true From 25a708cf633c6c8a66c86ca9e664c31bd8d145d0 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Sat, 10 Feb 2024 06:14:10 +0000 Subject: [PATCH 32/56] Update package-lock.json --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index edb3f62006a15..783d208c279fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -908,9 +908,9 @@ } }, "node_modules/@octokit/request": { - "version": "8.1.6", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.1.6.tgz", - "integrity": "sha512-YhPaGml3ncZC1NfXpP3WZ7iliL1ap6tLkAp6MvbK2fTTPytzVUyUesBBogcdMm86uRYO5rHaM1xIWxigWZ17MQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.2.0.tgz", + "integrity": "sha512-exPif6x5uwLqv1N1irkLG1zZNJkOtj8bZxuVHd71U5Ftuxf2wGNvAJyNBcPbPC+EBzwYEbBDdSFb8EPcjpYxPQ==", "dev": true, "dependencies": { "@octokit/endpoint": "^9.0.0", @@ -4976,9 +4976,9 @@ } }, "@octokit/request": { - "version": "8.1.6", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.1.6.tgz", - "integrity": "sha512-YhPaGml3ncZC1NfXpP3WZ7iliL1ap6tLkAp6MvbK2fTTPytzVUyUesBBogcdMm86uRYO5rHaM1xIWxigWZ17MQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.2.0.tgz", + "integrity": "sha512-exPif6x5uwLqv1N1irkLG1zZNJkOtj8bZxuVHd71U5Ftuxf2wGNvAJyNBcPbPC+EBzwYEbBDdSFb8EPcjpYxPQ==", "dev": true, "requires": { "@octokit/endpoint": "^9.0.0", From 0d94c344fa184eec3577bf27db951d36ce94ea6a Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Sun, 11 Feb 2024 06:14:42 +0000 Subject: [PATCH 33/56] Update package-lock.json --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 783d208c279fc..26840d287b6bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2609,9 +2609,9 @@ } }, "node_modules/hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", + "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", "dev": true, "dependencies": { "function-bind": "^1.1.2" @@ -6213,9 +6213,9 @@ "dev": true }, "hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", + "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", "dev": true, "requires": { "function-bind": "^1.1.2" From ae27e55b027c66bf5b80f596da866f8485ac491d Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Mon, 12 Feb 2024 06:14:48 +0000 Subject: [PATCH 34/56] Update package-lock.json --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26840d287b6bc..161f99bce31ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1038,9 +1038,9 @@ } }, "node_modules/@types/semver": { - "version": "7.5.6", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", - "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", + "version": "7.5.7", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.7.tgz", + "integrity": "sha512-/wdoPq1QqkSj9/QOeKkFquEuPzQbHTWAMPH/PaUMB+JuR31lXhlWXRZ52IpfDYVlDOUBvX09uBrPwxGT1hjNBg==", "dev": true }, "node_modules/@types/source-map-support": { @@ -5094,9 +5094,9 @@ } }, "@types/semver": { - "version": "7.5.6", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", - "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", + "version": "7.5.7", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.7.tgz", + "integrity": "sha512-/wdoPq1QqkSj9/QOeKkFquEuPzQbHTWAMPH/PaUMB+JuR31lXhlWXRZ52IpfDYVlDOUBvX09uBrPwxGT1hjNBg==", "dev": true }, "@types/source-map-support": { From d65bdb8c34524f84c9ac55860046df749b5e6485 Mon Sep 17 00:00:00 2001 From: PhoebeSzmucer <129869709+PhoebeSzmucer@users.noreply.github.com> Date: Mon, 12 Feb 2024 17:00:27 -0500 Subject: [PATCH 35/56] Fix duplicated import suggestions (#57369) Co-authored-by: Phoebe Szmucer --- src/services/stringCompletions.ts | 5 ++++- ...ompletionForStringLiteralRelativeImport5.ts | 18 ++++++++++++++---- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/services/stringCompletions.ts b/src/services/stringCompletions.ts index eb9d9e92bf499..5cb669be5368c 100644 --- a/src/services/stringCompletions.ts +++ b/src/services/stringCompletions.ts @@ -670,7 +670,10 @@ function getCompletionEntriesForDirectoryFragmentWithRootDirs(rootDirs: string[] const basePath = compilerOptions.project || host.getCurrentDirectory(); const ignoreCase = !(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames()); const baseDirectories = getBaseDirectoriesFromRootDirs(rootDirs, basePath, scriptDirectory, ignoreCase); - return flatMap(baseDirectories, baseDirectory => arrayFrom(getCompletionEntriesForDirectoryFragment(fragment, baseDirectory, extensionOptions, host, /*moduleSpecifierIsRelative*/ true, exclude).values())); + return deduplicate( + flatMap(baseDirectories, baseDirectory => arrayFrom(getCompletionEntriesForDirectoryFragment(fragment, baseDirectory, extensionOptions, host, /*moduleSpecifierIsRelative*/ true, exclude).values())), + (itemA, itemB) => itemA.name === itemB.name && itemA.kind === itemB.kind && itemA.extension === itemB.extension, + ); } const enum ReferenceKind { diff --git a/tests/cases/fourslash/completionForStringLiteralRelativeImport5.ts b/tests/cases/fourslash/completionForStringLiteralRelativeImport5.ts index c6dde282ea22f..55913364c8109 100644 --- a/tests/cases/fourslash/completionForStringLiteralRelativeImport5.ts +++ b/tests/cases/fourslash/completionForStringLiteralRelativeImport5.ts @@ -13,9 +13,14 @@ //// var foo3 = require(".//*require1*/ // @Filename: /repo/src2/dir/test2.ts -//// import * as foo1 from ".//*import_as2*/ -//// import foo2 = require(".//*import_equals2*/ -//// var foo3 = require(".//*require2*/ +//// import * as foo1 from "..//*import_as2*/ +//// import foo2 = require("..//*import_equals2*/ +//// var foo3 = require("..//*require2*/ + +// @Filename: /repo/src2/index.ts +//// import * as foo1 from ".//*import_as3*/ +//// import foo2 = require(".//*import_equals3*/ +//// var foo3 = require(".//*require3*/ // @Filename: /repo/generated1/dir/f1.ts //// /*f1*/ @@ -31,7 +36,12 @@ verify.completions( }, { marker: ["import_as2", "import_equals2", "require2"], - unsorted: ["f1", "f2", "test1"], + unsorted: ["dir", "index"], + isNewIdentifierLocation: true, + }, + { + marker: ["import_as3", "import_equals3", "require3"], + unsorted: ["dir"], isNewIdentifierLocation: true, } ); From 0b4966ab2a72af1f140688bfe5ca056ebf34b1a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Tue, 13 Feb 2024 00:07:05 +0100 Subject: [PATCH 36/56] Fixed type parameter leak in union calls with mixed type parameter presence (#57371) --- src/compiler/checker.ts | 3 ++ ...nionCallMixedTypeParameterPresence.symbols | 45 +++++++++++++++++++ .../unionCallMixedTypeParameterPresence.types | 30 +++++++++++++ .../unionCallMixedTypeParameterPresence.ts | 13 ++++++ 4 files changed, 91 insertions(+) create mode 100644 tests/baselines/reference/unionCallMixedTypeParameterPresence.symbols create mode 100644 tests/baselines/reference/unionCallMixedTypeParameterPresence.types create mode 100644 tests/cases/compiler/unionCallMixedTypeParameterPresence.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 072ed10aa712e..587fa0dc0181b 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -13541,6 +13541,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (paramMapper) { result.mapper = left.compositeKind !== TypeFlags.Intersection && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper; } + else if (left.compositeKind !== TypeFlags.Intersection && left.mapper && left.compositeSignatures) { + result.mapper = left.mapper; + } return result; } diff --git a/tests/baselines/reference/unionCallMixedTypeParameterPresence.symbols b/tests/baselines/reference/unionCallMixedTypeParameterPresence.symbols new file mode 100644 index 0000000000000..22f49ee96d578 --- /dev/null +++ b/tests/baselines/reference/unionCallMixedTypeParameterPresence.symbols @@ -0,0 +1,45 @@ +//// [tests/cases/compiler/unionCallMixedTypeParameterPresence.ts] //// + +=== unionCallMixedTypeParameterPresence.ts === +// /~https://github.com/microsoft/TypeScript/issues/57356 + +interface Err { +>Err : Symbol(Err, Decl(unionCallMixedTypeParameterPresence.ts, 0, 0)) +>T : Symbol(T, Decl(unionCallMixedTypeParameterPresence.ts, 2, 14)) + + f(a: (err: T) => U): Err; +>f : Symbol(Err.f, Decl(unionCallMixedTypeParameterPresence.ts, 2, 18)) +>U : Symbol(U, Decl(unionCallMixedTypeParameterPresence.ts, 3, 4)) +>a : Symbol(a, Decl(unionCallMixedTypeParameterPresence.ts, 3, 7)) +>err : Symbol(err, Decl(unionCallMixedTypeParameterPresence.ts, 3, 11)) +>T : Symbol(T, Decl(unionCallMixedTypeParameterPresence.ts, 2, 14)) +>U : Symbol(U, Decl(unionCallMixedTypeParameterPresence.ts, 3, 4)) +>Err : Symbol(Err, Decl(unionCallMixedTypeParameterPresence.ts, 0, 0)) +>U : Symbol(U, Decl(unionCallMixedTypeParameterPresence.ts, 3, 4)) +} +interface Ok { +>Ok : Symbol(Ok, Decl(unionCallMixedTypeParameterPresence.ts, 4, 1)) +>T : Symbol(T, Decl(unionCallMixedTypeParameterPresence.ts, 5, 13)) + + f(a: (err: T) => unknown): Err; +>f : Symbol(Ok.f, Decl(unionCallMixedTypeParameterPresence.ts, 5, 17)) +>a : Symbol(a, Decl(unionCallMixedTypeParameterPresence.ts, 6, 4)) +>err : Symbol(err, Decl(unionCallMixedTypeParameterPresence.ts, 6, 8)) +>T : Symbol(T, Decl(unionCallMixedTypeParameterPresence.ts, 5, 13)) +>Err : Symbol(Err, Decl(unionCallMixedTypeParameterPresence.ts, 0, 0)) +>T : Symbol(T, Decl(unionCallMixedTypeParameterPresence.ts, 5, 13)) +} +declare const e: Err<0> | Err<1> | Ok<2>; +>e : Symbol(e, Decl(unionCallMixedTypeParameterPresence.ts, 8, 13)) +>Err : Symbol(Err, Decl(unionCallMixedTypeParameterPresence.ts, 0, 0)) +>Err : Symbol(Err, Decl(unionCallMixedTypeParameterPresence.ts, 0, 0)) +>Ok : Symbol(Ok, Decl(unionCallMixedTypeParameterPresence.ts, 4, 1)) + +const e2 = e.f((e) => e); +>e2 : Symbol(e2, Decl(unionCallMixedTypeParameterPresence.ts, 9, 5)) +>e.f : Symbol(f, Decl(unionCallMixedTypeParameterPresence.ts, 2, 18), Decl(unionCallMixedTypeParameterPresence.ts, 2, 18), Decl(unionCallMixedTypeParameterPresence.ts, 5, 17)) +>e : Symbol(e, Decl(unionCallMixedTypeParameterPresence.ts, 8, 13)) +>f : Symbol(f, Decl(unionCallMixedTypeParameterPresence.ts, 2, 18), Decl(unionCallMixedTypeParameterPresence.ts, 2, 18), Decl(unionCallMixedTypeParameterPresence.ts, 5, 17)) +>e : Symbol(e, Decl(unionCallMixedTypeParameterPresence.ts, 9, 16)) +>e : Symbol(e, Decl(unionCallMixedTypeParameterPresence.ts, 9, 16)) + diff --git a/tests/baselines/reference/unionCallMixedTypeParameterPresence.types b/tests/baselines/reference/unionCallMixedTypeParameterPresence.types new file mode 100644 index 0000000000000..fd22c8d9b1aa4 --- /dev/null +++ b/tests/baselines/reference/unionCallMixedTypeParameterPresence.types @@ -0,0 +1,30 @@ +//// [tests/cases/compiler/unionCallMixedTypeParameterPresence.ts] //// + +=== unionCallMixedTypeParameterPresence.ts === +// /~https://github.com/microsoft/TypeScript/issues/57356 + +interface Err { + f(a: (err: T) => U): Err; +>f : (a: (err: T) => U) => Err +>a : (err: T) => U +>err : T +} +interface Ok { + f(a: (err: T) => unknown): Err; +>f : (a: (err: T) => unknown) => Err +>a : (err: T) => unknown +>err : T +} +declare const e: Err<0> | Err<1> | Ok<2>; +>e : Err<0> | Err<1> | Ok<2> + +const e2 = e.f((e) => e); +>e2 : Err<2> | Err<0 | 1 | 2> +>e.f((e) => e) : Err<2> | Err<0 | 1 | 2> +>e.f : ((a: (err: 0) => U) => Err) | ((a: (err: 1) => U_1) => Err) | ((a: (err: 2) => unknown) => Err<2>) +>e : Err<0> | Err<1> | Ok<2> +>f : ((a: (err: 0) => U) => Err) | ((a: (err: 1) => U_1) => Err) | ((a: (err: 2) => unknown) => Err<2>) +>(e) => e : (e: 0 | 1 | 2) => 0 | 1 | 2 +>e : 0 | 1 | 2 +>e : 0 | 1 | 2 + diff --git a/tests/cases/compiler/unionCallMixedTypeParameterPresence.ts b/tests/cases/compiler/unionCallMixedTypeParameterPresence.ts new file mode 100644 index 0000000000000..c1699d010de00 --- /dev/null +++ b/tests/cases/compiler/unionCallMixedTypeParameterPresence.ts @@ -0,0 +1,13 @@ +// @strict: true +// @noEmit: true + +// /~https://github.com/microsoft/TypeScript/issues/57356 + +interface Err { + f(a: (err: T) => U): Err; +} +interface Ok { + f(a: (err: T) => unknown): Err; +} +declare const e: Err<0> | Err<1> | Ok<2>; +const e2 = e.f((e) => e); From 2a0edf7949ad8427e3ef233a4c549ecbe32953e1 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Tue, 13 Feb 2024 06:16:01 +0000 Subject: [PATCH 37/56] Update package-lock.json --- package-lock.json | 68 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 46 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index 161f99bce31ed..b6a748174d23d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1836,18 +1836,21 @@ "dev": true }, "node_modules/define-data-property": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.2.tgz", - "integrity": "sha512-SRtsSqsDbgpJBbW3pABMCOt6rQyeM8s8RiyeSN8jYG8sYmt/kGJejbydttUsnDs1tadr19tvhT4ShwMyoqAm4g==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.3.tgz", + "integrity": "sha512-h3GBouC+RPtNX2N0hHVLo2ZwPYurq8mLmXpOLTsw71gr7lHt5VaI4vVkDUNOfiWmm48JEXe3VM7PmLX45AMmmg==", "dev": true, "dependencies": { "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.2", + "get-intrinsic": "^1.2.4", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.1" }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "/~https://github.com/sponsors/ljharb" } }, "node_modules/deprecation": { @@ -1857,9 +1860,9 @@ "dev": true }, "node_modules/diff": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", - "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", + "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", "dev": true, "engines": { "node": ">=0.3.1" @@ -1920,6 +1923,18 @@ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/es-errors": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", @@ -2573,12 +2588,12 @@ } }, "node_modules/has-property-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", - "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dev": true, "dependencies": { - "get-intrinsic": "^1.2.2" + "es-define-property": "^1.0.0" }, "funding": { "url": "/~https://github.com/sponsors/ljharb" @@ -5663,13 +5678,13 @@ "dev": true }, "define-data-property": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.2.tgz", - "integrity": "sha512-SRtsSqsDbgpJBbW3pABMCOt6rQyeM8s8RiyeSN8jYG8sYmt/kGJejbydttUsnDs1tadr19tvhT4ShwMyoqAm4g==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.3.tgz", + "integrity": "sha512-h3GBouC+RPtNX2N0hHVLo2ZwPYurq8mLmXpOLTsw71gr7lHt5VaI4vVkDUNOfiWmm48JEXe3VM7PmLX45AMmmg==", "dev": true, "requires": { "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.2", + "get-intrinsic": "^1.2.4", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.1" } @@ -5681,9 +5696,9 @@ "dev": true }, "diff": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", - "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", + "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", "dev": true }, "dir-glob": { @@ -5731,6 +5746,15 @@ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true }, + "es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.4" + } + }, "es-errors": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", @@ -6192,12 +6216,12 @@ "dev": true }, "has-property-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", - "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dev": true, "requires": { - "get-intrinsic": "^1.2.2" + "es-define-property": "^1.0.0" } }, "has-proto": { From 23960ac88c7598fc9a609a20f71770284aa3a4d9 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Tue, 13 Feb 2024 10:29:44 -0800 Subject: [PATCH 38/56] Fix scripts/errorCheck.mjs (#57399) --- scripts/errorCheck.mjs | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/scripts/errorCheck.mjs b/scripts/errorCheck.mjs index f3a2cdc59e452..164f056fef0e6 100644 --- a/scripts/errorCheck.mjs +++ b/scripts/errorCheck.mjs @@ -19,18 +19,16 @@ async function checkErrorBaselines() { const files = (await fsPromises.readdir(baseDir)).filter(f => f.endsWith(".errors.txt")); - files.forEach(f => { - fs.readFile(baseDir + f, "utf-8", (err, baseline) => { - if (err) throw err; + for (const f of files) { + const baseline = fs.readFileSync(baseDir + f, "utf-8"); - let g; - while (g = errRegex.exec(baseline)) { - const errCode = +g[1]; - const msg = keys.filter(k => messages[k].code === errCode)[0]; - messages[msg].seen = true; - } - }); - }); + let g; + while (g = errRegex.exec(baseline)) { + const errCode = +g[1]; + const msg = keys.filter(k => messages[k].code === errCode)[0]; + messages[msg].seen = true; + } + } console.log("== List of errors not present in baselines =="); let count = 0; From a6414052a3eb66e30670f20c6597ee4b74067c73 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Tue, 13 Feb 2024 11:33:30 -0800 Subject: [PATCH 39/56] Allow (non-assert) type predicates to narrow by discriminant (#57358) --- src/compiler/checker.ts | 98 ++++++++++--------- .../typePredicatesCanNarrowByDiscriminant.js | 30 ++++++ ...ePredicatesCanNarrowByDiscriminant.symbols | 63 ++++++++++++ ...ypePredicatesCanNarrowByDiscriminant.types | 64 ++++++++++++ .../typePredicatesCanNarrowByDiscriminant.ts | 17 ++++ 5 files changed, 225 insertions(+), 47 deletions(-) create mode 100644 tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.js create mode 100644 tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.symbols create mode 100644 tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.types create mode 100644 tests/cases/compiler/typePredicatesCanNarrowByDiscriminant.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 587fa0dc0181b..0d12a7f74fdb4 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -26743,7 +26743,11 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { function hasMatchingArgument(expression: CallExpression | NewExpression, reference: Node) { if (expression.arguments) { for (const argument of expression.arguments) { - if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference)) { + if ( + isOrContainsMatchingReference(reference, argument) + || optionalChainContainsReference(argument, reference) + || getCandidateDiscriminantPropertyAccess(argument, reference) + ) { return true; } } @@ -26757,6 +26761,51 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return false; } + function getCandidateDiscriminantPropertyAccess(expr: Expression, reference: Node) { + if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) { + // When the reference is a binding pattern or function or arrow expression, we are narrowing a pesudo-reference in + // getNarrowedTypeOfSymbol. An identifier for a destructuring variable declared in the same binding pattern or + // parameter declared in the same parameter list is a candidate. + if (isIdentifier(expr)) { + const symbol = getResolvedSymbol(expr); + const declaration = symbol.valueDeclaration; + if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) { + return declaration; + } + } + } + else if (isAccessExpression(expr)) { + // An access expression is a candidate if the reference matches the left hand expression. + if (isMatchingReference(reference, expr.expression)) { + return expr; + } + } + else if (isIdentifier(expr)) { + const symbol = getResolvedSymbol(expr); + if (isConstantVariable(symbol)) { + const declaration = symbol.valueDeclaration!; + // Given 'const x = obj.kind', allow 'x' as an alias for 'obj.kind' + if ( + isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && + isMatchingReference(reference, declaration.initializer.expression) + ) { + return declaration.initializer; + } + // Given 'const { kind: x } = obj', allow 'x' as an alias for 'obj.kind' + if (isBindingElement(declaration) && !declaration.initializer) { + const parent = declaration.parent.parent; + if ( + isVariableDeclaration(parent) && !parent.type && parent.initializer && (isIdentifier(parent.initializer) || isAccessExpression(parent.initializer)) && + isMatchingReference(reference, parent.initializer) + ) { + return declaration; + } + } + } + } + return undefined; + } + function getFlowNodeId(flow: FlowNode): number { if (!flow.id || flow.id < 0) { flow.id = nextFlowId; @@ -28113,57 +28162,12 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return result; } - function getCandidateDiscriminantPropertyAccess(expr: Expression) { - if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) { - // When the reference is a binding pattern or function or arrow expression, we are narrowing a pesudo-reference in - // getNarrowedTypeOfSymbol. An identifier for a destructuring variable declared in the same binding pattern or - // parameter declared in the same parameter list is a candidate. - if (isIdentifier(expr)) { - const symbol = getResolvedSymbol(expr); - const declaration = symbol.valueDeclaration; - if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) { - return declaration; - } - } - } - else if (isAccessExpression(expr)) { - // An access expression is a candidate if the reference matches the left hand expression. - if (isMatchingReference(reference, expr.expression)) { - return expr; - } - } - else if (isIdentifier(expr)) { - const symbol = getResolvedSymbol(expr); - if (isConstantVariable(symbol)) { - const declaration = symbol.valueDeclaration!; - // Given 'const x = obj.kind', allow 'x' as an alias for 'obj.kind' - if ( - isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && - isMatchingReference(reference, declaration.initializer.expression) - ) { - return declaration.initializer; - } - // Given 'const { kind: x } = obj', allow 'x' as an alias for 'obj.kind' - if (isBindingElement(declaration) && !declaration.initializer) { - const parent = declaration.parent.parent; - if ( - isVariableDeclaration(parent) && !parent.type && parent.initializer && (isIdentifier(parent.initializer) || isAccessExpression(parent.initializer)) && - isMatchingReference(reference, parent.initializer) - ) { - return declaration; - } - } - } - } - return undefined; - } - function getDiscriminantPropertyAccess(expr: Expression, computedType: Type) { // As long as the computed type is a subset of the declared type, we use the full declared type to detect // a discriminant property. In cases where the computed type isn't a subset, e.g because of a preceding type // predicate narrowing, we use the actual computed type. if (declaredType.flags & TypeFlags.Union || computedType.flags & TypeFlags.Union) { - const access = getCandidateDiscriminantPropertyAccess(expr); + const access = getCandidateDiscriminantPropertyAccess(expr, reference); if (access) { const name = getAccessedPropertyName(access); if (name) { diff --git a/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.js b/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.js new file mode 100644 index 0000000000000..f1aa36ed6924e --- /dev/null +++ b/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.js @@ -0,0 +1,30 @@ +//// [tests/cases/compiler/typePredicatesCanNarrowByDiscriminant.ts] //// + +//// [typePredicatesCanNarrowByDiscriminant.ts] +// #45770 +declare const fruit: { kind: 'apple'} | { kind: 'banana' } | { kind: 'cherry' } + +declare function isOneOf(item: T, array: readonly U[]): item is U +if (isOneOf(fruit.kind, ['apple', 'banana'] as const)) { + fruit.kind + fruit +} + +declare const fruit2: { kind: 'apple'} | { kind: 'banana' } | { kind: 'cherry' } +const kind = fruit2.kind; +if (isOneOf(kind, ['apple', 'banana'] as const)) { + fruit2.kind + fruit2 +} + +//// [typePredicatesCanNarrowByDiscriminant.js] +"use strict"; +if (isOneOf(fruit.kind, ['apple', 'banana'])) { + fruit.kind; + fruit; +} +var kind = fruit2.kind; +if (isOneOf(kind, ['apple', 'banana'])) { + fruit2.kind; + fruit2; +} diff --git a/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.symbols b/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.symbols new file mode 100644 index 0000000000000..e1bacc007b26a --- /dev/null +++ b/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.symbols @@ -0,0 +1,63 @@ +//// [tests/cases/compiler/typePredicatesCanNarrowByDiscriminant.ts] //// + +=== typePredicatesCanNarrowByDiscriminant.ts === +// #45770 +declare const fruit: { kind: 'apple'} | { kind: 'banana' } | { kind: 'cherry' } +>fruit : Symbol(fruit, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 13)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 22)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 41)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 62)) + +declare function isOneOf(item: T, array: readonly U[]): item is U +>isOneOf : Symbol(isOneOf, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 79)) +>T : Symbol(T, Decl(typePredicatesCanNarrowByDiscriminant.ts, 3, 25)) +>U : Symbol(U, Decl(typePredicatesCanNarrowByDiscriminant.ts, 3, 27)) +>T : Symbol(T, Decl(typePredicatesCanNarrowByDiscriminant.ts, 3, 25)) +>item : Symbol(item, Decl(typePredicatesCanNarrowByDiscriminant.ts, 3, 41)) +>T : Symbol(T, Decl(typePredicatesCanNarrowByDiscriminant.ts, 3, 25)) +>array : Symbol(array, Decl(typePredicatesCanNarrowByDiscriminant.ts, 3, 49)) +>U : Symbol(U, Decl(typePredicatesCanNarrowByDiscriminant.ts, 3, 27)) +>item : Symbol(item, Decl(typePredicatesCanNarrowByDiscriminant.ts, 3, 41)) +>U : Symbol(U, Decl(typePredicatesCanNarrowByDiscriminant.ts, 3, 27)) + +if (isOneOf(fruit.kind, ['apple', 'banana'] as const)) { +>isOneOf : Symbol(isOneOf, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 79)) +>fruit.kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 22), Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 41), Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 62)) +>fruit : Symbol(fruit, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 13)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 22), Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 41), Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 62)) +>const : Symbol(const) + + fruit.kind +>fruit.kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 22), Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 41)) +>fruit : Symbol(fruit, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 13)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 22), Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 41)) + + fruit +>fruit : Symbol(fruit, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 13)) +} + +declare const fruit2: { kind: 'apple'} | { kind: 'banana' } | { kind: 'cherry' } +>fruit2 : Symbol(fruit2, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 13)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 23)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 42)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 63)) + +const kind = fruit2.kind; +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 10, 5)) +>fruit2.kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 23), Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 42), Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 63)) +>fruit2 : Symbol(fruit2, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 13)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 23), Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 42), Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 63)) + +if (isOneOf(kind, ['apple', 'banana'] as const)) { +>isOneOf : Symbol(isOneOf, Decl(typePredicatesCanNarrowByDiscriminant.ts, 1, 79)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 10, 5)) +>const : Symbol(const) + + fruit2.kind +>fruit2.kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 23), Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 42)) +>fruit2 : Symbol(fruit2, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 13)) +>kind : Symbol(kind, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 23), Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 42)) + + fruit2 +>fruit2 : Symbol(fruit2, Decl(typePredicatesCanNarrowByDiscriminant.ts, 9, 13)) +} diff --git a/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.types b/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.types new file mode 100644 index 0000000000000..3dc7156b1fa08 --- /dev/null +++ b/tests/baselines/reference/typePredicatesCanNarrowByDiscriminant.types @@ -0,0 +1,64 @@ +//// [tests/cases/compiler/typePredicatesCanNarrowByDiscriminant.ts] //// + +=== typePredicatesCanNarrowByDiscriminant.ts === +// #45770 +declare const fruit: { kind: 'apple'} | { kind: 'banana' } | { kind: 'cherry' } +>fruit : { kind: 'apple'; } | { kind: 'banana'; } | { kind: 'cherry'; } +>kind : "apple" +>kind : "banana" +>kind : "cherry" + +declare function isOneOf(item: T, array: readonly U[]): item is U +>isOneOf : (item: T, array: readonly U[]) => item is U +>item : T +>array : readonly U[] + +if (isOneOf(fruit.kind, ['apple', 'banana'] as const)) { +>isOneOf(fruit.kind, ['apple', 'banana'] as const) : boolean +>isOneOf : (item: T, array: readonly U[]) => item is U +>fruit.kind : "apple" | "banana" | "cherry" +>fruit : { kind: "apple"; } | { kind: "banana"; } | { kind: "cherry"; } +>kind : "apple" | "banana" | "cherry" +>['apple', 'banana'] as const : readonly ["apple", "banana"] +>['apple', 'banana'] : readonly ["apple", "banana"] +>'apple' : "apple" +>'banana' : "banana" + + fruit.kind +>fruit.kind : "apple" | "banana" +>fruit : { kind: "apple"; } | { kind: "banana"; } +>kind : "apple" | "banana" + + fruit +>fruit : { kind: "apple"; } | { kind: "banana"; } +} + +declare const fruit2: { kind: 'apple'} | { kind: 'banana' } | { kind: 'cherry' } +>fruit2 : { kind: 'apple'; } | { kind: 'banana'; } | { kind: 'cherry'; } +>kind : "apple" +>kind : "banana" +>kind : "cherry" + +const kind = fruit2.kind; +>kind : "apple" | "banana" | "cherry" +>fruit2.kind : "apple" | "banana" | "cherry" +>fruit2 : { kind: "apple"; } | { kind: "banana"; } | { kind: "cherry"; } +>kind : "apple" | "banana" | "cherry" + +if (isOneOf(kind, ['apple', 'banana'] as const)) { +>isOneOf(kind, ['apple', 'banana'] as const) : boolean +>isOneOf : (item: T, array: readonly U[]) => item is U +>kind : "apple" | "banana" | "cherry" +>['apple', 'banana'] as const : readonly ["apple", "banana"] +>['apple', 'banana'] : readonly ["apple", "banana"] +>'apple' : "apple" +>'banana' : "banana" + + fruit2.kind +>fruit2.kind : "apple" | "banana" +>fruit2 : { kind: "apple"; } | { kind: "banana"; } +>kind : "apple" | "banana" + + fruit2 +>fruit2 : { kind: "apple"; } | { kind: "banana"; } +} diff --git a/tests/cases/compiler/typePredicatesCanNarrowByDiscriminant.ts b/tests/cases/compiler/typePredicatesCanNarrowByDiscriminant.ts new file mode 100644 index 0000000000000..e24a209d6fbe0 --- /dev/null +++ b/tests/cases/compiler/typePredicatesCanNarrowByDiscriminant.ts @@ -0,0 +1,17 @@ +// @strict: true + +// #45770 +declare const fruit: { kind: 'apple'} | { kind: 'banana' } | { kind: 'cherry' } + +declare function isOneOf(item: T, array: readonly U[]): item is U +if (isOneOf(fruit.kind, ['apple', 'banana'] as const)) { + fruit.kind + fruit +} + +declare const fruit2: { kind: 'apple'} | { kind: 'banana' } | { kind: 'cherry' } +const kind = fruit2.kind; +if (isOneOf(kind, ['apple', 'banana'] as const)) { + fruit2.kind + fruit2 +} \ No newline at end of file From 0b044f729fe1329c9ae1564aa4e79c172f77696e Mon Sep 17 00:00:00 2001 From: Abraham Guo Date: Tue, 13 Feb 2024 14:13:43 -0600 Subject: [PATCH 40/56] When attaching JSDoc diagnostics, make sure to only include diagnostics that actually belong with the JSDoc (#57271) --- src/compiler/parser.ts | 2 +- .../reference/errorIsolation.symbols | 16 ++++++++++++++ .../baselines/reference/errorIsolation.types | 21 +++++++++++++++++++ .../cases/conformance/jsdoc/errorIsolation.ts | 8 +++++++ 4 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 tests/baselines/reference/errorIsolation.symbols create mode 100644 tests/baselines/reference/errorIsolation.types create mode 100644 tests/cases/conformance/jsdoc/errorIsolation.ts diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 2f411c435492a..eaa8bbef47237 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -8760,7 +8760,7 @@ namespace Parser { if (!jsDocDiagnostics) { jsDocDiagnostics = []; } - jsDocDiagnostics.push(...parseDiagnostics); + addRange(jsDocDiagnostics, parseDiagnostics, saveParseDiagnosticsLength); } currentToken = saveToken; parseDiagnostics.length = saveParseDiagnosticsLength; diff --git a/tests/baselines/reference/errorIsolation.symbols b/tests/baselines/reference/errorIsolation.symbols new file mode 100644 index 0000000000000..fe35abd73a012 --- /dev/null +++ b/tests/baselines/reference/errorIsolation.symbols @@ -0,0 +1,16 @@ +//// [tests/cases/conformance/jsdoc/errorIsolation.ts] //// + +=== errorIsolation.js === +const async = { doSomething: _ => {} }; +>async : Symbol(async, Decl(errorIsolation.js, 0, 5)) +>doSomething : Symbol(doSomething, Decl(errorIsolation.js, 0, 15)) +>_ : Symbol(_, Decl(errorIsolation.js, 0, 28)) + +async.doSomething( +>async.doSomething : Symbol(doSomething, Decl(errorIsolation.js, 0, 15)) +>async : Symbol(async, Decl(errorIsolation.js, 0, 5)) +>doSomething : Symbol(doSomething, Decl(errorIsolation.js, 0, 15)) + + /***/ + () => {} +); diff --git a/tests/baselines/reference/errorIsolation.types b/tests/baselines/reference/errorIsolation.types new file mode 100644 index 0000000000000..682f1e183c8a2 --- /dev/null +++ b/tests/baselines/reference/errorIsolation.types @@ -0,0 +1,21 @@ +//// [tests/cases/conformance/jsdoc/errorIsolation.ts] //// + +=== errorIsolation.js === +const async = { doSomething: _ => {} }; +>async : { doSomething: (_: any) => void; } +>{ doSomething: _ => {} } : { doSomething: (_: any) => void; } +>doSomething : (_: any) => void +>_ => {} : (_: any) => void +>_ : any + +async.doSomething( +>async.doSomething( /***/ () => {}) : void +>async.doSomething : (_: any) => void +>async : { doSomething: (_: any) => void; } +>doSomething : (_: any) => void + + /***/ + () => {} +>() => {} : () => void + +); diff --git a/tests/cases/conformance/jsdoc/errorIsolation.ts b/tests/cases/conformance/jsdoc/errorIsolation.ts new file mode 100644 index 0000000000000..d06d76dcac86a --- /dev/null +++ b/tests/cases/conformance/jsdoc/errorIsolation.ts @@ -0,0 +1,8 @@ +// @noEmit: true +// @checkJs: true +// @filename: errorIsolation.js +const async = { doSomething: _ => {} }; +async.doSomething( + /***/ + () => {} +); \ No newline at end of file From 04fa4b5273c11789d1a01989437c1a770ff944c1 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 13 Feb 2024 12:38:30 -0800 Subject: [PATCH 41/56] More logging of Script info state infromation for baselining for future script info updates improvements (#57398) --- src/harness/projectServiceStateLogger.ts | 138 +- .../tsserver/projectReferencesSourcemap.ts | 3087 ++--------------- ...-not-remove-scrips-from-InferredProject.js | 4 +- ...-added-later-through-finding-definition.js | 32 +- ...olution-is-reused-from-different-folder.js | 3 +- ...s-not-jump-to-source-if-inlined-sources.js | 31 +- ...indAllReferences-starting-at-definition.js | 17 +- ...findAllReferences-target-does-not-exist.js | 11 +- .../declarationFileMaps/findAllReferences.js | 17 +- .../findAllReferencesFull.js | 17 +- .../getDefinitionAndBoundSpan.js | 17 +- .../getEditsForFileRename.js | 28 +- .../goToDefinition-target-does-not-exist.js | 11 +- .../declarationFileMaps/goToDefinition.js | 17 +- .../declarationFileMaps/goToImplementation.js | 17 +- .../tsserver/declarationFileMaps/goToType.js | 17 +- .../declarationFileMaps/navigateTo.js | 28 +- .../renameLocations-starting-at-definition.js | 17 +- .../renameLocations-target-does-not-exist.js | 11 +- .../declarationFileMaps/renameLocations.js | 17 +- .../renameLocationsFull.js | 17 +- ...direct-when-using-default-event-handler.js | 7 +- ...erenceRedirect-when-using-event-handler.js | 7 +- .../autoImportProvider_referencesCrash.js | 7 +- .../declarationMapGoToDefinition.js | 7 +- .../declarationMapsEnableMapping_NoInline.js | 7 +- ...rationMapsEnableMapping_NoInlineSources.js | 7 +- ...clarationMapsGeneratedMapsEnableMapping.js | 7 +- ...larationMapsGeneratedMapsEnableMapping2.js | 7 +- ...larationMapsGeneratedMapsEnableMapping3.js | 7 +- ...ionMapsGoToDefinitionRelativeSourceRoot.js | 7 +- ...oToDefinitionSameNameDifferentDirectory.js | 7 +- .../declarationMapsOutOfDateMapping.js | 7 +- .../goToSource11_propertyOfAlias.js | 3 +- .../goToSource12_callbackParam.js | 3 +- .../fourslashServer/goToSource13_nodenext.js | 3 +- ...goToSource16_callbackParamDifferentFile.js | 3 +- .../goToSource17_AddsFileToProject.js | 3 +- .../goToSource18_reusedFromDifferentFolder.js | 3 +- .../goToSource1_localJsBesideDts.js | 3 +- .../goToSource2_nodeModulesWithTypes.js | 3 +- .../goToSource3_nodeModulesAtTypes.js | 3 +- .../goToSource6_sameAsGoToDef2.js | 7 +- .../goToSource8_mapFromAtTypes.js | 3 +- .../goToSource9_mapFromAtTypes2.js | 43 +- .../fourslashServer/navto_serverExcludeLib.js | 24 + ...-are-disabled-and-a-decl-map-is-present.js | 7 +- ...-are-disabled-and-a-decl-map-is-present.js | 7 +- ...-are-disabled-and-a-decl-map-is-present.js | 7 +- ...-are-disabled-and-a-decl-map-is-present.js | 7 +- ...ject-is-directly-referenced-by-solution.js | 32 +- ...ct-is-indirectly-referenced-by-solution.js | 32 +- ...nced-project-and-using-declaration-maps.js | 7 +- ...ces-open-file-through-project-reference.js | 32 +- ...ct-is-indirectly-referenced-by-solution.js | 32 +- ...dts-changes-with-timeout-before-request.js | 15 + .../dependency-dts-changes.js | 15 + .../dependency-dts-created.js | 30 + .../dependency-dts-deleted.js | 18 + ...Map-changes-with-timeout-before-request.js | 15 + .../dependency-dtsMap-changes.js | 15 + .../dependency-dtsMap-created.js | 53 +- .../dependency-dtsMap-deleted.js | 41 +- .../dependency-dtsMap-not-present.js | 11 + .../configHasNoReference/rename-locations.js | 30 + ...ile-changes-with-timeout-before-request.js | 10 + .../usage-file-changes.js | 10 + ...dts-changes-with-timeout-before-request.js | 15 + .../dependency-dts-changes.js | 15 + .../dependency-dts-created.js | 30 + .../dependency-dts-deleted.js | 18 + ...Map-changes-with-timeout-before-request.js | 15 + .../dependency-dtsMap-changes.js | 15 + .../dependency-dtsMap-created.js | 53 +- .../dependency-dtsMap-deleted.js | 41 +- .../dependency-dtsMap-not-present.js | 11 + ...rce-changes-with-timeout-before-request.js | 10 + .../dependency-source-changes.js | 10 + .../configWithReference/rename-locations.js | 30 + ...ile-changes-with-timeout-before-request.js | 10 + .../configWithReference/usage-file-changes.js | 10 + ...dts-changes-with-timeout-before-request.js | 15 + .../dependency-dts-changes.js | 15 + .../dependency-dts-created.js | 30 + .../dependency-dts-deleted.js | 18 + ...Map-changes-with-timeout-before-request.js | 15 + .../dependency-dtsMap-changes.js | 15 + .../dependency-dtsMap-created.js | 53 +- .../dependency-dtsMap-deleted.js | 41 +- .../dependency-dtsMap-not-present.js | 11 + .../disabledSourceRef/rename-locations.js | 30 + ...ile-changes-with-timeout-before-request.js | 10 + .../disabledSourceRef/usage-file-changes.js | 10 + ...dts-changes-with-timeout-before-request.js | 49 +- .../dependency-dts-changes.js | 17 +- .../dependency-dts-created.js | 35 + .../dependency-dts-deleted.js | 20 +- ...Map-changes-with-timeout-before-request.js | 17 +- .../dependency-dtsMap-changes.js | 17 +- .../dependency-dtsMap-created.js | 88 +- .../dependency-dtsMap-deleted.js | 51 +- .../dependency-dtsMap-not-present.js | 37 + .../goToDef-and-rename-locations.js | 37 +- ...ile-changes-with-timeout-before-request.js | 17 +- .../usage-file-changes.js | 17 +- ...dts-changes-with-timeout-before-request.js | 15 + .../dependency-dts-changes.js | 15 + .../dependency-dts-created.js | 35 + .../dependency-dts-deleted.js | 18 + ...Map-changes-with-timeout-before-request.js | 15 + .../dependency-dtsMap-changes.js | 15 + .../dependency-dtsMap-created.js | 64 +- .../dependency-dtsMap-deleted.js | 49 +- .../dependency-dtsMap-not-present.js | 13 + ...rce-changes-with-timeout-before-request.js | 10 + .../dependency-source-changes.js | 36 +- ...ons.js => goToDef-and-rename-locations.js} | 35 + ...ile-changes-with-timeout-before-request.js | 15 + .../configWithReference/usage-file-changes.js | 15 + ...dts-changes-with-timeout-before-request.js | 49 +- .../dependency-dts-changes.js | 17 +- .../dependency-dts-created.js | 35 + .../dependency-dts-deleted.js | 20 +- ...Map-changes-with-timeout-before-request.js | 17 +- .../dependency-dtsMap-changes.js | 17 +- .../dependency-dtsMap-created.js | 88 +- .../dependency-dtsMap-deleted.js | 51 +- .../dependency-dtsMap-not-present.js | 37 + ...ons.js => goToDef-and-rename-locations.js} | 37 +- ...ile-changes-with-timeout-before-request.js | 17 +- .../disabledSourceRef/usage-file-changes.js | 17 +- .../can-go-to-definition-correctly.js | 32 +- ...dts-changes-with-timeout-before-request.js | 47 +- .../dependency-dts-changes.js | 17 +- .../dependency-dts-created.js | 30 + .../dependency-dts-deleted.js | 20 +- ...Map-changes-with-timeout-before-request.js | 17 +- .../dependency-dtsMap-changes.js | 17 +- .../dependency-dtsMap-created.js | 32 +- .../dependency-dtsMap-deleted.js | 14 +- ...ile-changes-with-timeout-before-request.js | 12 +- .../usage-file-changes.js | 12 +- .../can-go-to-definition-correctly.js | 32 +- ...dts-changes-with-timeout-before-request.js | 47 +- .../dependency-dts-changes.js | 17 +- .../dependency-dts-created.js | 30 + .../dependency-dts-deleted.js | 20 +- ...Map-changes-with-timeout-before-request.js | 17 +- .../dependency-dtsMap-changes.js | 17 +- .../dependency-dtsMap-created.js | 32 +- .../dependency-dtsMap-deleted.js | 14 +- ...ile-changes-with-timeout-before-request.js | 12 +- .../disabledSourceRef/usage-file-changes.js | 12 +- 153 files changed, 3345 insertions(+), 3023 deletions(-) rename tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/{gotoDef-and-rename-locations.js => goToDef-and-rename-locations.js} (96%) rename tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/{gotoDef-and-rename-locations.js => goToDef-and-rename-locations.js} (96%) diff --git a/src/harness/projectServiceStateLogger.ts b/src/harness/projectServiceStateLogger.ts index 326950ac39943..116d16fcaf380 100644 --- a/src/harness/projectServiceStateLogger.ts +++ b/src/harness/projectServiceStateLogger.ts @@ -3,6 +3,7 @@ import { compareStringsCaseSensitive, Debug, identity, + isString, noop, } from "./_namespaces/ts"; import { @@ -15,6 +16,8 @@ import { ProjectKind, ProjectService, ScriptInfo, + SourceMapFileWatcher, + TextStorage, } from "./_namespaces/ts.server"; import { LoggerWithInMemoryLogs, @@ -24,18 +27,26 @@ interface ProjectData { projectStateVersion: Project["projectStateVersion"]; projectProgramVersion: Project["projectProgramVersion"]; dirty: Project["dirty"]; - isClosed: boolean; - isOrphan: boolean; + isClosed: ReturnType; + isOrphan: ReturnType; noOpenRef: boolean; autoImportProviderHost: Project["autoImportProviderHost"]; noDtsResolutionProject: Project["noDtsResolutionProject"]; originalConfiguredProjects: Project["originalConfiguredProjects"]; } +interface SourceMapFileWatcherData { + sourceInfos: SourceMapFileWatcher["sourceInfos"]; +} + interface ScriptInfoData { - open: boolean; - version: string; - pendingReloadFromDisk: boolean; + open: ReturnType; + version: ReturnType; + pendingReloadFromDisk: TextStorage["pendingReloadFromDisk"]; + sourceMapFilePath: Exclude | SourceMapFileWatcherData | undefined; + declarationInfoPath: ScriptInfo["declarationInfoPath"]; + sourceInfos: ScriptInfo["sourceInfos"]; + documentPositionMapper: ScriptInfo["documentPositionMapper"]; containingProjects: Set; } @@ -46,7 +57,8 @@ enum Diff { Deleted = " *deleted*", } -type StateItemLog = [string, ...string[][]]; +type StatePropertyLog = string | string[]; +type StateItemLog = [string, StatePropertyLog[]]; export function patchServiceForStateBaseline(service: ProjectService) { if (!service.logger.isTestLogger || !service.logger.hasLevel(LogLevel.verbose)) return; @@ -69,9 +81,9 @@ export function patchServiceForStateBaseline(service: ProjectService) { if (!logs) return; logger.log(title); logs.sort((a, b) => compareStringsCaseSensitive(a[0], b[0])) - .forEach(([title, ...propertyLogs]) => { + .forEach(([title, propertyLogs]) => { logger.log(title); - propertyLogs.forEach(p => p.forEach(s => logger.log(s))); + propertyLogs.forEach(p => isString(p) ? logger.log(p) : p.forEach(s => logger.log(s))); }); logger.log(""); } @@ -99,11 +111,11 @@ export function patchServiceForStateBaseline(service: ProjectService) { logs, `${project.projectName} (${ProjectKind[project.projectKind]})`, PrintPropertyWhen.DefinedOrChangedOrNew, + data?.originalConfiguredProjects, "originalConfiguredProjects", - projectPropertyLogs, - projectDiff, project.originalConfiguredProjects, - data?.originalConfiguredProjects, + projectDiff, + projectPropertyLogs, identity, ); }, @@ -132,6 +144,10 @@ export function patchServiceForStateBaseline(service: ProjectService) { infoDiff = printProperty(PrintPropertyWhen.Changed, data, "open", isOpen, infoDiff, infoPropertyLogs); infoDiff = printProperty(PrintPropertyWhen.Always, data, "version", info.textStorage.getVersion(), infoDiff, infoPropertyLogs); infoDiff = printProperty(PrintPropertyWhen.TruthyOrChangedOrNew, data, "pendingReloadFromDisk", info.textStorage.pendingReloadFromDisk, infoDiff, infoPropertyLogs); + infoDiff = printScriptInfoSourceMapFilePath(data, info, infoDiff, infoPropertyLogs); + infoDiff = printProperty(PrintPropertyWhen.DefinedOrChangedOrNew, data, "declarationInfoPath", info.declarationInfoPath, infoDiff, infoPropertyLogs); + infoDiff = printSetPropertyValueWorker(PrintPropertyWhen.DefinedOrChangedOrNew, data?.sourceInfos, "sourceInfos", info.sourceInfos, infoDiff, infoPropertyLogs, identity); + infoDiff = printProperty(PrintPropertyWhen.DefinedOrChangedOrNew, data, "documentPositionMapper", info.documentPositionMapper, infoDiff, infoPropertyLogs, info.documentPositionMapper ? "DocumentPositionMapper" : undefined); let defaultProject: Project | undefined; try { if (isOpen) defaultProject = info.getDefaultProject(); @@ -143,11 +159,11 @@ export function patchServiceForStateBaseline(service: ProjectService) { logs, `${info.fileName}${info.isDynamic ? " (Dynamic)" : ""}${isOpen ? " (Open)" : ""}`, PrintPropertyWhen.Always, + data?.containingProjects, "containingProjects", - infoPropertyLogs, - infoDiff, new Set(info.containingProjects), - data?.containingProjects, + infoDiff, + infoPropertyLogs, project => `${project.projectName}${defaultProject === project ? " *default*" : ""}`, ); }, @@ -155,6 +171,12 @@ export function patchServiceForStateBaseline(service: ProjectService) { open: info.isScriptOpen(), version: info.textStorage.getVersion(), pendingReloadFromDisk: info.textStorage.pendingReloadFromDisk, + sourceMapFilePath: info.sourceMapFilePath && !isString(info.sourceMapFilePath) ? + { original: info.sourceMapFilePath, sourceInfos: new Set(info.sourceMapFilePath.sourceInfos) } : + info.sourceMapFilePath, + declarationInfoPath: info.declarationInfoPath, + sourceInfos: info.sourceInfos && new Set(info.sourceInfos), + documentPositionMapper: info.documentPositionMapper, containingProjects: new Set(info.containingProjects), }), ); @@ -207,27 +229,27 @@ export function patchServiceForStateBaseline(service: ProjectService) { key: Key, value: Data[Key], dataDiff: Diff, - propertyLogs: string[], + propertyLogs: StatePropertyLog[], stringValue?: Data[Key] | string, ) { return printPropertyWorker( printWhen, - `${key}: ${stringValue === undefined ? value : stringValue}`, - propertyLogs, - dataDiff, + value, !!data && data[key] !== value, Diff.Change, - value, + dataDiff, + propertyLogs, + `${key}: ${stringValue === undefined ? value : stringValue}`, ); } function printSetPropertyValueWorker( printWhen: PrintPropertyWhen.Always | PrintPropertyWhen.DefinedOrChangedOrNew, + dataValue: Set | undefined, propertyName: string, - propertyLogs: string[], - dataDiff: Diff, propertyValue: Set | undefined, - dataValue: Set | undefined, + dataDiff: Diff, + propertyLogs: StatePropertyLog[], toStringPropertyValue: (v: T) => string, ) { const setPropertyLogs = [] as string[]; @@ -235,12 +257,12 @@ export function patchServiceForStateBaseline(service: ProjectService) { propertyValue?.forEach(p => setPropertyDiff = printPropertyWorker( PrintPropertyWhen.Always, - ` ${toStringPropertyValue(p)}`, - setPropertyLogs, - setPropertyDiff, + p, dataDiff !== Diff.New && !dataValue?.has(p), Diff.New, - p, + setPropertyDiff, + setPropertyLogs, + ` ${toStringPropertyValue(p)}`, ) ); dataValue?.forEach(p => { @@ -250,24 +272,25 @@ export function patchServiceForStateBaseline(service: ProjectService) { }); dataDiff = printPropertyWorker( printWhen, - `${propertyName}: ${propertyValue?.size || 0}`, - propertyLogs, - dataDiff, + propertyValue, !!setPropertyDiff, Diff.Change, - propertyValue, + dataDiff, + propertyLogs, + `${propertyName}: ${propertyValue?.size || 0}`, ); - return { dataDiff, setPropertyLogs }; + propertyLogs.push(setPropertyLogs); + return dataDiff; } function printPropertyWorker( printWhen: PrintPropertyWhen, - stringValue: string, - propertyLogs: string[], - dataDiff: Diff, + value: any, propertyChanged: boolean, propertyChangeDiff: Diff.Change | Diff.New, - value: any, + dataDiff: Diff, + propertyLogs: StatePropertyLog[], + stringValue: string, ) { const propertyDiff = propertyChanged ? propertyChangeDiff : Diff.None; const result = !dataDiff && propertyDiff ? propertyChangeDiff : dataDiff; @@ -294,27 +317,52 @@ export function patchServiceForStateBaseline(service: ProjectService) { logs: StateItemLog[], header: string, printWhen: PrintPropertyWhen.Always | PrintPropertyWhen.DefinedOrChangedOrNew, + dataValue: Set | undefined, propertyName: string, - propertyLogs: string[], - dataDiff: Diff, propertyValue: Set | undefined, - dataValue: Set | undefined, + dataDiff: Diff, + propertyLogs: StatePropertyLog[], toStringPropertyValue: (v: T) => string, ) { - const result = printSetPropertyValueWorker( + dataDiff = printSetPropertyValueWorker( printWhen, + dataValue, propertyName, - propertyLogs, - dataDiff, propertyValue, - dataValue, + dataDiff, + propertyLogs, toStringPropertyValue, ); logs.push([ - `${header}${result.dataDiff}`, + `${header}${dataDiff}`, propertyLogs, - result.setPropertyLogs, ]); - return result.dataDiff; + return dataDiff; + } + + function printScriptInfoSourceMapFilePath( + data: ScriptInfoData | undefined, + info: ScriptInfo, + infoDiff: Diff, + infoPropertyLogs: StatePropertyLog[], + ) { + return !info.sourceMapFilePath || isString(info.sourceMapFilePath) ? + printProperty( + PrintPropertyWhen.DefinedOrChangedOrNew, + data, + "sourceMapFilePath", + info.sourceMapFilePath, + infoDiff, + infoPropertyLogs, + ) : + printSetPropertyValueWorker( + PrintPropertyWhen.DefinedOrChangedOrNew, + data?.sourceMapFilePath && !isString(data?.sourceMapFilePath) ? data.sourceMapFilePath.sourceInfos : undefined, + "sourceMapFilePath sourceInfos", + info.sourceMapFilePath.sourceInfos, + infoDiff, + infoPropertyLogs, + identity, + ); } } diff --git a/src/testRunner/unittests/tsserver/projectReferencesSourcemap.ts b/src/testRunner/unittests/tsserver/projectReferencesSourcemap.ts index 29678cdec1c77..5880e2307c18d 100644 --- a/src/testRunner/unittests/tsserver/projectReferencesSourcemap.ts +++ b/src/testRunner/unittests/tsserver/projectReferencesSourcemap.ts @@ -69,16 +69,14 @@ fn5(); content: "{}", }; const dtsLocation = `${dependecyDeclsLocation}/FnS.d.ts`; - const dtsPath = dtsLocation.toLowerCase() as ts.Path; const dtsMapLocation = `${dependecyDeclsLocation}/FnS.d.ts.map`; - const dtsMapPath = dtsMapLocation.toLowerCase() as ts.Path; const files = [dependencyTs, dependencyConfig, mainTs, mainConfig, libFile, randomFile, randomConfig]; - function changeDtsFile(host: TestServerHost) { - host.writeFile( + function changeDtsFile(session: TestSession) { + session.host.writeFile( dtsLocation, - host.readFile(dtsLocation)!.replace( + session.host.readFile(dtsLocation)!.replace( "//# sourceMappingURL=FnS.d.ts.map", `export declare function fn6(): void; //# sourceMappingURL=FnS.d.ts.map`, @@ -86,8 +84,8 @@ fn5(); ); } - function changeDtsMapFile(host: TestServerHost) { - host.writeFile( + function changeDtsMapFile(session: TestSession) { + session.host.writeFile( dtsMapLocation, jsonToReadableText({ version: 3, @@ -118,79 +116,19 @@ fn5(); return renameFromDependencyTs(fn + 1); } - function verifyDocumentPositionMapper( - session: TestSession, - dependencyMap: ts.server.ScriptInfo | undefined, - documentPositionMapper: ts.server.ScriptInfo["documentPositionMapper"], - equal: boolean, - debugInfo?: string, - ) { - assert.strictEqual(session.getProjectService().filenameToScriptInfo.get(dtsMapPath), dependencyMap, `${debugInfo} dependencyMap`); - if (dependencyMap) { - verifyEquality(dependencyMap.documentPositionMapper, documentPositionMapper, equal, `${debugInfo} DocumentPositionMapper`); - } - } - - function verifyDocumentPositionMapperEqual( + function runActions( session: TestSession, - dependencyMap: ts.server.ScriptInfo | undefined, - documentPositionMapper: ts.server.ScriptInfo["documentPositionMapper"], - debugInfo?: string, + action: Action | Action[], + max = 5, ) { - verifyDocumentPositionMapper(session, dependencyMap, documentPositionMapper, /*equal*/ true, debugInfo); - } - - function verifyEquality(actual: T, expected: T, equal: boolean, debugInfo?: string) { - if (equal) { - assert.strictEqual(actual, expected, debugInfo); + if (!ts.isArray(action)) { + for (let fn = 1; fn <= max; fn++) { + const fnAction = action(fn); + session.executeCommandSeq(fnAction); + } } else { - assert.notStrictEqual(actual, expected, debugInfo); - } - } - - function verifyAllFnAction( - session: TestSession, - action: (fn: number) => TestSessionRequest, - existingDependencyMap: ts.server.ScriptInfo | undefined, - existingDocumentPositionMapper: ts.server.ScriptInfo["documentPositionMapper"], - existingMapEqual: boolean, - existingDocumentPositionMapperEqual: boolean, - skipMapPathInDtsInfo?: boolean, - ) { - let sourceMapPath: ts.server.ScriptInfo["sourceMapFilePath"] | undefined; - let dependencyMap: ts.server.ScriptInfo | undefined; - let documentPositionMapper: ts.server.ScriptInfo["documentPositionMapper"]; - for (let fn = 1; fn <= 5; fn++) { - const fnAction = action(fn); - session.executeCommandSeq(fnAction); - const debugInfo = `${jsonToReadableText(fnAction)}:: ${fn}`; - const dtsInfo = session.getProjectService().getScriptInfoForPath(dtsPath); - const dtsMapInfo = session.getProjectService().getScriptInfoForPath(dtsMapPath); - - if (fn === 1) { - if (dtsInfo) { - if (!skipMapPathInDtsInfo) { - if (dtsMapInfo) { - assert.equal(dtsInfo.sourceMapFilePath, dtsMapPath, `${debugInfo} sourceMapFilePath`); - } - else { - assert.isNotString(dtsInfo.sourceMapFilePath, `${debugInfo} sourceMapFilePath`); - assert.isNotFalse(dtsInfo.sourceMapFilePath, `${debugInfo} sourceMapFilePath`); - assert.isDefined(dtsInfo.sourceMapFilePath, `${debugInfo} sourceMapFilePath`); - } - } - } - verifyEquality(dtsMapInfo, existingDependencyMap, existingMapEqual, `${debugInfo} dependencyMap`); - verifyEquality(existingDocumentPositionMapper, dtsMapInfo?.documentPositionMapper, existingDocumentPositionMapperEqual, `${debugInfo} DocumentPositionMapper`); - sourceMapPath = dtsInfo?.sourceMapFilePath; - dependencyMap = dtsMapInfo; - documentPositionMapper = dependencyMap?.documentPositionMapper; - } - else { - assert.equal(dtsInfo?.sourceMapFilePath, sourceMapPath, `${debugInfo} sourceMapFilePath`); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper, debugInfo); - } + action.forEach(action => runActions(session, action, max)); } } @@ -198,42 +136,16 @@ fn5(); session: TestSession, openFiles: readonly File[], ) { - const { dependencyMap, documentPositionMapper } = getDocumentPositionMapper(session); - // Collecting at this point retains dependency.d.ts and map closeFilesForSession([randomFile], session); openFilesForSession([randomFile], session); - // If map is not collected, document position mapper shouldnt change - if (session.getProjectService().filenameToScriptInfo.has(dtsMapPath)) { - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - } - // Closing open file, removes dependencies too - closeFilesForSession([...openFiles, randomFile], session); + closeFilesForSession(openFiles, session); openFilesForSession([randomFile], session); } type OnHostCreate = (host: TestServerHost) => void; - type CreateSessionFn = (onHostCreate?: OnHostCreate) => { host: TestServerHost; session: TestSession; }; - function setupWith(createSession: CreateSessionFn, openFiles: readonly File[], onHostCreate: OnHostCreate | undefined) { - const result = createSession(onHostCreate); - openFilesForSession(openFiles, result.session); - return result; - } - - function setupWithMainTs(createSession: CreateSessionFn, onHostCreate: OnHostCreate | undefined) { - return setupWith(createSession, [mainTs, randomFile], onHostCreate); - } - - function setupWithDependencyTs(createSession: CreateSessionFn, onHostCreate: OnHostCreate | undefined) { - return setupWith(createSession, [dependencyTs, randomFile], onHostCreate); - } - - function setupWithMainTsAndDependencyTs(createSession: CreateSessionFn, onHostCreate: OnHostCreate | undefined) { - return setupWith(createSession, [mainTs, dependencyTs, randomFile], onHostCreate); - } - function createSessionWithoutProjectReferences(onHostCreate?: OnHostCreate) { const host = createHostWithSolutionBuild(files, [mainConfig.path]); // Erase project reference @@ -244,15 +156,13 @@ fn5(); }), ); onHostCreate?.(host); - const session = new TestSession(host); - return { host, session }; + return new TestSession(host); } function createSessionWithProjectReferences(onHostCreate?: OnHostCreate) { const host = createHostWithSolutionBuild(files, [mainConfig.path]); onHostCreate?.(host); - const session = new TestSession(host); - return { host, session }; + return new TestSession(host); } function createSessionWithDisabledProjectReferences(onHostCreate?: OnHostCreate) { @@ -270,14 +180,7 @@ fn5(); }), ); onHostCreate?.(host); - const session = new TestSession(host); - return { host, session }; - } - - function getDocumentPositionMapper(session: TestSession) { - const dependencyMap = session.getProjectService().filenameToScriptInfo.get(dtsMapPath); - const documentPositionMapper = dependencyMap?.documentPositionMapper; - return { dependencyMap, documentPositionMapper }; + return new TestSession(host); } function makeChangeToMainTs(session: TestSession) { @@ -308,1306 +211,223 @@ fn5(); }); } - describe("from project that uses dependency: goToDef", () => { - function setupWithActionWith(setup: (onHostCreate?: OnHostCreate) => ReturnType, onHostCreate: OnHostCreate | undefined) { - const result = setup(onHostCreate); - result.session.executeCommandSeq(goToDefFromMainTs(1)); - return { ...result, ...getDocumentPositionMapper(result.session) }; - } - - describe("when main tsconfig doesnt have project reference", () => { - function setup(onHostCreate?: OnHostCreate) { - return setupWithMainTs(createSessionWithoutProjectReferences, onHostCreate); - } - - function setupWithAction(onHostCreate?: OnHostCreate) { - return setupWithActionWith(setup, onHostCreate); - } - - it("can go to definition correctly", () => { - const { session } = setup(); - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/can go to definition correctly", session); - }); - - // Edit - it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/usage file changes with timeout before request", session); - }); - it(`when usage file changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/usage file changes", session); - }); - - // Edit dts to add new fn - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/dependency dts changes with timeout before request", session); - }); - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/dependency dts changes", session); - }); - - // Edit map file to represent added new line - it(`when dependency file's map changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); + function setup(type: SessionType, openFiles: readonly File[], action: Action | Action[], max?: number, onHostCreate?: OnHostCreate) { + const session = type === SessionType.NoReference ? createSessionWithoutProjectReferences(onHostCreate) : + type === SessionType.ProjectReference ? createSessionWithProjectReferences(onHostCreate) : + type === SessionType.DisableSourceOfProjectReferenceRedirect ? + createSessionWithDisabledProjectReferences(onHostCreate) : + ts.Debug.assertNever(type); + openFilesForSession(openFiles, session); + runActions(session, action, max); + return session; + } - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/dependency dtsMap changes with timeout before request", session); - }); - it(`when dependency file's map changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + enum SessionType { + NoReference = "configHasNoReference", + ProjectReference = "configWithReference", + DisableSourceOfProjectReferenceRedirect = "disabledSourceRef", + } + type ScenarioLocation = "usageProject" | "dependency" | "dependencyAndUsage"; + type Action = (fn: number) => TestSessionRequest; + interface VerifyActionOptions { + scenarioLocation: ScenarioLocation; + type: SessionType; + scenario: string; + openFiles: readonly File[]; + action: Action | Action[]; + } + function verifyAction(options: VerifyActionOptions) { + it(options.scenario, () => { + const session = setup(options.type, options.openFiles, options.action); + verifyScriptInfoCollectionWith(session, options.openFiles); + baselineTsserverLogs("projectReferencesSourcemap", `${options.scenarioLocation}/${options.type}/${options.scenario}`, session); + }); + } + interface VerifyScenarioWithChangesOptions { + scenarioLocation: ScenarioLocation; + type: SessionType; + scenario: string; + openFiles: readonly File[]; + change: (session: TestSession) => void; + action: Action | Action[]; + actionAfterChange?: Action | Action[]; + } + function verifyScenarioWithChangesWorker(options: VerifyScenarioWithChangesOptions, timeoutBeforeAction: boolean) { + it(`${options.scenario}, when timeout ${timeoutBeforeAction ? "occurs" : "does not occur"} before request`, () => { + // Create DocumentPositionMapper + const session = setup(options.type, options.openFiles, options.action, 1); + + // change + options.change(session); + if (timeoutBeforeAction) session.host.runQueuedTimeoutCallbacks(); + + // action + runActions(session, options.actionAfterChange || options.action); + baselineTsserverLogs("projectReferencesSourcemap", `${options.scenarioLocation}/${options.type}/${options.scenario}${timeoutBeforeAction ? " with timeout before request" : ""}`, session); + }); + } + function verifyScenarioWithChanges(options: VerifyScenarioWithChangesOptions) { + verifyScenarioWithChangesWorker(options, /*timeoutBeforeAction*/ true); + verifyScenarioWithChangesWorker(options, /*timeoutBeforeAction*/ false); + } + interface VerifyFileRenamesOptions { + scenarioLocation: ScenarioLocation; + type: SessionType; + file: "dts" | "dtsMap"; + openFiles: readonly File[]; + action: Action | Action[]; + } + function verifyFileRenames(options: VerifyFileRenamesOptions) { + function file(options: VerifyFileRenamesOptions) { + return options.file === "dts" ? dtsLocation : dtsMapLocation; + } + it(`with ${options.file} file, when file is not present`, () => { + const session = setup(options.type, options.openFiles, options.action, undefined, host => host.deleteFile(file(options))); + verifyScriptInfoCollectionWith(session, options.openFiles); + baselineTsserverLogs("projectReferencesSourcemap", `${options.scenarioLocation}/${options.type}/dependency ${options.file} not present`, session); + }); + it(`with ${options.file} file, when file is created after actions on projects`, () => { + let fileContents: string; + const location = file(options); + const session = setup(options.type, options.openFiles, options.action, 1, host => { + fileContents = host.readFile(location)!; + host.deleteFile(location); + }); + session.host.writeFile(location, fileContents!); + runActions(session, options.action); + verifyScriptInfoCollectionWith(session, options.openFiles); + baselineTsserverLogs("projectReferencesSourcemap", `${options.scenarioLocation}/${options.type}/dependency ${options.file} created`, session); + }); + it(`with ${options.file} file, when file is deleted after actions on the projects`, () => { + const session = setup(options.type, options.openFiles, options.action, 1); + session.host.deleteFile(file(options)); + runActions(session, options.action); + verifyScriptInfoCollectionWith(session, options.openFiles); + baselineTsserverLogs("projectReferencesSourcemap", `${options.scenarioLocation}/${options.type}/dependency ${options.file} deleted`, session); + }); + } - // change - changeDtsMapFile(host); + interface VerifyScenario { + scenarioLocation: ScenarioLocation; + scenario: string; + openFiles: readonly File[]; + action: Action | Action[]; + change: (session: TestSession) => void; + referenceChange: (session: TestSession) => void; + referenceChangeAction?: Action | Action[]; + } + function verifyScenarioWorker(options: VerifyScenario, type: SessionType) { + verifyAction({ + scenarioLocation: options.scenarioLocation, + type, + scenario: options.scenario, + openFiles: options.openFiles, + action: options.action, + }); - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/dependency dtsMap changes", session); - }); + // Edit + verifyScenarioWithChanges({ + scenarioLocation: options.scenarioLocation, + type, + scenario: "usage file changes", + openFiles: options.openFiles, + change: options.change, + action: options.action, + }); - it(`with depedency files map file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsMapLocation)); + // Edit dts to add new fn + verifyScenarioWithChanges({ + scenarioLocation: options.scenarioLocation, + type, + scenario: "dependency dts changes", + openFiles: options.openFiles, + change: changeDtsFile, + action: options.action, + }); - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/dependency dtsMap not present", session); - }); - it(`with depedency files map file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsMapLocation)!; - host.deleteFile(dtsMapLocation); - }); + // Edit map file to represent added new line + verifyScenarioWithChanges({ + scenarioLocation: options.scenarioLocation, + type, + scenario: "dependency dtsMap changes", + openFiles: options.openFiles, + change: changeDtsMapFile, + action: options.action, + }); - host.writeFile(dtsMapLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/dependency dtsMap created", session); - }); - it(`with depedency files map file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + verifyFileRenames({ + scenarioLocation: options.scenarioLocation, + type, + file: "dtsMap", + openFiles: options.openFiles, + action: options.action, + }); - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsMapLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/dependency dtsMap deleted", session); - }); + verifyFileRenames({ + scenarioLocation: options.scenarioLocation, + type, + file: "dts", + openFiles: options.openFiles, + action: options.action, + }); - it(`with depedency .d.ts file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsLocation)); + if (type !== SessionType.ProjectReference) return; - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/dependency dts not present", session); - }); - it(`with depedency .d.ts file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsLocation)!; - host.deleteFile(dtsLocation); - }); + verifyScenarioWithChanges({ + scenarioLocation: options.scenarioLocation, + type, + scenario: "dependency source changes", + openFiles: options.openFiles, + change: options.referenceChange, + action: options.action, + actionAfterChange: options.referenceChangeAction, + }); - host.writeFile(dtsLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/dependency dts created", session); - }); - it(`with depedency .d.ts file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + it("when projects are not built", () => { + const host = createServerHost(files); + const session = new TestSession(host); + openFilesForSession(options.openFiles, session); + runActions(session, options.action); + verifyScriptInfoCollectionWith(session, options.openFiles); + baselineTsserverLogs("projectReferencesSourcemap", `${options.scenarioLocation}/${type}/when projects are not built`, session); + }); + } - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configHasNoReference/dependency dts deleted", session); - }); + function verifyScenario(options: VerifyScenario) { + describe("when main tsconfig doesnt have project reference", () => { + verifyScenarioWorker(options, SessionType.NoReference); }); describe("when main tsconfig has project reference", () => { - function setup(onHostCreate?: OnHostCreate) { - return setupWithMainTs(createSessionWithProjectReferences, onHostCreate); - } - - function setupWithAction(onHostCreate?: OnHostCreate) { - return setupWithActionWith(setup, onHostCreate); - } - - it("can go to definition correctly", () => { - const { session } = setup(); - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/can go to definition correctly", session); - }); - - // Edit - it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/usage file changes with timeout before request", session); - }); - it(`when usage file changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/usage file changes", session); - }); - - // Edit dts to add new fn - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency dts changes with timeout before request", session); - }); - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency dts changes", session); - }); - - // Edit map file to represent added new line - it(`when dependency file's map changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency dtsMap changes with timeout before request", session); - }); - it(`when dependency file's map changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency dtsMap changes", session); - }); - - it(`with depedency files map file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsMapLocation)); - - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency dtsMap not present", session); - }); - it(`with depedency files map file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsMapLocation)!; - host.deleteFile(dtsMapLocation); - }); - - host.writeFile(dtsMapLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency dtsMap created", session); - }); - it(`with depedency files map file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsMapLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency dtsMap deleted", session); - }); - - it(`with depedency .d.ts file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsLocation)); - - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency dts not present", session); - }); - it(`with depedency .d.ts file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsLocation)!; - host.deleteFile(dtsLocation); - }); - - host.writeFile(dtsLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency dts created", session); - }); - it(`with depedency .d.ts file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency dts deleted", session); - }); - it(`when defining project source changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - // Make change, without rebuild of solution - host.writeFile( - dependencyTs.path, - `function fooBar() { } -${dependencyTs.content}`, - ); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency source changes with timeout before request", session); - }); - it(`when defining project source changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session } = setupWithAction(); - - // change - // Make change, without rebuild of solution - host.writeFile( - dependencyTs.path, - `function fooBar() { } -${dependencyTs.content}`, - ); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/dependency source changes", session); - }); - - it("when projects are not built", () => { - const host = createServerHost(files); - const session = new TestSession(host); - openFilesForSession([mainTs, randomFile], session); - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/configWithReference/when projects are not built", session); - }); + verifyScenarioWorker(options, SessionType.ProjectReference); }); describe("when main tsconfig has disableSourceOfProjectReferenceRedirect along with project reference", () => { - function setup(onHostCreate?: OnHostCreate) { - return setupWithMainTs(createSessionWithDisabledProjectReferences, onHostCreate); - } - - function setupWithAction(onHostCreate?: OnHostCreate) { - return setupWithActionWith(setup, onHostCreate); - } - - it("can go to definition correctly", () => { - const { session } = setup(); - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/can go to definition correctly", session); - }); - - // Edit - it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/usage file changes with timeout before request", session); - }); - it(`when usage file changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/usage file changes", session); - }); - - // Edit dts to add new fn - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/dependency dts changes with timeout before request", session); - }); - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/dependency dts changes", session); - }); - - // Edit map file to represent added new line - it(`when dependency file's map changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/dependency dtsMap changes with timeout before request", session); - }); - it(`when dependency file's map changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/dependency dtsMap changes", session); - }); - - it(`with depedency files map file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsMapLocation)); - - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/dependency dtsMap not present", session); - }); - it(`with depedency files map file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsMapLocation)!; - host.deleteFile(dtsMapLocation); - }); - - host.writeFile(dtsMapLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/dependency dtsMap created", session); - }); - it(`with depedency files map file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsMapLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/dependency dtsMap deleted", session); - }); - - it(`with depedency .d.ts file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsLocation)); - - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/dependency dts not present", session); - }); - it(`with depedency .d.ts file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsLocation)!; - host.deleteFile(dtsLocation); - }); - - host.writeFile(dtsLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/dependency dts created", session); - }); - it(`with depedency .d.ts file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + verifyScenarioWorker(options, SessionType.DisableSourceOfProjectReferenceRedirect); + }); + } - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs]); - baselineTsserverLogs("projectReferencesSourcemap", "usageProject/disabledSourceRef/dependency dts deleted", session); - }); + describe("from project that uses dependency: goToDef", () => { + verifyScenario({ + scenarioLocation: "usageProject", + scenario: "can go to definition correctly", + openFiles: [mainTs, randomFile], + action: goToDefFromMainTs, + change: makeChangeToMainTs, + referenceChange: session => + session.host.writeFile( + dependencyTs.path, + `function fooBar() { }\n${dependencyTs.content}`, + ), }); }); describe("from defining project: rename", () => { - function setupWithActionWith(setup: (onHostCreate?: OnHostCreate) => ReturnType, onHostCreate: OnHostCreate | undefined) { - const result = setup(onHostCreate); - result.session.executeCommandSeq(renameFromDependencyTs(1)); - return { ...result, ...getDocumentPositionMapper(result.session) }; - } - - describe("when main tsconfig doesnt have project reference", () => { - function setup(onHostCreate?: OnHostCreate) { - return setupWithDependencyTs(createSessionWithoutProjectReferences, onHostCreate); - } - - function setupWithAction(onHostCreate?: OnHostCreate) { - return setupWithActionWith(setup, onHostCreate); - } - - it("rename locations from dependency", () => { - const { session } = setup(); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/rename locations", session); - }); - - // Edit - it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/usage file changes with timeout before request", session); - }); - it(`when usage file changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToDependencyTs(session); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/usage file changes", session); - }); - - // Edit dts to add new fn - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/dependency dts changes with timeout before request", session); - }); - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/dependency dts changes", session); - }); - - // Edit map file to represent added new line - it(`when dependency file's map changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/dependency dtsMap changes with timeout before request", session); - }); - it(`when dependency file's map changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/dependency dtsMap changes", session); - }); - - it(`with depedency files map file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsMapLocation)); - - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/dependency dtsMap not present", session); - }); - it(`with depedency files map file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsMapLocation)!; - host.deleteFile(dtsMapLocation); - }); - - host.writeFile(dtsMapLocation, fileContents!); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/dependency dtsMap created", session); - }); - it(`with depedency files map file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsMapLocation); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/dependency dtsMap deleted", session); - }); - - it(`with depedency .d.ts file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsLocation)); - - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/dependency dts not present", session); - }); - it(`with depedency .d.ts file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsLocation)!; - host.deleteFile(dtsLocation); - }); - - host.writeFile(dtsLocation, fileContents!); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/dependency dts created", session); - }); - it(`with depedency .d.ts file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsLocation); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configHasNoReference/dependency dts deleted", session); - }); - }); - describe("when main tsconfig has project reference", () => { - function setup(onHostCreate?: OnHostCreate) { - return setupWithDependencyTs(createSessionWithProjectReferences, onHostCreate); - } - - function setupWithAction(onHostCreate?: OnHostCreate) { - return setupWithActionWith(setup, onHostCreate); - } - - it("rename locations from dependency", () => { - const { session } = setup(); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/rename locations", session); - }); - - // Edit - it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/usage file changes with timeout before request", session); - }); - it(`when usage file changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToDependencyTs(session); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/usage file changes", session); - }); - - // Edit dts to add new fn - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency dts changes with timeout before request", session); - }); - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency dts changes", session); - }); - - // Edit map file to represent added new line - it(`when dependency file's map changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency dtsMap changes with timeout before request", session); - }); - it(`when dependency file's map changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency dtsMap changes", session); - }); - - it(`with depedency files map file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsMapLocation)); - - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency dtsMap not present", session); - }); - it(`with depedency files map file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsMapLocation)!; - host.deleteFile(dtsMapLocation); - }); - - host.writeFile(dtsMapLocation, fileContents!); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency dtsMap created", session); - }); - it(`with depedency files map file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsMapLocation); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency dtsMap deleted", session); - }); - - it(`with depedency .d.ts file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsLocation)); - - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency dts not present", session); - }); - it(`with depedency .d.ts file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsLocation)!; - host.deleteFile(dtsLocation); - }); - - host.writeFile(dtsLocation, fileContents!); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency dts created", session); - }); - it(`with depedency .d.ts file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsLocation); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency dts deleted", session); - }); - it(`when defining project source changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - // Make change, without rebuild of solution + verifyScenario({ + scenarioLocation: "dependency", + scenario: "rename locations", + openFiles: [dependencyTs, randomFile], + action: renameFromDependencyTs, + change: makeChangeToDependencyTs, + referenceChange: session => session.executeCommandSeq({ command: ts.server.protocol.CommandTypes.Change, arguments: { @@ -1616,1074 +436,24 @@ ${dependencyTs.content}`, offset: 1, endLine: 1, endOffset: 1, - insertString: `function fooBar() { } -`, - }, - }); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - renameFromDependencyTsWithDependencyChange, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency source changes with timeout before request", session); - }); - it(`when defining project source changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session } = setupWithAction(); - - // change - // Make change, without rebuild of solution - session.executeCommandSeq({ - command: ts.server.protocol.CommandTypes.Change, - arguments: { - file: dependencyTs.path, - line: 1, - offset: 1, - endLine: 1, - endOffset: 1, - insertString: `function fooBar() { } -`, + insertString: "function fooBar() { }\n", }, - }); - - // action - verifyAllFnAction( - session, - renameFromDependencyTsWithDependencyChange, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/dependency source changes", session); - }); - - it("when projects are not built", () => { - const host = createServerHost(files); - const session = new TestSession(host); - openFilesForSession([dependencyTs, randomFile], session); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/configWithReference/when projects are not built", session); - }); - }); - describe("when main tsconfig has disableSourceOfProjectReferenceRedirect along with project reference", () => { - function setup(onHostCreate?: OnHostCreate) { - return setupWithDependencyTs(createSessionWithDisabledProjectReferences, onHostCreate); - } - - function setupWithAction(onHostCreate?: OnHostCreate) { - return setupWithActionWith(setup, onHostCreate); - } - - it("rename locations from dependency", () => { - const { session } = setup(); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/rename locations", session); - }); - - // Edit - it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/usage file changes with timeout before request", session); - }); - it(`when usage file changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToDependencyTs(session); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/usage file changes", session); - }); - - // Edit dts to add new fn - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/dependency dts changes with timeout before request", session); - }); - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/dependency dts changes", session); - }); - - // Edit map file to represent added new line - it(`when dependency file's map changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/dependency dtsMap changes with timeout before request", session); - }); - it(`when dependency file's map changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - - // action - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/dependency dtsMap changes", session); - }); - - it(`with depedency files map file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsMapLocation)); - - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/dependency dtsMap not present", session); - }); - it(`with depedency files map file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsMapLocation)!; - host.deleteFile(dtsMapLocation); - }); - - host.writeFile(dtsMapLocation, fileContents!); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/dependency dtsMap created", session); - }); - it(`with depedency files map file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsMapLocation); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/dependency dtsMap deleted", session); - }); - - it(`with depedency .d.ts file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsLocation)); - - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/dependency dts not present", session); - }); - it(`with depedency .d.ts file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsLocation)!; - host.deleteFile(dtsLocation); - }); - - host.writeFile(dtsLocation, fileContents!); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/dependency dts created", session); - }); - it(`with depedency .d.ts file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsLocation); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependency/disabledSourceRef/dependency dts deleted", session); - }); + }), + referenceChangeAction: renameFromDependencyTsWithDependencyChange, }); }); describe("when opening depedency and usage project: goToDef and rename", () => { - function setupWithActionWith(setup: (onHostCreate?: OnHostCreate) => ReturnType, onHostCreate: OnHostCreate | undefined) { - const result = setup(onHostCreate); - result.session.executeCommandSeq(goToDefFromMainTs(1)); - result.session.executeCommandSeq(renameFromDependencyTs(1)); - return { ...result, ...getDocumentPositionMapper(result.session) }; - } - - describe("when main tsconfig doesnt have project reference", () => { - function setup(onHostCreate?: OnHostCreate) { - return setupWithMainTsAndDependencyTs(createSessionWithoutProjectReferences, onHostCreate); - } - - function setupWithAction(onHostCreate?: OnHostCreate) { - return setupWithActionWith(setup, onHostCreate); - } - - it("goto Definition in usage and rename locations from defining project", () => { - const { session } = setup(); - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { dependencyMap, documentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/goToDef and rename locations", session); - }); - - // Edit - it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/usage file changes with timeout before request", session); - }); - it(`when usage file changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - makeChangeToDependencyTs(session); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/usage file changes", session); - }); - - // Edit dts to add new fn - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/dependency dts changes with timeout before request", session); - }); - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/dependency dts changes", session); - }); - - // Edit map file to represent added new line - it(`when dependency file's map changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { documentPositionMapper: newDocumentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - newDocumentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/dependency dtsMap changes with timeout before request", session); - }); - it(`when dependency file's map changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { documentPositionMapper: newDocumentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - newDocumentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/dependency dtsMap changes", session); - }); - - it(`with depedency files map file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsMapLocation)); - - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/dependency dtsMap not present", session); - }); - it(`with depedency files map file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsMapLocation)!; - host.deleteFile(dtsMapLocation); - }); - - host.writeFile(dtsMapLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { dependencyMap: newDependencyMap, documentPositionMapper: newDocumentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - newDependencyMap, - newDocumentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/dependency dtsMap created", session); - }); - it(`with depedency files map file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsMapLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { dependencyMap: newDependencyMap, documentPositionMapper: newDocumentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - newDependencyMap, - newDocumentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/dependency dtsMap deleted", session); - }); - - it(`with depedency .d.ts file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsLocation)); - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/dependency dts not present", session); - }); - it(`with depedency .d.ts file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsLocation)!; - host.deleteFile(dtsLocation); - }); - - host.writeFile(dtsLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { dependencyMap: newDependencyMap, documentPositionMapper: newDocumentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - newDependencyMap, - newDocumentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/dependency dts created", session); - }); - it(`with depedency .d.ts file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configHasNoReference/dependency dts deleted", session); - }); - }); - describe("when main tsconfig has project reference", () => { - function setup(onHostCreate?: OnHostCreate) { - return setupWithMainTsAndDependencyTs(createSessionWithProjectReferences, onHostCreate); - } - - function setupWithAction(onHostCreate?: OnHostCreate) { - return setupWithActionWith(setup, onHostCreate); - } - - it("goto Definition in usage and rename locations from defining project", () => { - const { session } = setup(); - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/gotoDef and rename locations", session); - }); - - // Edit - it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change + verifyScenario({ + scenarioLocation: "dependencyAndUsage", + scenario: "goToDef and rename locations", + openFiles: [mainTs, dependencyTs, randomFile], + action: [goToDefFromMainTs, renameFromDependencyTs], + change: session => { makeChangeToMainTs(session); makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/usage file changes with timeout before request", session); - }); - it(`when usage file changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - makeChangeToDependencyTs(session); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/usage file changes", session); - }); - - // Edit dts to add new fn - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency dts changes with timeout before request", session); - }); - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency dts changes", session); - }); - - // Edit map file to represent added new line - it(`when dependency file's map changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency dtsMap changes with timeout before request", session); - }); - it(`when dependency file's map changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency dtsMap changes", session); - }); - - it(`with depedency files map file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsMapLocation)); - - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency dtsMap not present", session); - }); - it(`with depedency files map file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsMapLocation)!; - host.deleteFile(dtsMapLocation); - }); - - host.writeFile(dtsMapLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - /*skipMapPathInDtsInfo*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency dtsMap created", session); - }); - it(`with depedency files map file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsMapLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - /*skipMapPathInDtsInfo*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency dtsMap deleted", session); - }); - - it(`with depedency .d.ts file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsLocation)); - - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency dts not present", session); - }); - it(`with depedency .d.ts file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsLocation)!; - host.deleteFile(dtsLocation); - }); - - host.writeFile(dtsLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency dts created", session); - }); - it(`with depedency .d.ts file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency dts deleted", session); - }); - it(`when defining project source changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - // Make change, without rebuild of solution - session.executeCommandSeq({ - command: ts.server.protocol.CommandTypes.Change, - arguments: { - file: dependencyTs.path, - line: 1, - offset: 1, - endLine: 1, - endOffset: 1, - insertString: `function fooBar() { } -`, - }, - }); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTsWithDependencyChange, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency source changes with timeout before request", session); - }); - it(`when defining project source changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - // Make change, without rebuild of solution + }, + referenceChange: session => session.executeCommandSeq({ command: ts.server.protocol.CommandTypes.Change, arguments: { @@ -2692,409 +462,10 @@ ${dependencyTs.content}`, offset: 1, endLine: 1, endOffset: 1, - insertString: `function fooBar() { } - `, + insertString: "function fooBar() { }\n", }, - }); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTsWithDependencyChange, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/dependency source changes", session); - }); - - it("when projects are not built", () => { - const host = createServerHost(files); - const session = new TestSession(host); - openFilesForSession([mainTs, dependencyTs, randomFile], session); - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/configWithReference/when projects are not built", session); - }); - }); - describe("when main tsconfig has disableSourceOfProjectReferenceRedirect along with project reference", () => { - function setup(onHostCreate?: OnHostCreate) { - return setupWithMainTsAndDependencyTs(createSessionWithDisabledProjectReferences, onHostCreate); - } - - function setupWithAction(onHostCreate?: OnHostCreate) { - return setupWithActionWith(setup, onHostCreate); - } - - it("goto Definition in usage and rename locations from defining project", () => { - const { session } = setup(); - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { dependencyMap, documentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/gotoDef and rename locations", session); - }); - - // Edit - it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/usage file changes with timeout before request", session); - }); - it(`when usage file changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - makeChangeToMainTs(session); - makeChangeToDependencyTs(session); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/usage file changes", session); - }); - - // Edit dts to add new fn - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/dependency dts changes with timeout before request", session); - }); - it(`when dependency .d.ts changes, document position mapper doesnt change, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/dependency dts changes", session); - }); - - // Edit map file to represent added new line - it(`when dependency file's map changes, when timeout occurs before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); - verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { documentPositionMapper: newDocumentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - newDocumentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/dependency dtsMap changes with timeout before request", session); - }); - it(`when dependency file's map changes, when timeout does not occur before request`, () => { - // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // change - changeDtsMapFile(host); - - // action - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { documentPositionMapper: newDocumentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - newDocumentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/dependency dtsMap changes", session); - }); - - it(`with depedency files map file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsMapLocation)); - - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/dependency dtsMap not present", session); - }); - it(`with depedency files map file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsMapLocation)!; - host.deleteFile(dtsMapLocation); - }); - - host.writeFile(dtsMapLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { dependencyMap: newDependencyMap, documentPositionMapper: newDocumentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - newDependencyMap, - newDocumentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/dependency dtsMap created", session); - }); - it(`with depedency files map file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsMapLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { dependencyMap: newDependencyMap, documentPositionMapper: newDocumentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - newDependencyMap, - newDocumentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/dependency dtsMap deleted", session); - }); - - it(`with depedency .d.ts file, when file is not present`, () => { - const { session } = setup(host => host.deleteFile(dtsLocation)); - - verifyAllFnAction( - session, - goToDefFromMainTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - /*existingDependencyMap*/ undefined, - /*existingDocumentPositionMapper*/ undefined, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/dependency dts not present", session); - }); - it(`with depedency .d.ts file, when file is created after actions on projects`, () => { - let fileContents: string; - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(host => { - fileContents = host.readFile(dtsLocation)!; - host.deleteFile(dtsLocation); - }); - - host.writeFile(dtsLocation, fileContents!); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ false, - /*existingDocumentPositionMapperEqual*/ false, - ); - const { dependencyMap: newDependencyMap, documentPositionMapper: newDocumentPositionMapper } = getDocumentPositionMapper(session); - verifyAllFnAction( - session, - renameFromDependencyTs, - newDependencyMap, - newDocumentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/dependency dts created", session); - }); - it(`with depedency .d.ts file, when file is deleted after actions on the projects`, () => { - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); - - // The dependency file is deleted when orphan files are collected - host.deleteFile(dtsLocation); - verifyAllFnAction( - session, - goToDefFromMainTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyAllFnAction( - session, - renameFromDependencyTs, - dependencyMap, - documentPositionMapper, - /*existingMapEqual*/ true, - /*existingDocumentPositionMapperEqual*/ true, - ); - verifyScriptInfoCollectionWith(session, [mainTs, dependencyTs]); - baselineTsserverLogs("projectReferencesSourcemap", "dependencyAndUsage/disabledSourceRef/dependency dts deleted", session); - }); + }), + referenceChangeAction: [goToDefFromMainTs, renameFromDependencyTsWithDependencyChange], }); }); }); diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js b/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js index e5ff048dfe8b9..0a2f93cdfd0ba 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js @@ -154,8 +154,9 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* *default* /dev/null/auxiliaryProject1* *new* -/b.d.ts +/b.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 1 /dev/null/inferredProject1* /b.js *new* @@ -223,6 +224,7 @@ ScriptInfos:: /dev/null/auxiliaryProject1* /b.d.ts version: Text-1 + sourceMapFilePath: false containingProjects: 1 /dev/null/inferredProject1* /b.js (Open) *changed* diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js index 6ad9717631e0a..b46b199950725 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js @@ -278,8 +278,9 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* *default* /dev/null/auxiliaryProject1* *new* -/user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts +/user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 1 /dev/null/inferredProject1* /user/users/projects/myproject/node_modules/@types/yargs/index.d.ts @@ -375,3 +376,32 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/index.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /dev/null/inferredProject1* *default* + /dev/null/auxiliaryProject1* +/user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/node_modules/@types/yargs/index.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 1 + /dev/null/inferredProject1* +/user/users/projects/myproject/node_modules/yargs/callback.js + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/user/users/projects/myproject/node_modules/yargs/index.js + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js index a4e4a2b4fbb38..799336819dda0 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js @@ -317,8 +317,9 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* /dev/null/auxiliaryProject1* *new* -/user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts +/user/users/projects/myproject/node_modules/@types/yargs/callback.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 1 /dev/null/inferredProject1* /user/users/projects/myproject/node_modules/@types/yargs/index.d.ts diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js b/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js index 3fefcfc746202..b1110bd049b40 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/does-not-jump-to-source-if-inlined-sources.js @@ -195,12 +195,15 @@ FsWatches:: {} ScriptInfos:: -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + documentPositionMapper: false containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -284,20 +287,28 @@ FsWatches:: ScriptInfos:: /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + documentPositionMapper: false containingProjects: 0 /b/b.ts *new* version: Text-1 containingProjects: 0 -/b/bin/b.d.ts +/b/bin/b.d.ts *changed* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map *new* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + sourceInfos: 1 + /b/b.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts (Open) version: SVC-1-0 @@ -355,20 +366,28 @@ Projects:: ScriptInfos:: /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + documentPositionMapper: false containingProjects: 0 /b/b.ts version: Text-1 containingProjects: 0 /b/bin/b.d.ts version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + sourceInfos: 1 + /b/b.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts *changed* open: false *changed* @@ -469,20 +488,28 @@ Projects:: ScriptInfos:: /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + documentPositionMapper: false containingProjects: 0 /b/b.ts *deleted* version: Text-1 containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /b/bin/b.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + sourceInfos: 1 + /b/b.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /dummy/dummy.ts (Open) *new* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js index b7e9c3ba61891..c31c18ee8dded 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js @@ -1064,12 +1064,17 @@ ScriptInfos:: version: SVC-2-0 containingProjects: 1 /a/tsconfig.json *default* -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1148,10 +1153,15 @@ ScriptInfos:: /a/tsconfig.json *default* /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1271,10 +1281,15 @@ ScriptInfos:: /a/tsconfig.json *default* /a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js index 8ce71d69ec1d5..af9ccf414c698 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js @@ -861,12 +861,15 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/b/bin/b.d.ts +/b/bin/b.d.ts *changed* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map *new* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts (Open) version: SVC-1-0 @@ -924,10 +927,13 @@ ScriptInfos:: /dev/null/inferredProject1* /b/bin/b.d.ts version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts *changed* open: false *changed* @@ -1026,10 +1032,13 @@ ScriptInfos:: /dev/null/inferredProject1* *deleted* /b/bin/b.d.ts *deleted* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /b/bin/b.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /dummy/dummy.ts (Open) *new* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js index b8e3da95aa255..a376b0694b5ab 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js @@ -933,12 +933,17 @@ ScriptInfos:: version: Text-2 containingProjects: 1 /a/tsconfig.json -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1018,10 +1023,15 @@ ScriptInfos:: /a/tsconfig.json /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1154,10 +1164,15 @@ ScriptInfos:: /a/tsconfig.json *deleted* /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js index 1ce5b95c5c8a9..a00ac982ceb78 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js @@ -967,12 +967,17 @@ ScriptInfos:: version: Text-2 containingProjects: 1 /a/tsconfig.json -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1052,10 +1057,15 @@ ScriptInfos:: /a/tsconfig.json /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1188,10 +1198,15 @@ ScriptInfos:: /a/tsconfig.json *deleted* /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js index b8f022bb1fff0..edc4ef4e3b79d 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js @@ -854,12 +854,17 @@ ScriptInfos:: /a/a.ts *new* version: Text-2 containingProjects: 0 -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -922,10 +927,15 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1030,10 +1040,15 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js index 103f88d1e62b1..a7782b159e0a5 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js @@ -841,19 +841,27 @@ ScriptInfos:: /a/a.ts *new* version: Text-2 containingProjects: 0 -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/b/bin/b.d.ts +/b/bin/b.d.ts *changed* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map *new* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts (Open) version: SVC-1-0 @@ -914,17 +922,25 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts *changed* open: false *changed* @@ -1028,17 +1044,25 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /b/bin/b.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /dummy/dummy.ts (Open) *new* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js index ee8c8dbec349e..b1305fd0ec08f 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js @@ -840,12 +840,15 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/b/bin/b.d.ts +/b/bin/b.d.ts *changed* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map *new* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts (Open) version: SVC-1-0 @@ -903,10 +906,13 @@ ScriptInfos:: /dev/null/inferredProject1* /b/bin/b.d.ts version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts *changed* open: false *changed* @@ -1005,10 +1011,13 @@ ScriptInfos:: /dev/null/inferredProject1* *deleted* /b/bin/b.d.ts *deleted* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /b/bin/b.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /dummy/dummy.ts (Open) *new* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js index 200214255d688..1712c868eb847 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js @@ -842,12 +842,17 @@ ScriptInfos:: /a/a.ts *new* version: Text-2 containingProjects: 0 -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -910,10 +915,15 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1018,10 +1028,15 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js index 9ff4a7c32060c..fc3a17ea1e0d4 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js @@ -842,12 +842,17 @@ ScriptInfos:: /a/a.ts *new* version: Text-2 containingProjects: 0 -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -910,10 +915,15 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1018,10 +1028,15 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js index 90d1013836d67..280f6d595b148 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js @@ -842,12 +842,17 @@ ScriptInfos:: /a/a.ts *new* version: Text-2 containingProjects: 0 -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -910,10 +915,15 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1018,10 +1028,15 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js index 6c26a18e13a2f..be9a17ca7021f 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js @@ -857,19 +857,27 @@ ScriptInfos:: /a/a.ts *new* version: Text-2 containingProjects: 0 -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/b/bin/b.d.ts +/b/bin/b.d.ts *changed* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map *new* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts (Open) version: SVC-1-0 @@ -930,17 +938,25 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts *changed* open: false *changed* @@ -1044,17 +1060,25 @@ ScriptInfos:: containingProjects: 0 /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /b/bin/b.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /dummy/dummy.ts (Open) *new* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js index 09abc4b91f905..5779b5a2d7090 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js @@ -1076,12 +1076,17 @@ ScriptInfos:: version: SVC-2-0 containingProjects: 1 /a/tsconfig.json *default* -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1160,10 +1165,15 @@ ScriptInfos:: /a/tsconfig.json *default* /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1283,10 +1293,15 @@ ScriptInfos:: /a/tsconfig.json *default* /a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js index 8daf9003f2f9a..fcb27277f773d 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js @@ -878,12 +878,15 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/b/bin/b.d.ts +/b/bin/b.d.ts *changed* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map *new* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts (Open) version: SVC-1-0 @@ -941,10 +944,13 @@ ScriptInfos:: /dev/null/inferredProject1* /b/bin/b.d.ts version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /b/bin/b.d.ts.map version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/user.ts *changed* open: false *changed* @@ -1043,10 +1049,13 @@ ScriptInfos:: /dev/null/inferredProject1* *deleted* /b/bin/b.d.ts *deleted* version: Text-1 + sourceMapFilePath: /b/bin/b.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /b/bin/b.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /b/bin/b.d.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /dummy/dummy.ts (Open) *new* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js index fbe2550d07be3..7031c394e3a1c 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js @@ -947,12 +947,17 @@ ScriptInfos:: version: Text-2 containingProjects: 1 /a/tsconfig.json -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1032,10 +1037,15 @@ ScriptInfos:: /a/tsconfig.json /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1168,10 +1178,15 @@ ScriptInfos:: /a/tsconfig.json *deleted* /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js index 947d44d07ab5a..a2a7cbdf2b26f 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js @@ -908,12 +908,17 @@ ScriptInfos:: version: Text-2 containingProjects: 1 /a/tsconfig.json -/a/bin/a.d.ts +/a/bin/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -993,10 +998,15 @@ ScriptInfos:: /a/tsconfig.json /a/bin/a.d.ts version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 1 /dev/null/inferredProject1* /a/bin/a.d.ts.map version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts version: Text-1 @@ -1129,10 +1139,15 @@ ScriptInfos:: /a/tsconfig.json *deleted* /a/bin/a.d.ts *deleted* version: Text-1 + sourceMapFilePath: /a/bin/a.d.ts.map containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* /a/bin/a.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /a/bin/a.d.ts + sourceInfos: 1 + /a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /b/bin/b.d.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js index 505242d86d828..db28dcecc54ee 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js @@ -474,12 +474,17 @@ ScriptInfos:: containingProjects: 2 *changed* /user/username/projects/b/tsconfig.json /user/username/projects/a/tsconfig.json *new* -/user/username/projects/a/a.d.ts +/user/username/projects/a/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/a/a.d.ts.map *changed* containingProjects: 1 /user/username/projects/b/tsconfig.json /user/username/projects/a/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/a/a.d.ts + sourceInfos: 1 + /user/username/projects/a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/a/a.ts *new* version: Text-1 diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js index 1a862cae0499e..1856316f29d1c 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js @@ -468,12 +468,17 @@ ScriptInfos:: containingProjects: 2 *changed* /user/username/projects/b/tsconfig.json /user/username/projects/a/tsconfig.json *new* -/user/username/projects/a/a.d.ts +/user/username/projects/a/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/a/a.d.ts.map *changed* containingProjects: 1 /user/username/projects/b/tsconfig.json /user/username/projects/a/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/a/a.d.ts + sourceInfos: 1 + /user/username/projects/a/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/a/a.ts *new* version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js index 09e0f23c9f592..61f6954a6bd05 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js @@ -769,12 +769,17 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/a/index.d.ts +/a/index.d.ts *changed* version: Text-1 + sourceMapFilePath: /a/index.d.ts.map *changed* containingProjects: 1 /b/tsconfig.json /a/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /a/index.d.ts + sourceInfos: 1 + /a/index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /a/index.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js index 84742d6605a07..ec9ac24597be0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js @@ -384,12 +384,17 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/tests/cases/fourslash/server/indexdef.d.ts +/tests/cases/fourslash/server/indexdef.d.ts *changed* version: Text-1 + sourceMapFilePath: /tests/cases/fourslash/server/indexdef.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject2* /tests/cases/fourslash/server/indexdef.d.ts.map *new* version: Text-1 + declarationInfoPath: /tests/cases/fourslash/server/indexdef.d.ts + sourceInfos: 1 + /tests/cases/fourslash/server/index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /tests/cases/fourslash/server/mymodule.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js index 2d4c201c208b5..42ed62c613fb2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js @@ -535,12 +535,17 @@ watchedFiles:: {"pollingInterval":2000} ScriptInfos:: -/dist/index.d.ts +/dist/index.d.ts *changed* version: Text-1 + sourceMapFilePath: /dist/index.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject2* /dist/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /dist/index.d.ts + sourceInfos: 1 + /index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /index.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js index a4d113c6d85b5..fbaacba592998 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js @@ -537,12 +537,17 @@ watchedFiles:: {"pollingInterval":2000} ScriptInfos:: -/dist/index.d.ts +/dist/index.d.ts *changed* version: Text-1 + sourceMapFilePath: /dist/index.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject2* /dist/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /dist/index.d.ts + sourceInfos: 1 + /index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /index.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js index aea9d1db12354..39a35d98a6fcc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js @@ -533,12 +533,17 @@ watchedFiles:: {"pollingInterval":2000} ScriptInfos:: -/dist/index.d.ts +/dist/index.d.ts *changed* version: Text-1 + sourceMapFilePath: /dist/index.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject2* /dist/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /dist/index.d.ts + sourceInfos: 1 + /index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /index.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js index b15d3e4313c89..f0d1f3b4ccef1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js @@ -545,12 +545,17 @@ watchedFiles:: {"pollingInterval":2000} ScriptInfos:: -/dist/index.d.ts +/dist/index.d.ts *changed* version: Text-1 + sourceMapFilePath: /dist/index.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject2* /dist/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /dist/index.d.ts + sourceInfos: 1 + /index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /index.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js index 642ff4439e0af..fd8be5613aedf 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js @@ -565,12 +565,17 @@ watchedFiles:: {"pollingInterval":2000} ScriptInfos:: -/dist/index.d.ts +/dist/index.d.ts *changed* version: Text-1 + sourceMapFilePath: /dist/index.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject2* /dist/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /dist/index.d.ts + sourceInfos: 1 + /index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /index.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js index 9fe241b3c6064..390a07cecd523 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js @@ -384,10 +384,15 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/tests/cases/fourslash/server/out/indexdef.d.ts +/tests/cases/fourslash/server/out/indexdef.d.ts *changed* version: Text-1 + sourceMapFilePath: /tests/cases/fourslash/server/out/indexdef.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject2* /tests/cases/fourslash/server/out/indexdef.d.ts.map *new* version: Text-1 + declarationInfoPath: /tests/cases/fourslash/server/out/indexdef.d.ts + sourceInfos: 1 + /tests/cases/fourslash/server/index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js index f5b0aefe9ec14..ffec259f2eeb3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js @@ -503,12 +503,17 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /tests/cases/fourslash/server/buttonClass/tsconfig.json -/tests/cases/fourslash/server/BaseClass/Source.d.ts (Open) +/tests/cases/fourslash/server/BaseClass/Source.d.ts (Open) *changed* version: SVC-1-0 + sourceMapFilePath: /tests/cases/fourslash/server/baseclass/source.d.ts.map *changed* containingProjects: 1 /tests/cases/fourslash/server/buttonClass/tsconfig.json *default* /tests/cases/fourslash/server/BaseClass/Source.d.ts.map *new* version: Text-1 + declarationInfoPath: /tests/cases/fourslash/server/baseclass/source.d.ts + sourceInfos: 1 + /tests/cases/fourslash/server/baseclass/source.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /tests/cases/fourslash/server/BaseClass/Source.ts *new* version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js index 9598f71ee85b3..0e5279294e72f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js @@ -301,12 +301,17 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject2* -/node_modules/a/dist/index.d.ts (Open) +/node_modules/a/dist/index.d.ts (Open) *changed* version: SVC-1-0 + sourceMapFilePath: /node_modules/a/dist/index.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject2* *default* /node_modules/a/dist/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /node_modules/a/dist/index.d.ts + sourceInfos: 1 + /node_modules/a/src/index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /node_modules/a/src/index.ts *new* version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js index 98074faf25126..a787c0f0f9941 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js @@ -260,8 +260,9 @@ Projects:: noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* ScriptInfos:: -/a.d.ts +/a.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 1 /dev/null/inferredProject2* /a.js (Open) *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js index 5643cb4763a86..b90d0fff13203 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js @@ -346,8 +346,9 @@ ScriptInfos:: containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* -/node_modules/@types/yargs/index.d.ts +/node_modules/@types/yargs/index.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js index 6af7d0e7b580d..12eaa2218509c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js @@ -379,8 +379,9 @@ ScriptInfos:: containingProjects: 2 /dev/null/inferredProject1* /tsconfig.json -/node_modules/left-pad/index.d.ts +/node_modules/left-pad/index.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 1 /tsconfig.json /node_modules/left-pad/index.js *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js index 602c90aae0e0a..03fd8c6a1c7fa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js @@ -381,8 +381,9 @@ ScriptInfos:: containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* -/node_modules/@types/yargs/callback.d.ts +/node_modules/@types/yargs/callback.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js index 79be2c705acb2..9b914804fbc2d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js @@ -395,8 +395,9 @@ ScriptInfos:: containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* -/node_modules/@types/yargs/callback.d.ts +/node_modules/@types/yargs/callback.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js index 08cfde66fb5d8..0d3558ae2887f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js @@ -401,8 +401,9 @@ ScriptInfos:: containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* -/node_modules/@types/yargs/callback.d.ts +/node_modules/@types/yargs/callback.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js index ff0ef2392d2d8..aafc19807f3d1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js @@ -260,8 +260,9 @@ Projects:: noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* ScriptInfos:: -/a.d.ts +/a.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 1 /dev/null/inferredProject2* /a.js (Open) *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js index 185875f2a9400..6b1087b166173 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js @@ -304,7 +304,8 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/node_modules/foo/types/main.d.ts +/node_modules/foo/types/main.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 1 /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js index 24a6deb08ecb8..713ec95d70194 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js @@ -320,8 +320,9 @@ ScriptInfos:: containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* -/node_modules/@types/foo/index.d.ts +/node_modules/@types/foo/index.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js index c89797e1e1b61..651d0b83bb9fc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js @@ -283,12 +283,17 @@ ScriptInfos:: /node_modules/foo/src/a.ts *new* version: Text-1 containingProjects: 0 -/node_modules/foo/types/a.d.ts +/node_modules/foo/types/a.d.ts *changed* version: Text-1 + sourceMapFilePath: /node_modules/foo/types/a.d.ts.map *changed* containingProjects: 1 /dev/null/inferredProject2* /node_modules/foo/types/a.d.ts.map *new* version: Text-1 + declarationInfoPath: /node_modules/foo/types/a.d.ts + sourceInfos: 1 + /node_modules/foo/src/a.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js index 0fc5daf6fbcd5..9c5846507805c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js @@ -421,8 +421,9 @@ ScriptInfos:: containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* -/node_modules/@types/lodash/common/math.d.ts +/node_modules/@types/lodash/common/math.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js index 98323ceb89e50..7fedef70d09c8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js @@ -477,4 +477,45 @@ Info seq [hh:mm:ss:mss] response: } } ] - } \ No newline at end of file + } +After Request +ScriptInfos:: +/index.ts (Open) + version: SVC-1-0 + containingProjects: 2 + /dev/null/inferredProject2* *default* + /dev/null/auxiliaryProject1* +/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/lodash/common/math.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/@types/lodash/index.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/node_modules/lodash/lodash.js + version: Text-1 + containingProjects: 1 + /dev/null/auxiliaryProject1* +/node_modules/lodash/package.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js index cfc78588060b7..331590e07ba25 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js @@ -211,6 +211,30 @@ Info seq [hh:mm:ss:mss] response: } ] } +After Request +ScriptInfos:: +/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /tsconfig.json +/node_modules/bar/index.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 1 + /tsconfig.json + Info seq [hh:mm:ss:mss] request: { "seq": 2, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 2841603cb5f6a..6e21201494c12 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -744,10 +744,15 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/myproject/b/tsconfig.json -/user/username/projects/myproject/b/lib/index.d.ts +/user/username/projects/myproject/b/lib/index.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/b/lib/index.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json /user/username/projects/myproject/b/lib/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/b/lib/index.d.ts + sourceInfos: 1 + /user/username/projects/myproject/b/index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 98c72dca0d988..feb53ea64f430 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -744,10 +744,15 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/myproject/b/tsconfig.json -/user/username/projects/myproject/b/lib/index.d.ts +/user/username/projects/myproject/b/lib/index.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/b/lib/index.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json /user/username/projects/myproject/b/lib/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/b/lib/index.d.ts + sourceInfos: 1 + /user/username/projects/myproject/b/index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index e57c584f8aad1..0505bc5e26f79 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -441,10 +441,15 @@ ScriptInfos:: /user/username/projects/myproject/b/index.ts *new* version: Text-1 containingProjects: 0 -/user/username/projects/myproject/b/lib/index.d.ts +/user/username/projects/myproject/b/lib/index.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/b/lib/index.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json /user/username/projects/myproject/b/lib/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/b/lib/index.d.ts + sourceInfos: 1 + /user/username/projects/myproject/b/index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 245f9d1e59f12..9b5dbe2d15476 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -601,10 +601,15 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/myproject/b/tsconfig.json -/user/username/projects/myproject/b/lib/index.d.ts +/user/username/projects/myproject/b/lib/index.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/b/lib/index.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json /user/username/projects/myproject/b/lib/index.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/b/lib/index.d.ts + sourceInfos: 1 + /user/username/projects/myproject/b/index.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js index 40552a340d082..5b277f6f01377 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js @@ -1594,9 +1594,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-src.json *default* /user/username/projects/myproject/target/src/helpers/functions.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -1692,9 +1697,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -1792,9 +1802,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -2076,10 +2091,15 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-src.json *deleted* /user/username/projects/myproject/target/src/helpers/functions.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/target/src/main.d.ts *new* version: Text-1 @@ -2401,15 +2421,25 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/target/src/main.d.ts +/user/username/projects/myproject/target/src/main.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/main.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json /user/username/projects/myproject/target/src/main.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/main.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/main.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js index 54b14d8c93282..7b10fe6ca65de 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js @@ -2113,9 +2113,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-indirect2.json *new* /user/username/projects/myproject/target/src/helpers/functions.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -2257,9 +2262,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -2403,9 +2413,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -2777,10 +2792,15 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-indirect2.json *deleted* /user/username/projects/myproject/target/src/helpers/functions.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/target/src/main.d.ts *new* version: Text-1 @@ -3364,15 +3384,25 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/target/src/main.d.ts +/user/username/projects/myproject/target/src/main.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/main.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json /user/username/projects/myproject/target/src/main.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/main.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/main.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js index 4ac05bc4f51c2..15e0fc60a4dab 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js @@ -915,12 +915,17 @@ ScriptInfos:: containingProjects: 2 /user/username/projects/project/src/common/tsconfig.json /user/username/projects/project/src/tsconfig.json -/user/username/projects/project/out/input/keyboard.d.ts +/user/username/projects/project/out/input/keyboard.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/project/out/input/keyboard.d.ts.map *changed* containingProjects: 1 /user/username/projects/project/src/tsconfig.json /user/username/projects/project/out/input/keyboard.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/project/out/input/keyboard.d.ts + sourceInfos: 1 + /user/username/projects/project/src/common/input/keyboard.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/project/src/common/input/keyboard.test.ts version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js index 954d80805d7e0..c3f0b7271a3c8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js @@ -1822,9 +1822,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json /user/username/projects/myproject/target/src/helpers/functions.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -1932,9 +1937,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -2044,9 +2054,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -2353,10 +2368,15 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/target/src/helpers/functions.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/target/src/main.d.ts *new* version: Text-1 @@ -2757,15 +2777,25 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/target/src/main.d.ts +/user/username/projects/myproject/target/src/main.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/main.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json /user/username/projects/myproject/target/src/main.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/main.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/main.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js index 525fc1a375808..ee06fe2c4b04e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js @@ -2363,9 +2363,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-indirect2.json *new* /user/username/projects/myproject/target/src/helpers/functions.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -2522,9 +2527,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -2683,9 +2693,14 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 0 /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 Before request @@ -3088,10 +3103,15 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-indirect2.json *deleted* /user/username/projects/myproject/target/src/helpers/functions.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/target/src/main.d.ts *new* version: Text-1 @@ -3730,15 +3750,25 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig-indirect2.json /user/username/projects/myproject/target/src/helpers/functions.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json /user/username/projects/myproject/target/src/helpers/functions.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/helpers/functions.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/helpers/functions.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/target/src/main.d.ts +/user/username/projects/myproject/target/src/main.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/target/src/main.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/indirect3/tsconfig.json /user/username/projects/myproject/target/src/main.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/target/src/main.d.ts + sourceInfos: 1 + /user/username/projects/myproject/src/main.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 2dad24f67697a..38344ba90128d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -678,9 +678,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -730,9 +735,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -872,9 +882,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js index 7a371d25e18c3..3eb486665a824 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js @@ -678,9 +678,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -728,9 +733,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -823,9 +833,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js index 5f77d023401a6..b2db289962437 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js @@ -831,9 +831,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1172,9 +1177,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1268,9 +1278,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1358,9 +1373,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1449,9 +1469,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1573,9 +1598,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js index d74e130315ae5..bc018821dc5f6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js @@ -678,9 +678,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -750,9 +755,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1193,6 +1203,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1287,6 +1301,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index d3c48baaf758b..c3301765818fa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -678,9 +678,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -732,10 +737,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -874,10 +884,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js index 9065aa2403c7a..8823b5bd81acf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js @@ -678,9 +678,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -730,10 +735,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -825,10 +835,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js index b154aaead9744..f196b83508fff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js @@ -675,6 +675,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -738,6 +740,25 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + sourceMapFilePath: undefined *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -846,11 +867,16 @@ ScriptInfos:: containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json -/user/username/projects/myproject/decls/FnS.d.ts +/user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1189,9 +1215,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1285,9 +1316,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1375,9 +1411,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1466,9 +1507,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1589,9 +1635,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js index edbbcb144c3de..3919b27af537a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js @@ -678,9 +678,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -748,11 +753,16 @@ ScriptInfos:: containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json -/user/username/projects/myproject/decls/FnS.d.ts +/user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -865,6 +875,26 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + sourceMapFilePath sourceInfos: 1 *changed* + /user/username/projects/myproject/dependency/fns.ts *new* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1193,6 +1223,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1286,6 +1318,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1373,6 +1407,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1461,6 +1497,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1581,6 +1619,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js index dc362f4b0bbcb..11b3b5cca1fa9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js @@ -675,6 +675,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1013,6 +1015,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1106,6 +1110,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1193,6 +1199,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1281,6 +1289,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1401,6 +1411,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js index 02ba57b734019..798540872ae69 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js @@ -678,9 +678,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1019,9 +1024,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1115,9 +1125,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1205,9 +1220,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1296,9 +1316,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1419,9 +1444,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js index b03abaf632d08..e47b02a85e00e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -678,9 +678,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -730,9 +735,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-1-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js index f3b15269310b0..0c914780eaf1d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js @@ -678,9 +678,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -730,9 +735,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-1-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js index fb5c4ed854d3c..1bc24821cb8ff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -735,9 +740,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -877,9 +887,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js index 001c221052965..e9778c5e3c732 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -733,9 +738,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -828,9 +838,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js index 2a1157f3fb571..78a9fbdb3ba12 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js @@ -836,9 +836,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1177,9 +1182,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1273,9 +1283,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1363,9 +1378,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1454,9 +1474,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1578,9 +1603,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js index 91b2263dd6ca4..76895c16136e4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -755,9 +760,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1198,6 +1208,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1292,6 +1306,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 2421d96664d57..48e58aa6fccc9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -737,10 +742,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -879,10 +889,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js index 15dc6b608b1af..28fb2515adcf8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -735,10 +740,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -830,10 +840,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js index 180a53b0969c0..65e554df52b1e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js @@ -680,6 +680,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -743,6 +745,25 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + sourceMapFilePath: undefined *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -851,11 +872,16 @@ ScriptInfos:: containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json -/user/username/projects/myproject/decls/FnS.d.ts +/user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1194,9 +1220,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1290,9 +1321,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1380,9 +1416,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1471,9 +1512,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1594,9 +1640,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js index aa5d32973da9f..a25eb19a162fb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -753,11 +758,16 @@ ScriptInfos:: containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json -/user/username/projects/myproject/decls/FnS.d.ts +/user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -870,6 +880,26 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + sourceMapFilePath sourceInfos: 1 *changed* + /user/username/projects/myproject/dependency/fns.ts *new* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1198,6 +1228,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1291,6 +1323,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1378,6 +1412,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1466,6 +1502,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1586,6 +1624,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js index 6921432b8acc3..eaa180a2a8703 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js @@ -680,6 +680,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1018,6 +1020,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1111,6 +1115,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1198,6 +1204,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1286,6 +1294,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1406,6 +1416,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js index cd685e14fed20..1fbabb1ed781e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -735,9 +740,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-1-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js index 8199e21dec8e7..b5172c13dcff7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -735,9 +740,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-1-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js index 95d53933e9314..5965bf6277281 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1024,9 +1029,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1120,9 +1130,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1210,9 +1225,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1301,9 +1321,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1424,9 +1449,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js index ef9d4b7504bfe..d2cacc726df43 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -735,9 +740,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-1-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js index a1f8343d5a06f..7388843ac15c7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js @@ -683,9 +683,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -735,9 +740,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-1-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 199f59e404d03..6c6d6bf278791 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -684,9 +684,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -736,9 +741,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -878,9 +888,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js index ed5847530cb4d..9ed5f53e094b9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js @@ -684,9 +684,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -734,9 +739,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -829,9 +839,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js index 193ddc6a267b7..52de1d262e95f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js @@ -837,9 +837,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1178,9 +1183,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1274,9 +1284,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1364,9 +1379,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1455,9 +1475,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1579,9 +1604,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js index 2a2024d406c4d..87709e20fb796 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js @@ -684,9 +684,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -756,9 +761,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1199,6 +1209,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1293,6 +1307,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index c8fd3ab9450db..631b453d8ea31 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -684,9 +684,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -738,10 +743,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -880,10 +890,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js index cdb589538cd75..a6aa4815ace70 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js @@ -684,9 +684,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -736,10 +741,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -831,10 +841,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js index b688e9872cc9b..142420ae1891b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js @@ -681,6 +681,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -744,6 +746,25 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + sourceMapFilePath: undefined *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "rename", @@ -852,11 +873,16 @@ ScriptInfos:: containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json -/user/username/projects/myproject/decls/FnS.d.ts +/user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1195,9 +1221,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1291,9 +1322,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1381,9 +1417,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1472,9 +1513,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1595,9 +1641,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js index d974276a8c2e0..a1dd0b791cfe8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js @@ -684,9 +684,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -754,11 +759,16 @@ ScriptInfos:: containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json -/user/username/projects/myproject/decls/FnS.d.ts +/user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -871,6 +881,26 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + sourceMapFilePath sourceInfos: 1 *changed* + /user/username/projects/myproject/dependency/fns.ts *new* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1199,6 +1229,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1292,6 +1324,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1379,6 +1413,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1467,6 +1503,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1587,6 +1625,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js index 2774542b56504..798771240cf9f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js @@ -681,6 +681,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1019,6 +1021,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1112,6 +1116,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1199,6 +1205,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1287,6 +1295,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1407,6 +1417,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js index 37c9257f72bb3..849ba6004b531 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js @@ -684,9 +684,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1025,9 +1030,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1121,9 +1131,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -1211,9 +1226,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -1302,9 +1322,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: SVC-1-0 @@ -1425,9 +1450,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 92862a999e899..1a8443febf58a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -684,9 +684,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -736,9 +741,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-1-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js index 1920b880230d9..e2abbce0c404f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js @@ -684,9 +684,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -736,9 +741,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-1-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 09926c5736a19..fecf73642c0cc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -914,9 +914,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1092,10 +1097,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1206,10 +1216,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: undefined *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1277,6 +1292,38 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js index 9fbc0cd331d30..76ac53153f344 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js @@ -914,9 +914,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1089,10 +1094,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1191,10 +1201,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js index e76578bfd178b..05942f47828cc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js @@ -1145,9 +1145,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1974,9 +1979,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2095,9 +2105,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2210,9 +2225,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2326,9 +2346,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *changed* @@ -2443,9 +2468,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -2618,9 +2648,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js index 9ead022b664dc..eb76ae881df8c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js @@ -914,9 +914,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1124,9 +1129,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1900,6 +1910,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -2018,6 +2032,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index d065b3e14ee51..50c775502e8f4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -914,9 +914,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1096,9 +1101,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1256,9 +1266,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js index 40f2b2f54e51d..08bfff91018c2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js @@ -914,9 +914,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1093,9 +1098,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1189,9 +1199,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js index ed041fd4e5e00..085c0bba18d95 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js @@ -965,6 +965,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + sourceMapFilePath sourceInfos: 1 *changed* + /user/username/projects/myproject/dependency/fns.ts *new* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 0:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1035,6 +1061,31 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + sourceMapFilePath: undefined *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -1147,9 +1198,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1976,9 +2032,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2097,9 +2158,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2212,9 +2278,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2328,9 +2399,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *changed* @@ -2445,9 +2521,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -2619,9 +2700,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js index 379daa1705e31..e7117a73cdfa9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js @@ -914,9 +914,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1122,9 +1127,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1533,6 +1543,32 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + sourceMapFilePath sourceInfos: 1 *changed* + /user/username/projects/myproject/dependency/fns.ts *new* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1881,6 +1917,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1999,6 +2037,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2111,6 +2151,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2224,6 +2266,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *changed* @@ -2338,6 +2382,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -2509,6 +2555,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js index a6dd8a265abfd..ffb056b69cbda 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js @@ -1173,6 +1173,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + sourceMapFilePath sourceInfos: 1 *changed* + /user/username/projects/myproject/dependency/fns.ts *new* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1519,6 +1545,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1635,6 +1663,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1745,6 +1775,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1856,6 +1888,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *changed* @@ -1968,6 +2002,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -2137,6 +2173,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js index 31a7cf4b72172..9898620a930a1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js @@ -914,9 +914,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1739,9 +1744,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1860,9 +1870,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1975,9 +1990,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2091,9 +2111,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *changed* @@ -2208,9 +2233,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -2382,9 +2412,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 8d8d6bcab9c23..477ebab3a0e65 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -914,9 +914,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1088,9 +1093,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1152,9 +1162,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js index 504ead876eb68..82dda9ba87953 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js @@ -914,9 +914,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1088,9 +1093,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1152,9 +1162,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js index a09696b4d2f47..c9983e7e0ba74 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -1038,9 +1038,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1106,9 +1111,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1573,9 +1583,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js index 97d622f81a917..39438d5b9f87f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js @@ -1038,9 +1038,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1103,9 +1108,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1524,9 +1534,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js index 7933612f02a00..22bb03bbe4da9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js @@ -1523,9 +1523,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2030,9 +2035,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2152,9 +2162,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2268,9 +2283,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2385,9 +2405,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -2503,9 +2528,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: Text-1 @@ -2679,9 +2709,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js index 646e22d61c164..1125312ce1cac 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js @@ -1038,9 +1038,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1137,9 +1142,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2080,6 +2090,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2200,6 +2214,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 3658448a29768..27add43ab6d06 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -1038,9 +1038,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1108,10 +1113,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1575,10 +1585,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js index f819456966af0..00ded71db663e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js @@ -1038,9 +1038,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1105,10 +1110,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1526,10 +1536,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js index 19b65eb5164ac..29634a13f2540 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js @@ -1035,6 +1035,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1122,6 +1124,31 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + sourceMapFilePath: undefined *changed* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -1559,11 +1586,16 @@ ScriptInfos:: /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json -/user/username/projects/myproject/decls/FnS.d.ts +/user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2068,9 +2100,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2190,9 +2227,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2306,9 +2348,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2423,9 +2470,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -2541,9 +2593,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: Text-1 @@ -2716,9 +2773,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js index 120c8069cd271..600f08776a6e1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js @@ -1038,9 +1038,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1133,11 +1138,16 @@ ScriptInfos:: /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/tsconfig.json /user/username/projects/myproject/random/tsconfig.json -/user/username/projects/myproject/decls/FnS.d.ts +/user/username/projects/myproject/decls/FnS.d.ts *changed* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1583,6 +1593,32 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts *changed* + version: Text-1 + sourceMapFilePath sourceInfos: 1 *changed* + /user/username/projects/myproject/dependency/fns.ts *new* + containingProjects: 0 +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -2072,6 +2108,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2191,6 +2229,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2304,6 +2344,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2418,6 +2460,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -2533,6 +2577,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: Text-1 @@ -2705,6 +2751,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js index cbf919e171f1e..dba169f5fcbda 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js @@ -1243,6 +1243,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1747,6 +1749,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1866,6 +1870,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1979,6 +1985,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2093,6 +2101,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -2208,6 +2218,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: Text-1 @@ -2380,6 +2392,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js index c17c565e6ada9..e1fe2a55219e6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -1038,9 +1038,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1103,9 +1108,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-2-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js index ddc7a6ba348f2..bc16b50fcf233 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js @@ -1038,9 +1038,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1067,7 +1072,7 @@ Info seq [hh:mm:ss:mss] request: "offset": 1, "endLine": 1, "endOffset": 1, - "insertString": "function fooBar() { }\n " + "insertString": "function fooBar() { }\n" }, "seq": 6, "type": "request" @@ -1103,9 +1108,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-2-1 *changed* @@ -1139,7 +1149,7 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/pr Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "function fooBar() { }\n export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" + /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1151,19 +1161,19 @@ Info seq [hh:mm:ss:mss] response: "file": "/user/username/projects/myproject/dependency/FnS.ts", "start": { "line": 2, - "offset": 18 + "offset": 17 }, "end": { "line": 2, - "offset": 21 + "offset": 20 }, "contextStart": { "line": 2, - "offset": 2 + "offset": 1 }, "contextEnd": { "line": 2, - "offset": 27 + "offset": 26 } } ], @@ -1424,7 +1434,7 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/pr Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/dependency/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "function fooBar() { }\n export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" + /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency @@ -1441,11 +1451,11 @@ Info seq [hh:mm:ss:mss] response: "triggerSpan": { "start": { "line": 2, - "offset": 18 + "offset": 17 }, "end": { "line": 2, - "offset": 21 + "offset": 20 } } }, @@ -1456,19 +1466,19 @@ Info seq [hh:mm:ss:mss] response: { "start": { "line": 2, - "offset": 18 + "offset": 17 }, "end": { "line": 2, - "offset": 21 + "offset": 20 }, "contextStart": { "line": 2, - "offset": 2 + "offset": 1 }, "contextEnd": { "line": 2, - "offset": 27 + "offset": 26 } } ] diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js similarity index 96% rename from tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js rename to tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js index 1077c99c335ff..2c5c222e3d842 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js @@ -1246,9 +1246,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1753,9 +1758,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1875,9 +1885,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1991,9 +2006,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -2108,9 +2128,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *changed* open: false *changed* @@ -2226,9 +2251,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: Text-1 @@ -2401,9 +2431,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js index ce3561fb864de..2ef44739bd6ab 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -1038,9 +1038,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1102,9 +1107,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1167,9 +1177,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-2-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js index 37a10822f0032..a5e3602e933ea 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js @@ -1038,9 +1038,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1102,9 +1107,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: Text-1 @@ -1167,9 +1177,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* version: SVC-2-1 *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 535a1a8e09639..fa60b29ed0999 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -932,9 +932,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1110,10 +1115,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1224,10 +1234,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: undefined *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1295,6 +1310,38 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js index 59f05b698b6f1..de52008efa727 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js @@ -932,9 +932,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1107,10 +1112,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1209,10 +1219,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js index 11f127368cdd0..41835b2418d78 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js @@ -1163,9 +1163,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1992,9 +1997,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2113,9 +2123,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2228,9 +2243,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2344,9 +2364,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *changed* @@ -2461,9 +2486,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -2636,9 +2666,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js index e5b38ce17b1b6..623e2a667a6c4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js @@ -932,9 +932,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1142,9 +1147,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1918,6 +1928,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 @@ -2036,6 +2050,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 8ec10fe044325..b755f0039491d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -932,9 +932,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1114,9 +1119,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1274,9 +1284,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js index 5108f317e850b..d5f5a0b0e290e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js @@ -932,9 +932,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1111,9 +1116,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1207,9 +1217,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js index e1c0c3351105b..3e5a1685c78af 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js @@ -983,6 +983,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + sourceMapFilePath sourceInfos: 1 *changed* + /user/username/projects/myproject/dependency/fns.ts *new* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 0:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1053,6 +1079,31 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + sourceMapFilePath: undefined *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Info seq [hh:mm:ss:mss] request: { "command": "definitionAndBoundSpan", @@ -1165,9 +1216,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1994,9 +2050,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2115,9 +2176,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2230,9 +2296,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2346,9 +2417,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *changed* @@ -2463,9 +2539,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -2637,9 +2718,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js index 2bf96bc1e68b4..3af239e9dfa84 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js @@ -932,9 +932,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1140,9 +1145,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1551,6 +1561,32 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + sourceMapFilePath sourceInfos: 1 *changed* + /user/username/projects/myproject/dependency/fns.ts *new* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1899,6 +1935,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2017,6 +2055,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2129,6 +2169,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2242,6 +2284,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *changed* @@ -2356,6 +2400,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -2527,6 +2573,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js index 3732ac64949b5..7f6869a361bc8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js @@ -1191,6 +1191,32 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 3 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/dependency/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-1 + sourceMapFilePath sourceInfos: 1 *changed* + /user/username/projects/myproject/dependency/fns.ts *new* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/dependency/tsconfig.json *default* +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -1537,6 +1563,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1653,6 +1681,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1763,6 +1793,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1874,6 +1906,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *changed* @@ -1986,6 +2020,8 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -2155,6 +2191,7 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js similarity index 96% rename from tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js rename to tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js index 02701585ea085..e399b5f0b8975 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js @@ -932,9 +932,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1757,9 +1762,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1878,9 +1888,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1993,9 +2008,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -2109,9 +2129,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *changed* @@ -2226,9 +2251,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -2400,9 +2430,14 @@ ScriptInfos:: /user/username/projects/myproject/dependency/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index f5828fce8dc44..b989fcfbd23f9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -932,9 +932,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1106,9 +1111,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1170,9 +1180,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js index d3727ca342082..90ad21d32d2a2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js @@ -932,9 +932,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1106,9 +1111,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) @@ -1170,9 +1180,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts (Open) *changed* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js index eba977b33c81f..dc242fd88e588 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js @@ -691,9 +691,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -996,9 +1001,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1100,9 +1110,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1198,9 +1213,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1297,9 +1317,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1434,9 +1459,14 @@ ScriptInfos:: /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index faafd7801311d..8705082334986 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -691,9 +691,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -746,10 +751,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -835,10 +845,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: undefined *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -905,6 +920,36 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js index b4386c112b361..9b49c17f998c2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js @@ -691,9 +691,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -744,10 +749,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -838,10 +848,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js index 35451006e28ba..84e50f7a53837 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js @@ -764,9 +764,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -1069,9 +1074,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1173,9 +1183,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1271,9 +1286,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1370,9 +1390,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1507,9 +1532,14 @@ ScriptInfos:: /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js index 2060bd3c5a3ff..456b89a3e6cab 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js @@ -691,9 +691,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -775,9 +780,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts @@ -1156,6 +1166,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: Text-1 @@ -1256,6 +1270,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 420396d37660a..5be7374e38c79 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -691,9 +691,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -750,9 +755,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -885,9 +895,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js index 0477c4540502b..c7edcbd4d62cd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js @@ -691,9 +691,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -748,9 +753,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -836,9 +846,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js index 182e64833ce4b..6cfe52e1d6e2d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js @@ -838,9 +838,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -1143,9 +1148,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1247,9 +1257,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1345,9 +1360,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1444,9 +1464,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1581,9 +1606,14 @@ ScriptInfos:: /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js index 46920a989b2c2..2fde79674db92 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js @@ -691,9 +691,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -773,9 +778,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 9a868a92dd7a2..b99f85ced0e2d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -691,9 +691,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -747,9 +752,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js index 8e86fbbb9fb21..4b7804750c70c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js @@ -691,9 +691,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -747,9 +752,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js index 6e4da0b141f46..1d2aa46b67698 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js @@ -731,9 +731,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -1040,9 +1045,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1148,9 +1158,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1250,9 +1265,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1353,9 +1373,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1497,9 +1522,14 @@ ScriptInfos:: /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index aacaeb249f6f7..bb110f270feb4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -731,9 +731,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -786,10 +791,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -875,10 +885,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: undefined *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -945,6 +960,36 @@ Info seq [hh:mm:ss:mss] response: } After request +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/main/tsconfig.json + /user/username/projects/myproject/random/tsconfig.json +/user/username/projects/myproject/decls/FnS.d.ts.map + version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper + containingProjects: 0 +/user/username/projects/myproject/decls/fns.d.ts *changed* + version: Text-2 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json +/user/username/projects/myproject/dependency/FnS.ts + version: Text-1 + containingProjects: 0 +/user/username/projects/myproject/main/main.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/main/tsconfig.json *default* +/user/username/projects/myproject/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /user/username/projects/myproject/random/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js index 4d6ab15255109..fd29d4a1ae9f8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js @@ -731,9 +731,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -784,10 +789,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 pendingReloadFromDisk: true *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -878,10 +888,15 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js index de51a536f6069..d83172db904ce 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js @@ -804,9 +804,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *new* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -1113,9 +1118,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1221,9 +1231,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1323,9 +1338,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1426,9 +1446,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1570,9 +1595,14 @@ ScriptInfos:: /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js index ee8c9d799cb7b..5f1f516b0c479 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js @@ -731,9 +731,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -819,9 +824,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts @@ -1204,6 +1214,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts version: Text-1 @@ -1308,6 +1322,10 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/dependency/FnS.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index a1653125f2451..ffda17e8150fa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -731,9 +731,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -790,9 +795,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -925,9 +935,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js index e89d50cdc4653..c9a400e753705 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js @@ -731,9 +731,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -788,9 +793,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-1 pendingReloadFromDisk: true *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -876,9 +886,14 @@ ScriptInfos:: /user/username/projects/myproject/decls/FnS.d.ts.map *changed* version: Text-2 *changed* pendingReloadFromDisk: false *changed* + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper *changed* containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js index d828569cd5990..f729ae684d765 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js @@ -886,9 +886,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -1195,9 +1200,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1303,9 +1313,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1405,9 +1420,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1508,9 +1528,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts @@ -1652,9 +1677,14 @@ ScriptInfos:: /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts *deleted* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 0 *changed* /user/username/projects/myproject/main/tsconfig.json *deleted* /user/username/projects/myproject/dependency/FnS.ts *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js index cc9158eaee50c..9d3011fab8a18 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js @@ -731,9 +731,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -817,9 +822,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *deleted* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: undefined *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 709c146d6d8ff..113ba1dac86aa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -731,9 +731,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -787,9 +792,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js index ad975562bfb13..0a2c77f1838a3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js @@ -731,9 +731,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map *new* version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 -/user/username/projects/myproject/decls/fns.d.ts +/user/username/projects/myproject/decls/fns.d.ts *changed* version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map *changed* containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts *new* @@ -787,9 +792,14 @@ ScriptInfos:: /user/username/projects/myproject/random/tsconfig.json /user/username/projects/myproject/decls/FnS.d.ts.map version: Text-1 + declarationInfoPath: /user/username/projects/myproject/decls/fns.d.ts + sourceInfos: 1 + /user/username/projects/myproject/dependency/fns.ts + documentPositionMapper: DocumentPositionMapper containingProjects: 0 /user/username/projects/myproject/decls/fns.d.ts version: Text-1 + sourceMapFilePath: /user/username/projects/myproject/decls/fns.d.ts.map containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json /user/username/projects/myproject/dependency/FnS.ts From 2f8b822c1f69d4c498da86f1acc767a34055708f Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 13 Feb 2024 13:18:34 -0800 Subject: [PATCH 42/56] Some of the fixes picked out from my work for file updates (#57401) --- src/server/editorServices.ts | 242 ++++++++---------- src/server/scriptInfo.ts | 5 +- tests/baselines/reference/api/typescript.d.ts | 1 + ...pening-projects-for-find-all-references.js | 8 - ...onfig-file-in-a-folder-with-loose-files.js | 2 +- ...indAllReferences-starting-at-definition.js | 4 - .../renameLocations-starting-at-definition.js | 2 - ...zyConfiguredProjectsFromExternalProject.js | 4 +- ...tly-handling-add-or-remove-tsconfig---1.js | 32 +-- ...zyConfiguredProjectsFromExternalProject.js | 44 ++-- ...tly-handling-add-or-remove-tsconfig---2.js | 80 +++--- ...zyConfiguredProjectsFromExternalProject.js | 4 +- ...-opened-from-the-external-project-works.js | 4 +- .../remove-not-listed-external-projects.js | 10 - .../isDefinitionAcrossGlobalProjects.js | 36 --- .../isDefinitionAcrossModuleProjects.js | 64 ----- ...-project-created-while-opening-the-file.js | 6 +- ...oes-not-error-on-container-only-project.js | 132 +++++----- .../sibling-projects.js | 2 - ...ding-references-in-overlapping-projects.js | 24 -- ...ct-is-indirectly-referenced-by-solution.js | 12 - ...nced-project-and-using-declaration-maps.js | 4 - ...ot-file-is-file-from-referenced-project.js | 4 - ...ces-open-file-through-project-reference.js | 12 +- ...ct-is-indirectly-referenced-by-solution.js | 26 +- ...dts-changes-with-timeout-before-request.js | 12 - .../dependency-dts-changes.js | 12 - .../dependency-dts-created.js | 10 - .../dependency-dts-deleted.js | 2 - ...Map-changes-with-timeout-before-request.js | 12 - .../dependency-dtsMap-changes.js | 12 - .../dependency-dtsMap-created.js | 10 - .../dependency-dtsMap-deleted.js | 2 - .../goToDef-and-rename-locations.js | 10 - ...ile-changes-with-timeout-before-request.js | 12 - .../usage-file-changes.js | 12 - ...dts-changes-with-timeout-before-request.js | 12 - .../dependency-dts-changes.js | 12 - .../dependency-dts-created.js | 12 - .../dependency-dts-deleted.js | 12 - .../dependency-dts-not-present.js | 10 - ...Map-changes-with-timeout-before-request.js | 12 - .../dependency-dtsMap-changes.js | 12 - .../dependency-dtsMap-created.js | 12 - .../dependency-dtsMap-deleted.js | 12 - .../dependency-dtsMap-not-present.js | 10 - ...rce-changes-with-timeout-before-request.js | 12 - .../dependency-source-changes.js | 12 - .../goToDef-and-rename-locations.js | 10 - ...ile-changes-with-timeout-before-request.js | 12 - .../configWithReference/usage-file-changes.js | 12 - .../when-projects-are-not-built.js | 10 - ...dts-changes-with-timeout-before-request.js | 12 - .../dependency-dts-changes.js | 12 - .../dependency-dts-created.js | 10 - .../dependency-dts-deleted.js | 2 - ...Map-changes-with-timeout-before-request.js | 12 - .../dependency-dtsMap-changes.js | 12 - .../dependency-dtsMap-created.js | 10 - .../dependency-dtsMap-deleted.js | 2 - .../goToDef-and-rename-locations.js | 10 - ...ile-changes-with-timeout-before-request.js | 12 - .../disabledSourceRef/usage-file-changes.js | 12 - .../with-symlinks-and-case-difference.js | 2 - ...ld-property-handle-missing-config-files.js | 26 +- 65 files changed, 273 insertions(+), 915 deletions(-) diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index 0da434421ccb1..a1480723b8b93 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -85,6 +85,7 @@ import { normalizeSlashes, optionDeclarations, optionsForWatch, + orderedRemoveItem, PackageJsonAutoImportPreference, ParsedCommandLine, parseJsonSourceFileConfigFileContent, @@ -1029,7 +1030,7 @@ export class ProjectService { /** * maps external project file name to list of config files that were the part of this project */ - private readonly externalProjectToConfiguredProjectMap = new Map(); + private readonly externalProjectToConfiguredProjectMap = new Map>(); /** * external projects (configuration and list of root files is not controlled by tsserver) @@ -1882,7 +1883,7 @@ export class ProjectService { project.addRoot(info); if (info.containingProjects[0] !== project) { // Ensure this is first project, we could be in this scenario because info could be part of orphan project - info.detachFromProject(project); + orderedRemoveItem(info.containingProjects, project); info.containingProjects.unshift(project); } project.updateGraph(); @@ -2287,8 +2288,7 @@ export class ProjectService { * otherwise just file name */ private getConfigFileNameForFile(info: OpenScriptInfoOrClosedOrConfigFileInfo) { - if (isOpenScriptInfo(info)) { - Debug.assert(info.isScriptOpen()); + if (!isAncestorConfigFileInfo(info)) { const result = this.configFileForOpenFiles.get(info.path); if (result !== undefined) return result || undefined; } @@ -3428,15 +3428,18 @@ export class ProjectService { this.hostConfiguration.preferences = { ...this.hostConfiguration.preferences, ...args.preferences }; if (lazyConfiguredProjectsFromExternalProject && !this.hostConfiguration.preferences.lazyConfiguredProjectsFromExternalProject) { // Load configured projects for external projects that are pending reload - this.configuredProjects.forEach(project => { - if ( - project.hasExternalProjectRef() && - project.pendingUpdateLevel === ProgramUpdateLevel.Full && - !this.pendingProjectUpdates.has(project.getProjectName()) - ) { - project.updateGraph(); - } - }); + this.externalProjectToConfiguredProjectMap.forEach(projects => + projects.forEach(project => { + if ( + !project.isClosed() && + project.hasExternalProjectRef() && + project.pendingUpdateLevel === ProgramUpdateLevel.Full && + !this.pendingProjectUpdates.has(project.getProjectName()) + ) { + project.updateGraph(); + } + }) + ); } if (includePackageJsonAutoImports !== args.preferences.includePackageJsonAutoImports) { this.forEachProject(project => { @@ -4188,15 +4191,13 @@ export class ProjectService { } } - private closeConfiguredProjectReferencedFromExternalProject(configFile: NormalizedPath) { - const configuredProject = this.findConfiguredProjectByProjectName(configFile); - if (configuredProject) { - configuredProject.deleteExternalProjectReference(); - if (!configuredProject.hasOpenRef()) { - this.removeProject(configuredProject); - return; + private closeConfiguredProjectReferencedFromExternalProject(configuredProjects: Set | undefined) { + configuredProjects?.forEach(configuredProject => { + if (!configuredProject.isClosed()) { + configuredProject.deleteExternalProjectReference(); + if (!configuredProject.hasOpenRef()) this.removeProject(configuredProject); } - } + }); } closeExternalProject(uncheckedFileName: string): void; @@ -4204,11 +4205,9 @@ export class ProjectService { closeExternalProject(uncheckedFileName: string, print: boolean): void; closeExternalProject(uncheckedFileName: string, print?: boolean): void { const fileName = toNormalizedPath(uncheckedFileName); - const configFiles = this.externalProjectToConfiguredProjectMap.get(fileName); - if (configFiles) { - for (const configFile of configFiles) { - this.closeConfiguredProjectReferencedFromExternalProject(configFile); - } + const configuredProjects = this.externalProjectToConfiguredProjectMap.get(fileName); + if (configuredProjects) { + this.closeConfiguredProjectReferencedFromExternalProject(configuredProjects); this.externalProjectToConfiguredProjectMap.delete(fileName); } else { @@ -4253,20 +4252,21 @@ export class ProjectService { } applySafeList(proj: protocol.ExternalProject): NormalizedPath[] { - const { rootFiles } = proj; const typeAcquisition = proj.typeAcquisition!; Debug.assert(!!typeAcquisition, "proj.typeAcquisition should be set by now"); + const result = this.applySafeListWorker(proj, proj.rootFiles, typeAcquisition); + return result?.excludedFiles ?? []; + } + private applySafeListWorker(proj: protocol.ExternalProject, rootFiles: protocol.ExternalFile[], typeAcquisition: TypeAcquisition) { if (typeAcquisition.enable === false || typeAcquisition.disableFilenameBasedTypeAcquisition) { - return []; + return undefined; } const typeAcqInclude = typeAcquisition.include || (typeAcquisition.include = []); const excludeRules: string[] = []; const normalizedNames = rootFiles.map(f => normalizeSlashes(f.fileName)) as NormalizedPath[]; - const excludedFiles: NormalizedPath[] = []; - for (const name of Object.keys(this.safelist)) { const rule = this.safelist[name]; for (const root of normalizedNames) { @@ -4320,13 +4320,13 @@ export class ProjectService { } const excludeRegexes = excludeRules.map(e => new RegExp(e, "i")); - const filesToKeep: protocol.ExternalFile[] = []; - for (let i = 0; i < proj.rootFiles.length; i++) { + let filesToKeep: protocol.ExternalFile[] | undefined; + let excludedFiles: NormalizedPath[] | undefined; + for (let i = 0; i < rootFiles.length; i++) { if (excludeRegexes.some(re => re.test(normalizedNames[i]))) { - excludedFiles.push(normalizedNames[i]); + addExcludedFile(i); } else { - let exclude = false; if (typeAcquisition.enable) { const baseName = getBaseFileName(toFileNameLowerCase(normalizedNames[i])); if (fileExtensionIs(baseName, "js")) { @@ -4335,52 +4335,68 @@ export class ProjectService { const typeName = this.legacySafelist.get(cleanedTypingName); if (typeName !== undefined) { this.logger.info(`Excluded '${normalizedNames[i]}' because it matched ${cleanedTypingName} from the legacy safelist`); - excludedFiles.push(normalizedNames[i]); + addExcludedFile(i); // *exclude* it from the project... - exclude = true; // ... but *include* it in the list of types to acquire // Same best-effort dedupe as above if (!typeAcqInclude.includes(typeName)) { typeAcqInclude.push(typeName); } + continue; } } } - if (!exclude) { - // Exclude any minified files that get this far - if (/^.+[.-]min\.js$/.test(normalizedNames[i])) { - excludedFiles.push(normalizedNames[i]); - } - else { - filesToKeep.push(proj.rootFiles[i]); - } + // Exclude any minified files that get this far + if (/^.+[.-]min\.js$/.test(normalizedNames[i])) { + addExcludedFile(i); + } + else { + filesToKeep?.push(rootFiles[i]); } } } - proj.rootFiles = filesToKeep; - return excludedFiles; + + return excludedFiles ? { + rootFiles: filesToKeep!, + excludedFiles, + } : undefined; + + function addExcludedFile(index: number) { + if (!excludedFiles) { + Debug.assert(!filesToKeep); + filesToKeep = rootFiles.slice(0, index); + excludedFiles = []; + } + excludedFiles.push(normalizedNames[index]); + } } openExternalProject(proj: protocol.ExternalProject): void; /** @internal */ openExternalProject(proj: protocol.ExternalProject, print: boolean): void; openExternalProject(proj: protocol.ExternalProject, print?: boolean): void { - proj.typeAcquisition = proj.typeAcquisition || {}; - proj.typeAcquisition.include = proj.typeAcquisition.include || []; - proj.typeAcquisition.exclude = proj.typeAcquisition.exclude || []; - if (proj.typeAcquisition.enable === undefined) { - proj.typeAcquisition.enable = hasNoTypeScriptSource(proj.rootFiles.map(f => f.fileName)); - } - - const excludedFiles = this.applySafeList(proj); + const existingExternalProject = this.findExternalProjectByProjectName(proj.projectFileName); + const existingConfiguredProjects = this.externalProjectToConfiguredProjectMap.get(proj.projectFileName); - let tsConfigFiles: NormalizedPath[] | undefined; - const rootFiles: protocol.ExternalFile[] = []; + let configuredProjects: Set | undefined; + let rootFiles: protocol.ExternalFile[] = []; for (const file of proj.rootFiles) { const normalized = toNormalizedPath(file.fileName); if (getBaseConfigFileName(normalized)) { if (this.serverMode === LanguageServiceMode.Semantic && this.host.fileExists(normalized)) { - (tsConfigFiles || (tsConfigFiles = [])).push(normalized); + let project = this.findConfiguredProjectByProjectName(normalized); + if (!project) { + // errors are stored in the project, do not need to update the graph + project = this.getHostPreferences().lazyConfiguredProjectsFromExternalProject ? + this.createConfiguredProjectWithDelayLoad(normalized, `Creating configured project in external project: ${proj.projectFileName}`) : + this.createLoadAndUpdateConfiguredProject(normalized, `Creating configured project in external project: ${proj.projectFileName}`); + } + if (!existingConfiguredProjects?.has(project)) { + // keep project alive even if no documents are opened - its lifetime is bound to the lifetime of containing external project + project.addExternalProjectReference(); + } + (configuredProjects ??= new Set()).add(project); + existingConfiguredProjects?.delete(project); } } else { @@ -4388,96 +4404,52 @@ export class ProjectService { } } - // sort config files to simplify comparison later - if (tsConfigFiles) { - tsConfigFiles.sort(); + if (configuredProjects) { + // store the list of tsconfig files that belong to the external project + this.externalProjectToConfiguredProjectMap.set(proj.projectFileName, configuredProjects); + // Close external project if present + if (existingExternalProject) this.removeProject(existingExternalProject); } - - const externalProject = this.findExternalProjectByProjectName(proj.projectFileName); - let exisingConfigFiles: string[] | undefined; - if (externalProject) { - externalProject.excludedFiles = excludedFiles; - if (!tsConfigFiles) { + else { + // no config files - remove the item from the collection + this.externalProjectToConfiguredProjectMap.delete(proj.projectFileName); + const typeAcquisition = proj.typeAcquisition || {}; + typeAcquisition.include = typeAcquisition.include || []; + typeAcquisition.exclude = typeAcquisition.exclude || []; + if (typeAcquisition.enable === undefined) { + typeAcquisition.enable = hasNoTypeScriptSource(rootFiles.map(f => f.fileName)); + } + const excludeResult = this.applySafeListWorker(proj, rootFiles, typeAcquisition); + const excludedFiles = excludeResult?.excludedFiles ?? []; + rootFiles = excludeResult?.rootFiles ?? rootFiles; + if (existingExternalProject) { + existingExternalProject.excludedFiles = excludedFiles; const compilerOptions = convertCompilerOptions(proj.options); - const watchOptionsAndErrors = convertWatchOptions(proj.options, externalProject.getCurrentDirectory()); - const lastFileExceededProgramSize = this.getFilenameForExceededTotalSizeLimitForNonTsFiles(proj.projectFileName, compilerOptions, proj.rootFiles, externalFilePropertyReader); + const watchOptionsAndErrors = convertWatchOptions(proj.options, existingExternalProject.getCurrentDirectory()); + const lastFileExceededProgramSize = this.getFilenameForExceededTotalSizeLimitForNonTsFiles(proj.projectFileName, compilerOptions, rootFiles, externalFilePropertyReader); if (lastFileExceededProgramSize) { - externalProject.disableLanguageService(lastFileExceededProgramSize); + existingExternalProject.disableLanguageService(lastFileExceededProgramSize); } else { - externalProject.enableLanguageService(); + existingExternalProject.enableLanguageService(); } - externalProject.setProjectErrors(watchOptionsAndErrors?.errors); + existingExternalProject.setProjectErrors(watchOptionsAndErrors?.errors); // external project already exists and not config files were added - update the project and return; // The graph update here isnt postponed since any file open operation needs all updated external projects - this.updateRootAndOptionsOfNonInferredProject(externalProject, proj.rootFiles, externalFilePropertyReader, compilerOptions, proj.typeAcquisition, proj.options.compileOnSave, watchOptionsAndErrors?.watchOptions); - externalProject.updateGraph(); - if (print) this.printProjects(); - return; - } - // some config files were added to external project (that previously were not there) - // close existing project and later we'll open a set of configured projects for these files - this.closeExternalProject(proj.projectFileName, /*print*/ false); - } - else if (this.externalProjectToConfiguredProjectMap.get(proj.projectFileName)) { - // this project used to include config files - if (!tsConfigFiles) { - // config files were removed from the project - close existing external project which in turn will close configured projects - this.closeExternalProject(proj.projectFileName, /*print*/ false); + this.updateRootAndOptionsOfNonInferredProject(existingExternalProject, rootFiles, externalFilePropertyReader, compilerOptions, typeAcquisition, proj.options.compileOnSave, watchOptionsAndErrors?.watchOptions); + existingExternalProject.updateGraph(); } else { - // project previously had some config files - compare them with new set of files and close all configured projects that correspond to unused files - const oldConfigFiles = this.externalProjectToConfiguredProjectMap.get(proj.projectFileName)!; - let iNew = 0; - let iOld = 0; - while (iNew < tsConfigFiles.length && iOld < oldConfigFiles.length) { - const newConfig = tsConfigFiles[iNew]; - const oldConfig = oldConfigFiles[iOld]; - if (oldConfig < newConfig) { - this.closeConfiguredProjectReferencedFromExternalProject(oldConfig); - iOld++; - } - else if (oldConfig > newConfig) { - iNew++; - } - else { - // record existing config files so avoid extra add-refs - (exisingConfigFiles || (exisingConfigFiles = [])).push(oldConfig); - iOld++; - iNew++; - } - } - for (let i = iOld; i < oldConfigFiles.length; i++) { - // projects for all remaining old config files should be closed - this.closeConfiguredProjectReferencedFromExternalProject(oldConfigFiles[i]); - } + // Create external project and update its graph, do not delay update since + // any file open operation needs all updated external projects + const project = this.createExternalProject(proj.projectFileName, rootFiles, proj.options, typeAcquisition, excludedFiles); + project.updateGraph(); } } - if (tsConfigFiles) { - // store the list of tsconfig files that belong to the external project - this.externalProjectToConfiguredProjectMap.set(proj.projectFileName, tsConfigFiles); - for (const tsconfigFile of tsConfigFiles) { - let project = this.findConfiguredProjectByProjectName(tsconfigFile); - if (!project) { - // errors are stored in the project, do not need to update the graph - project = this.getHostPreferences().lazyConfiguredProjectsFromExternalProject ? - this.createConfiguredProjectWithDelayLoad(tsconfigFile, `Creating configured project in external project: ${proj.projectFileName}`) : - this.createLoadAndUpdateConfiguredProject(tsconfigFile, `Creating configured project in external project: ${proj.projectFileName}`); - } - if (project && !contains(exisingConfigFiles, tsconfigFile)) { - // keep project alive even if no documents are opened - its lifetime is bound to the lifetime of containing external project - project.addExternalProjectReference(); - } - } - } - else { - // no config files - remove the item from the collection - // Create external project and update its graph, do not delay update since - // any file open operation needs all updated external projects - this.externalProjectToConfiguredProjectMap.delete(proj.projectFileName); - const project = this.createExternalProject(proj.projectFileName, rootFiles, proj.options, proj.typeAcquisition, excludedFiles); - project.updateGraph(); - } + + // Remove unused configured projects + this.closeConfiguredProjectReferencedFromExternalProject(existingConfiguredProjects); + if (print) this.printProjects(); } diff --git a/src/server/scriptInfo.ts b/src/server/scriptInfo.ts index 1fd6079565297..4fbe39e31f8b8 100644 --- a/src/server/scriptInfo.ts +++ b/src/server/scriptInfo.ts @@ -25,6 +25,7 @@ import { IScriptSnapshot, isString, LineInfo, + orderedRemoveItem, Path, ScriptKind, ScriptSnapshot, @@ -32,7 +33,6 @@ import { SourceFile, SourceFileLike, TextSpan, - unorderedRemoveItem, } from "./_namespaces/ts"; import { AbsolutePositionAndLineText, @@ -536,7 +536,8 @@ export class ScriptInfo { } break; default: - if (unorderedRemoveItem(this.containingProjects, project)) { + // We use first configured project as default so we shouldnt change the order of the containing projects + if (orderedRemoveItem(this.containingProjects, project)) { project.onFileAddedOrRemoved(this.isSymlink()); } break; diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 63d75271b18d4..a131733463740 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -3906,6 +3906,7 @@ declare namespace ts { private static escapeFilenameForRegex; resetSafeList(): void; applySafeList(proj: protocol.ExternalProject): NormalizedPath[]; + private applySafeListWorker; openExternalProject(proj: protocol.ExternalProject): void; hasDeferredExtension(): boolean; private enableRequestedPluginsAsync; diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js index b0b2589d111a0..6d1fb74fc117b 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js @@ -541,19 +541,11 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Finding references to /packages/b/index.ts position 13 in project /tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /packages/b -Info seq [hh:mm:ss:mss] For info: /packages/b/index.ts :: Config file name: /packages/b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /packages/b -Info seq [hh:mm:ss:mss] For info: /packages/b/index.ts :: Config file name: /packages/b/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /packages/a Info seq [hh:mm:ss:mss] For info: /packages/a/index.ts :: Config file name: /packages/a/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /packages/a Info seq [hh:mm:ss:mss] For info: /packages/a/index.ts :: Config file name: /packages/a/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /packages/b/index.ts position 13 in project /packages/a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /packages/b -Info seq [hh:mm:ss:mss] For info: /packages/b/index.ts :: Config file name: /packages/b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /packages/b -Info seq [hh:mm:ss:mss] For info: /packages/b/index.ts :: Config file name: /packages/b/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js index 12bb1d12ce90d..dbf64b75881fe 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js @@ -404,8 +404,8 @@ ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* - /user/username/projects/myproject/tsconfig.json *new* /dev/null/inferredProject2* + /user/username/projects/myproject/tsconfig.json *new* /dev/null/inferredProject1* *deleted* /user/username/projects/myproject/commonFile1.ts (Open) *changed* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js index c31c18ee8dded..dd47235bb935f 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js @@ -978,10 +978,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Finding references to /a/a.ts position 16 in project /a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finding references to /a/bin/a.d.ts position 24 in project /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Search path: /a -Info seq [hh:mm:ss:mss] For info: /a/a.ts :: Config file name: /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /a -Info seq [hh:mm:ss:mss] For info: /a/a.ts :: Config file name: /a/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js index 5779b5a2d7090..f7619b73ae8db 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js @@ -976,8 +976,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/bin/a.d.ts.map 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Search path: /a -Info seq [hh:mm:ss:mss] For info: /a/a.ts :: Config file name: /a/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js index 7de051dd3a0d1..351242d9a9711 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js @@ -249,6 +249,8 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } +Info seq [hh:mm:ss:mss] Creating configuration project /a/b/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (2) @@ -263,8 +265,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Creating configuration project /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js index c7cb816dac882..00eca0d3a6155 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js @@ -249,20 +249,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) -Info seq [hh:mm:ss:mss] Files (2) - /a/b/app.ts - /a/b/lib.ts - - - app.ts - Root file specified for compilation - lib.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file Info seq [hh:mm:ss:mss] Creating configuration project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: @@ -347,6 +333,20 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (2) + /a/b/app.ts + /a/b/lib.ts + + + app.ts + Root file specified for compilation + lib.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -362,10 +362,6 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/a/lib/lib.d.ts: - {"pollingInterval":500} *new* - -PolledWatches *deleted*:: /a/lib/lib.d.ts: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js index 553727c00d3e1..93ca1cd164cd5 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js @@ -163,6 +163,10 @@ Info seq [hh:mm:ss:mss] request: "seq": 3, "type": "request" } +Info seq [hh:mm:ss:mss] Creating configuration project /a/b/c/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/c/tsconfig.json 2000 undefined Project: /a/b/c/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Creating configuration project /a/b/d/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/d/tsconfig.json 2000 undefined Project: /a/b/d/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (1) @@ -174,10 +178,6 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Creating configuration project /a/b/c/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/c/tsconfig.json 2000 undefined Project: /a/b/c/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Creating configuration project /a/b/d/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/d/tsconfig.json 2000 undefined Project: /a/b/d/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending @@ -701,6 +701,18 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + /a/b/app.ts Text-1 "let x = 1;" + + + app.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -717,18 +729,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/d/tsconfig.json 2 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/d/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) -Info seq [hh:mm:ss:mss] Files (1) - /a/b/app.ts Text-1 "let x = 1;" - - - app.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (1) @@ -743,13 +743,11 @@ After request PolledWatches:: /a/lib/lib.d.ts: - {"pollingInterval":500} *new* + {"pollingInterval":500} PolledWatches *deleted*:: /a/b/d/node_modules/@types: {"pollingInterval":500} -/a/lib/lib.d.ts: - {"pollingInterval":500} FsWatches:: /a/b/app.ts: @@ -813,6 +811,10 @@ Info seq [hh:mm:ss:mss] request: "seq": 6, "type": "request" } +Info seq [hh:mm:ss:mss] Creating configuration project /a/b/c/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/c/tsconfig.json 2000 undefined Project: /a/b/c/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Creating configuration project /a/b/d/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/d/tsconfig.json 2000 undefined Project: /a/b/d/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (1) @@ -824,10 +826,6 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Creating configuration project /a/b/c/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/c/tsconfig.json 2000 undefined Project: /a/b/c/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Creating configuration project /a/b/d/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/d/tsconfig.json 2000 undefined Project: /a/b/d/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js index f8a736817b087..ca62ff7839e77 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js @@ -163,17 +163,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 3, "type": "request" } -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) -Info seq [hh:mm:ss:mss] Files (1) - /a/b/app.ts - - - app.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file Info seq [hh:mm:ss:mss] Creating configuration project /a/b/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/c/tsconfig.json 2000 undefined Project: /a/b/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: @@ -348,6 +337,17 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + /a/b/app.ts + + + app.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -369,10 +369,6 @@ PolledWatches:: {"pollingInterval":500} /a/b/d/node_modules/@types: *new* {"pollingInterval":500} -/a/lib/lib.d.ts: - {"pollingInterval":500} *new* - -PolledWatches *deleted*:: /a/lib/lib.d.ts: {"pollingInterval":500} @@ -540,6 +536,18 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + /a/b/app.ts Text-1 "let x = 1;" + + + app.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/a/b/d/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -556,18 +564,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/d/tsconfig.json 2 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/d/node_modules/@types 1 undefined Project: /a/b/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/d/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/proj1 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/proj1 projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) -Info seq [hh:mm:ss:mss] Files (1) - /a/b/app.ts Text-1 "let x = 1;" - - - app.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) Info seq [hh:mm:ss:mss] Files (1) @@ -582,13 +578,11 @@ After request PolledWatches:: /a/lib/lib.d.ts: - {"pollingInterval":500} *new* + {"pollingInterval":500} PolledWatches *deleted*:: /a/b/d/node_modules/@types: {"pollingInterval":500} -/a/lib/lib.d.ts: - {"pollingInterval":500} FsWatches:: /a/b/app.ts: @@ -652,17 +646,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 6, "type": "request" } -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) -Info seq [hh:mm:ss:mss] Files (1) - /a/b/app.ts - - - app.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file Info seq [hh:mm:ss:mss] Creating configuration project /a/b/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/c/tsconfig.json 2000 undefined Project: /a/b/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: @@ -753,6 +736,17 @@ Info seq [hh:mm:ss:mss] event: "projectName": "/a/b/d/tsconfig.json" } } +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/a/b/proj1' (External) +Info seq [hh:mm:ss:mss] Files (1) + /a/b/app.ts + + + app.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/proj1 WatchType: Missing file Info seq [hh:mm:ss:mss] Project '/a/b/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -774,10 +768,6 @@ PolledWatches:: {"pollingInterval":500} /a/b/d/node_modules/@types: *new* {"pollingInterval":500} -/a/lib/lib.d.ts: - {"pollingInterval":500} *new* - -PolledWatches *deleted*:: /a/lib/lib.d.ts: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js index 0601557b4e736..fd045a0c86ebf 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js @@ -193,9 +193,7 @@ Info seq [hh:mm:ss:mss] request: "allowJs": false }, "typeAcquisition": { - "include": [], - "exclude": [], - "enable": true + "include": [] } } ] diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js index e8b818e011f94..e2b3b4f38c880 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js @@ -303,9 +303,7 @@ Info seq [hh:mm:ss:mss] request: "allowJs": false }, "typeAcquisition": { - "include": [], - "exclude": [], - "enable": true + "include": [] } } ] diff --git a/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js b/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js index ae74c2bb6c27c..a6837bd5e50e4 100644 --- a/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js +++ b/tests/baselines/reference/tsserver/externalProjects/remove-not-listed-external-projects.js @@ -200,11 +200,6 @@ Info seq [hh:mm:ss:mss] request: "options": { "allowNonTsExtensions": true, "noEmitForJsFiles": true - }, - "typeAcquisition": { - "include": [], - "exclude": [], - "enable": false } }, { @@ -432,11 +427,6 @@ Info seq [hh:mm:ss:mss] request: "options": { "allowNonTsExtensions": true, "noEmitForJsFiles": true - }, - "typeAcquisition": { - "include": [], - "exclude": [], - "enable": false } } ] diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js index 48e245982f8d3..87ae591e1b3e3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js @@ -1008,10 +1008,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 35 in project /b/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 35 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/index.d.ts 2000 undefined Project: /b/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: { @@ -1144,12 +1140,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 56 in project /b/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 56 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /c Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /c @@ -1277,12 +1267,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 64 in project /b/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 64 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1535,10 +1519,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 35 in project /c/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 35 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c/index.d.ts 2000 undefined Project: /c/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: { @@ -1662,16 +1642,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 56 in project /c/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 56 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 56 in project /b/tsconfig.json Info seq [hh:mm:ss:mss] response: { @@ -1828,12 +1798,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 64 in project /c/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 64 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js index 86a304bc8baa5..98d2ea2e7a5bd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js @@ -2077,15 +2077,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 42 in project /b/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 42 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 42 in project /a2/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /b/index.d.ts 2000 undefined Project: /b/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: { @@ -2244,19 +2236,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 70 in project /b/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 70 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 70 in project /a2/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -2335,19 +2315,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 78 in project /b/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 78 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /b/index.ts position 78 in project /a2/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /b -Info seq [hh:mm:ss:mss] For info: /b/index.ts :: Config file name: /b/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -2621,15 +2589,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 42 in project /c/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 42 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 42 in project /a2/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /c/index.d.ts 2000 undefined Project: /c/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: { @@ -2759,19 +2719,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 70 in project /c/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 70 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 70 in project /a2/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -3050,19 +2998,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 78 in project /c/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 78 in project /a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /c/index.ts position 78 in project /a2/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /c -Info seq [hh:mm:ss:mss] For info: /c/index.ts :: Config file name: /c/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js index 9881dae5dd6cd..4a7c7c4d479b6 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js @@ -892,7 +892,7 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/jsFile1.js ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileName: /a/lib/lib.d.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2*,/dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*,/dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: { "responseRequired": false @@ -943,8 +943,8 @@ ScriptInfos:: open: true *changed* version: Text-1 containingProjects: 2 *changed* - /dev/null/inferredProject2* *default* - /dev/null/inferredProject1* + /dev/null/inferredProject1* *default* + /dev/null/inferredProject2* /user/username/projects/myproject/tsconfig.json *deleted* /user/username/projects/myproject/app.ts *deleted* version: Text-1 diff --git a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js index 2566b8fe6395f..56d1ca484f25b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js @@ -404,39 +404,18 @@ Info seq [hh:mm:ss:mss] request: "seq": 1, "type": "request" } -Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/container/compositeExec/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/tsconfig.json 2000 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/container/lib/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/tsconfig.json 2000 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingStart", "body": { - "projectName": "/user/username/projects/container/compositeExec/tsconfig.json", + "projectName": "/user/username/projects/container/lib/tsconfig.json", "reason": "Creating configured project in external project: /user/username/projects/container/container" } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/compositeExec/tsconfig.json : { - "rootNames": [ - "/user/username/projects/container/compositeExec/index.ts" - ], - "options": { - "ignoreDeprecations": "5.0", - "outFile": "/user/username/projects/container/built/local/compositeExec.js", - "composite": true, - "declarationMap": true, - "configFilePath": "/user/username/projects/container/compositeExec/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/user/username/projects/container/lib", - "originalPath": "../lib", - "prepend": true - } - ] -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/lib/tsconfig.json : { "rootNames": [ "/user/username/projects/container/lib/index.ts" @@ -448,27 +427,24 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/lib/tsconfig. "configFilePath": "/user/username/projects/container/lib/tsconfig.json" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/tsconfig.json 2000 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/index.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" - /user/username/projects/container/compositeExec/index.ts Text-1 "namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - ../lib/index.ts - Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts Part of 'files' list in tsconfig.json @@ -479,7 +455,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "projectLoadingFinish", "body": { - "projectName": "/user/username/projects/container/compositeExec/tsconfig.json" + "projectName": "/user/username/projects/container/lib/tsconfig.json" } } Info seq [hh:mm:ss:mss] event: @@ -490,14 +466,14 @@ Info seq [hh:mm:ss:mss] event: "body": { "telemetryEventName": "projectInfo", "payload": { - "projectId": "4a49a35a0acdbaaa4a2991c79826326a1776aff5aebf3ee850c93bbc356c3c66", + "projectId": "e61069111d2ca70d3f2bc812f1d97caa1747305429cffa2675dc65febb742492", "fileStats": { "js": 0, "jsSize": 0, "jsx": 0, "jsxSize": 0, - "ts": 2, - "tsSize": 144, + "ts": 1, + "tsSize": 55, "tsx": 0, "tsxSize": 0, "dts": 1, @@ -506,7 +482,6 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "ignoreDeprecations": "", "outFile": "", "composite": true, "declarationMap": true @@ -634,33 +609,57 @@ Info seq [hh:mm:ss:mss] event: } } } -Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/container/lib/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/container/compositeExec/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/tsconfig.json 2000 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingStart", "body": { - "projectName": "/user/username/projects/container/lib/tsconfig.json", + "projectName": "/user/username/projects/container/compositeExec/tsconfig.json", "reason": "Creating configured project in external project: /user/username/projects/container/container" } } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/lib/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/lib/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/lib/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Config: /user/username/projects/container/compositeExec/tsconfig.json : { + "rootNames": [ + "/user/username/projects/container/compositeExec/index.ts" + ], + "options": { + "ignoreDeprecations": "5.0", + "outFile": "/user/username/projects/container/built/local/compositeExec.js", + "composite": true, + "declarationMap": true, + "configFilePath": "/user/username/projects/container/compositeExec/tsconfig.json" + }, + "projectReferences": [ + { + "path": "/user/username/projects/container/lib", + "originalPath": "../lib", + "prepend": true + } + ] +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/index.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/compositeExec/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/container/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/container/compositeExec/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/container/compositeExec/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /user/username/projects/container/lib/index.ts Text-1 "namespace container {\n export const myConst = 30;\n}\n" + /user/username/projects/container/compositeExec/index.ts Text-1 "namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' + ../lib/index.ts + Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts Part of 'files' list in tsconfig.json @@ -671,7 +670,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "projectLoadingFinish", "body": { - "projectName": "/user/username/projects/container/lib/tsconfig.json" + "projectName": "/user/username/projects/container/compositeExec/tsconfig.json" } } Info seq [hh:mm:ss:mss] event: @@ -682,14 +681,14 @@ Info seq [hh:mm:ss:mss] event: "body": { "telemetryEventName": "projectInfo", "payload": { - "projectId": "e61069111d2ca70d3f2bc812f1d97caa1747305429cffa2675dc65febb742492", + "projectId": "4a49a35a0acdbaaa4a2991c79826326a1776aff5aebf3ee850c93bbc356c3c66", "fileStats": { "js": 0, "jsSize": 0, "jsx": 0, "jsxSize": 0, - "ts": 1, - "tsSize": 55, + "ts": 2, + "tsSize": 144, "tsx": 0, "tsxSize": 0, "dts": 1, @@ -698,6 +697,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { + "ignoreDeprecations": "", "outFile": "", "composite": true, "declarationMap": true @@ -807,16 +807,16 @@ Info seq [hh:mm:ss:mss] event: } } } -Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/exec/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/lib/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/compositeExec/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/container/tsconfig.json' (Configured) @@ -879,9 +879,9 @@ ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 containingProjects: 3 - /user/username/projects/container/compositeExec/tsconfig.json - /user/username/projects/container/exec/tsconfig.json /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/exec/tsconfig.json + /user/username/projects/container/compositeExec/tsconfig.json /user/username/projects/container/compositeExec/index.ts *new* version: Text-1 containingProjects: 1 @@ -893,9 +893,9 @@ ScriptInfos:: /user/username/projects/container/lib/index.ts *new* version: Text-1 containingProjects: 3 - /user/username/projects/container/compositeExec/tsconfig.json - /user/username/projects/container/exec/tsconfig.json /user/username/projects/container/lib/tsconfig.json + /user/username/projects/container/exec/tsconfig.json + /user/username/projects/container/compositeExec/tsconfig.json Before request diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js index c3b680cd092dd..8d8cb1d68e434 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js @@ -552,8 +552,6 @@ Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/compiler Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/compiler/types.ts :: Config file name: /user/username/projects/solution/compiler/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/compiler Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/compiler/types.ts :: Config file name: /user/username/projects/solution/compiler/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/compiler -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/compiler/program.ts :: Config file name: /user/username/projects/solution/compiler/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js index cc2da144d86ed..f58e52d523ad5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js @@ -782,23 +782,11 @@ Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/a Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/a/index.ts :: Config file name: /user/username/projects/solution/a/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/a Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/a/index.ts :: Config file name: /user/username/projects/solution/a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/solution/a/index.ts position 34 in project /user/username/projects/solution/d/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/a Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/a/index.ts :: Config file name: /user/username/projects/solution/a/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/a Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/a/index.ts :: Config file name: /user/username/projects/solution/a/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/c Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/c/index.ts :: Config file name: /user/username/projects/solution/c/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/c @@ -1070,23 +1058,11 @@ Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/a/index.ts : Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/a Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/a/index.ts :: Config file name: /user/username/projects/solution/a/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/solution/b/index.ts position 86 in project /user/username/projects/solution/c/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/a Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/a/index.ts :: Config file name: /user/username/projects/solution/a/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/a Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/a/index.ts :: Config file name: /user/username/projects/solution/a/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/solution/b/index.ts position 86 in project /user/username/projects/solution/d/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/b -Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/b/index.ts :: Config file name: /user/username/projects/solution/b/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/a Info seq [hh:mm:ss:mss] For info: /user/username/projects/solution/a/index.ts :: Config file name: /user/username/projects/solution/a/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/solution/a diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js index 7b10fe6ca65de..56be72177ec13 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js @@ -1851,23 +1851,11 @@ Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/help Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/helpers Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/src/helpers/functions.ts position 13 in project /user/username/projects/myproject/tsconfig-indirect2.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/helpers Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/helpers Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js index 15e0fc60a4dab..b27123a9f4422 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js @@ -757,10 +757,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/project/src/common/input/keyboard.ts position 99 in project /user/username/projects/project/src/common/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/out/input/keyboard.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/project/out/input/keyboard.d.ts position 24 in project /user/username/projects/project/src/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/project/src/common/input -Info seq [hh:mm:ss:mss] For info: /user/username/projects/project/src/common/input/keyboard.ts :: Config file name: /user/username/projects/project/src/common/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/project/src/common/input -Info seq [hh:mm:ss:mss] For info: /user/username/projects/project/src/common/input/keyboard.ts :: Config file name: /user/username/projects/project/src/common/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js index fbbb946c991de..54a461f211e15 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js @@ -749,10 +749,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/project/src/common/input/keyboard.ts position 99 in project /user/username/projects/project/src/common/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/project/src/common/input/keyboard.ts position 99 in project /user/username/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/project/src/common/input -Info seq [hh:mm:ss:mss] For info: /user/username/projects/project/src/common/input/keyboard.ts :: Config file name: /user/username/projects/project/src/common/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/project/src/common/input -Info seq [hh:mm:ss:mss] For info: /user/username/projects/project/src/common/input/keyboard.ts :: Config file name: /user/username/projects/project/src/common/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/project/src/common/input Info seq [hh:mm:ss:mss] For info: /user/username/projects/project/src/common/input/keyboard.test.ts :: Config file name: /user/username/projects/project/src/common/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/project/src/common/input Info seq [hh:mm:ss:mss] For info: /user/username/projects/project/src/common/input/keyboard.test.ts :: Config file name: /user/username/projects/project/src/common/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js index c3f0b7271a3c8..1b684990e1b6b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js @@ -1627,12 +1627,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/src/main.ts position 50 in project /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/src/main.ts position 50 in project /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/helpers Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/helpers @@ -1799,8 +1793,8 @@ ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 3 - /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* /dummy/dummy.ts (Open) version: SVC-1-0 @@ -1913,8 +1907,8 @@ ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 3 - /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* /dummy/dummy.ts (Open) version: SVC-1-0 @@ -2030,8 +2024,8 @@ ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 3 - /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* /dummy/dummy.ts *changed* open: false *changed* diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js index ee06fe2c4b04e..a38fdfa616631 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js @@ -1884,12 +1884,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/src/main.ts position 50 in project /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/src/main.ts position 50 in project /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/helpers Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/helpers @@ -1990,12 +1984,6 @@ Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/indirect1/m Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/indirect1 Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/indirect1/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/indirect1/main.ts position 9 in project /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/helpers Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/helpers @@ -2097,12 +2085,6 @@ Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/help Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/helpers Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -2325,8 +2307,8 @@ ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 containingProjects: 5 *changed* - /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* /user/username/projects/myproject/tsconfig-indirect1.json *new* /user/username/projects/myproject/tsconfig-indirect2.json *new* @@ -2488,8 +2470,8 @@ ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 5 - /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* /user/username/projects/myproject/tsconfig-indirect1.json /user/username/projects/myproject/tsconfig-indirect2.json @@ -2654,8 +2636,8 @@ ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 5 - /user/username/projects/myproject/tsconfig-src.json /user/username/projects/myproject/tsconfig.json + /user/username/projects/myproject/tsconfig-src.json /dev/null/inferredProject1* /user/username/projects/myproject/tsconfig-indirect1.json /user/username/projects/myproject/tsconfig-indirect2.json @@ -3062,8 +3044,8 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* - /user/username/projects/myproject/tsconfig-src.json *deleted* /user/username/projects/myproject/tsconfig.json *deleted* + /user/username/projects/myproject/tsconfig-src.json *deleted* /dev/null/inferredProject1* *deleted* /user/username/projects/myproject/tsconfig-indirect1.json *deleted* /user/username/projects/myproject/tsconfig-indirect2.json *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index fecf73642c0cc..2e27d51430d87 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -950,8 +950,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1545,8 +1543,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1643,8 +1639,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1741,8 +1735,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1839,8 +1831,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1937,8 +1927,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js index 76ac53153f344..b9feb88e3884c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js @@ -950,8 +950,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1449,8 +1447,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1561,8 +1557,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1659,8 +1653,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1757,8 +1749,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1855,8 +1845,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js index 05942f47828cc..9285213e13787 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js @@ -1392,8 +1392,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1504,8 +1502,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1602,8 +1598,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1700,8 +1694,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1798,8 +1790,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js index eb76ae881df8c..0edead96367c4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js @@ -950,8 +950,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 50c775502e8f4..c2071c476ce55 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -950,8 +950,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1510,8 +1508,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1608,8 +1604,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1706,8 +1700,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1804,8 +1796,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1902,8 +1892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js index 08bfff91018c2..14ad7079952cc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js @@ -950,8 +950,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1446,8 +1444,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1558,8 +1554,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1656,8 +1650,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1754,8 +1746,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1852,8 +1842,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js index 085c0bba18d95..dfed09103bbcc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js @@ -1445,8 +1445,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1557,8 +1555,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1655,8 +1651,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1753,8 +1747,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1851,8 +1843,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js index e7117a73cdfa9..017708bffd6c8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js @@ -950,8 +950,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js index 9898620a930a1..8027667a01b46 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js @@ -1158,8 +1158,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 9, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1269,8 +1267,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 10, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1367,8 +1363,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1465,8 +1459,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1563,8 +1555,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 477ebab3a0e65..f8ffe5090c49d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -950,8 +950,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1494,8 +1492,6 @@ Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1606,8 +1602,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1704,8 +1698,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1802,8 +1794,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 16, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1900,8 +1890,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 17, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js index 82dda9ba87953..03b09177a9b89 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js @@ -950,8 +950,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1490,8 +1488,6 @@ Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1602,8 +1598,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1700,8 +1694,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1798,8 +1790,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 16, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1896,8 +1886,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 17, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js index c9983e7e0ba74..0971929023e58 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -892,8 +892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1488,8 +1486,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1619,8 +1615,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1717,8 +1711,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1815,8 +1807,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1913,8 +1903,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js index 39438d5b9f87f..0936c3ef6502f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js @@ -892,8 +892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1424,8 +1422,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1570,8 +1566,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1668,8 +1662,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1766,8 +1758,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1864,8 +1854,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js index 22bb03bbe4da9..3e132c97963dd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js @@ -884,8 +884,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: { @@ -1376,8 +1374,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1559,8 +1555,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1657,8 +1651,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1755,8 +1747,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1853,8 +1843,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js index 1125312ce1cac..b5fd5165c1140 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js @@ -892,8 +892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1464,8 +1462,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: { @@ -1614,8 +1610,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1712,8 +1706,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1810,8 +1802,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1908,8 +1898,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js index a4a4fbe0edbf3..903e2c1c41934 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js @@ -1092,8 +1092,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 9, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: { @@ -1239,8 +1237,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 10, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1337,8 +1333,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1435,8 +1429,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1533,8 +1525,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 27add43ab6d06..eec78bf39e559 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -892,8 +892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1491,8 +1489,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1622,8 +1618,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1720,8 +1714,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1818,8 +1810,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1916,8 +1906,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js index 00ded71db663e..be43ded3a777c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js @@ -892,8 +892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1427,8 +1425,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1573,8 +1569,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1671,8 +1665,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1769,8 +1761,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1867,8 +1857,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js index 29634a13f2540..c897a016c593e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js @@ -889,8 +889,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] response: @@ -1442,8 +1440,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: { @@ -1624,8 +1620,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1722,8 +1716,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1820,8 +1812,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1918,8 +1908,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js index 600f08776a6e1..298f319a0950a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js @@ -892,8 +892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1456,8 +1454,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] response: { @@ -1632,8 +1628,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1730,8 +1724,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1828,8 +1820,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1926,8 +1916,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js index dba169f5fcbda..a67e4ee563afe 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js @@ -1097,8 +1097,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 9, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file Info seq [hh:mm:ss:mss] response: @@ -1273,8 +1271,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 10, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1371,8 +1367,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1469,8 +1463,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1567,8 +1559,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js index e1fe2a55219e6..49af79b1ae1d3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -892,8 +892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1441,8 +1439,6 @@ Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1554,8 +1550,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1652,8 +1646,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1750,8 +1742,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1848,8 +1838,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 16, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js index bc16b50fcf233..a4e3e91949f12 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js @@ -892,8 +892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1437,8 +1435,6 @@ Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "function fooBar() { }\nexport function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1550,8 +1546,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1648,8 +1642,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1746,8 +1738,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1844,8 +1834,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 16, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js index 2c5c222e3d842..75c6b993047a1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js @@ -1100,8 +1100,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 9, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1282,8 +1280,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 10, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1380,8 +1376,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1478,8 +1472,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1576,8 +1568,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js index 2ef44739bd6ab..36174a858d88e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -892,8 +892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1510,8 +1508,6 @@ Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1623,8 +1619,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1721,8 +1715,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1819,8 +1811,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 16, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1917,8 +1907,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 17, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js index a5e3602e933ea..6ce9916f1c7c7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js @@ -892,8 +892,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] response: @@ -1506,8 +1504,6 @@ Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/dependency/FnS.ts SVC-2-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1619,8 +1615,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1717,8 +1711,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1815,8 +1807,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 16, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1913,8 +1903,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 17, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js index 490c54edb1337..2b77264f077fd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js @@ -937,8 +937,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 9, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: { @@ -1084,8 +1082,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 10, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1182,8 +1178,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1280,8 +1274,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1378,8 +1370,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index fa60b29ed0999..0c028602269bd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -968,8 +968,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1563,8 +1561,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1661,8 +1657,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1759,8 +1753,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1857,8 +1849,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1955,8 +1945,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js index de52008efa727..a23f6c74d5f54 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js @@ -968,8 +968,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1467,8 +1465,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1579,8 +1575,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1677,8 +1671,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1775,8 +1767,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1873,8 +1863,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js index 41835b2418d78..d61fb80d4792a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js @@ -1410,8 +1410,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1522,8 +1520,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1620,8 +1616,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1718,8 +1712,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1816,8 +1808,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js index 623e2a667a6c4..cd9a0f1fa96aa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js @@ -968,8 +968,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index b755f0039491d..63b76e19b9b52 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -968,8 +968,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1528,8 +1526,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1626,8 +1622,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1724,8 +1718,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1822,8 +1814,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1920,8 +1910,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js index d5f5a0b0e290e..c2e860aaf9f17 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js @@ -968,8 +968,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1464,8 +1462,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1576,8 +1572,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1674,8 +1668,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1772,8 +1764,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1870,8 +1860,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js index 3e5a1685c78af..18f3b9db377a4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js @@ -1463,8 +1463,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1575,8 +1573,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1673,8 +1669,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1771,8 +1765,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1869,8 +1861,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js index 3af239e9dfa84..45592ff3d5900 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js @@ -968,8 +968,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js index e399b5f0b8975..ccbc8aa58d46d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js @@ -1176,8 +1176,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 9, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1287,8 +1285,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 10, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1385,8 +1381,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 11, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1483,8 +1477,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 12, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1581,8 +1573,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 13, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index b989fcfbd23f9..438ae0d3fdd45 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -968,8 +968,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1512,8 +1510,6 @@ Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1624,8 +1620,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1722,8 +1716,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1820,8 +1812,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 16, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1918,8 +1908,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 17, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js index 90ad21d32d2a2..b78efcccd66e8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js @@ -968,8 +968,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1508,8 +1506,6 @@ Info seq [hh:mm:ss:mss] Files (2) /user/username/projects/myproject/dependency/FnS.ts SVC-1-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\nconst x = 10;" Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1620,8 +1616,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 14, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1718,8 +1712,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 15, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1816,8 +1808,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 16, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { @@ -1914,8 +1904,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 17, "type": "request" } -Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/dependency -Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js index 2fbd4244ffc71..0b7eb86b2d8b4 100644 --- a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js +++ b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js @@ -474,8 +474,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/test/project1/index.d.ts 2000 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Missing generated file -Info seq [hh:mm:ss:mss] Search path: C:/temp/test/project1 -Info seq [hh:mm:ss:mss] For info: C:/temp/test/project1/index.ts :: Config file name: C:/temp/test/project1/tsconfig.json Info seq [hh:mm:ss:mss] response: { "response": { diff --git a/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js b/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js index c054807a9b559..2403035badaaf 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js +++ b/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js @@ -127,17 +127,6 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project 'project1' (External) -Info seq [hh:mm:ss:mss] Files (1) - /a/b/app.ts - - - a/b/app.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: project1 WatchType: Missing file Info seq [hh:mm:ss:mss] Creating configuration project /a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: @@ -222,6 +211,17 @@ Info seq [hh:mm:ss:mss] event: } } } +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project 'project1' (External) +Info seq [hh:mm:ss:mss] Files (1) + /a/b/app.ts + + + a/b/app.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: project1 WatchType: Missing file Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -235,10 +235,6 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/a/lib/lib.d.ts: - {"pollingInterval":500} *new* - -PolledWatches *deleted*:: /a/lib/lib.d.ts: {"pollingInterval":500} From db3d54ffbc0a805fbdd5104c5a5137d7ca84420a Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Wed, 14 Feb 2024 06:15:21 +0000 Subject: [PATCH 43/56] Update package-lock.json --- package-lock.json | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index b6a748174d23d..7d100d9ba3799 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1460,15 +1460,16 @@ } }, "node_modules/call-bind": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.6.tgz", - "integrity": "sha512-Mj50FLHtlsoVfRfnHaZvyrooHcrlceNZdL/QBvJJVd9Ta55qCQK0gs4ss2oZDeV9zFCs6ewzYgVE5yfVmfFpVg==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dev": true, "dependencies": { + "es-define-property": "^1.0.0", "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.3", - "set-function-length": "^1.2.0" + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" }, "engines": { "node": ">= 0.4" @@ -1836,15 +1837,14 @@ "dev": true }, "node_modules/define-data-property": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.3.tgz", - "integrity": "sha512-h3GBouC+RPtNX2N0hHVLo2ZwPYurq8mLmXpOLTsw71gr7lHt5VaI4vVkDUNOfiWmm48JEXe3VM7PmLX45AMmmg==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "dev": true, "dependencies": { + "es-define-property": "^1.0.0", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.1" + "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -5394,15 +5394,16 @@ } }, "call-bind": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.6.tgz", - "integrity": "sha512-Mj50FLHtlsoVfRfnHaZvyrooHcrlceNZdL/QBvJJVd9Ta55qCQK0gs4ss2oZDeV9zFCs6ewzYgVE5yfVmfFpVg==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dev": true, "requires": { + "es-define-property": "^1.0.0", "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.3", - "set-function-length": "^1.2.0" + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" } }, "callsites": { @@ -5678,15 +5679,14 @@ "dev": true }, "define-data-property": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.3.tgz", - "integrity": "sha512-h3GBouC+RPtNX2N0hHVLo2ZwPYurq8mLmXpOLTsw71gr7lHt5VaI4vVkDUNOfiWmm48JEXe3VM7PmLX45AMmmg==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "dev": true, "requires": { + "es-define-property": "^1.0.0", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.1" + "gopd": "^1.0.1" } }, "deprecation": { From 3de2cdce4d62fab6c8fb9e8a3f78eb33125d6cd5 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Wed, 14 Feb 2024 10:50:54 -0800 Subject: [PATCH 44/56] Set NODE_ENV to development and not testing in launch template (#57407) --- .vscode/launch.template.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/launch.template.json b/.vscode/launch.template.json index 80b4c599aa4a7..de410368e9a37 100644 --- a/.vscode/launch.template.json +++ b/.vscode/launch.template.json @@ -38,7 +38,7 @@ "0" ], "env": { - "NODE_ENV": "testing" + "NODE_ENV": "development" }, "outFiles": [ "${workspaceFolder}/built/**/*.js", From ec2c78c32bd054f2ca79e68296712d9a1534790b Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 14 Feb 2024 17:52:14 -0800 Subject: [PATCH 45/56] Update TypeScript-Twoslash-Repro-Action action version (#57410) --- .github/workflows/twoslash-repros.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/twoslash-repros.yaml b/.github/workflows/twoslash-repros.yaml index c11f4a9c12ec3..8e0a53f9d161f 100644 --- a/.github/workflows/twoslash-repros.yaml +++ b/.github/workflows/twoslash-repros.yaml @@ -41,7 +41,7 @@ jobs: - if: ${{ !github.event.inputs.bisect }} uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 - - uses: microsoft/TypeScript-Twoslash-Repro-Action@80178415feb0ebd3ed88d09e263a7cb8c8d6e1d2 # master + - uses: microsoft/TypeScript-Twoslash-Repro-Action@8680b5b290d48a7badbc7ba65971d526c61b86b8 # master with: github-token: ${{ secrets.TS_BOT_GITHUB_TOKEN }} issue: ${{ github.event.inputs.issue }} From 98348eaa898b9eaebf48f4972614ae3ac82a244b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Feb 2024 19:01:50 -0800 Subject: [PATCH 46/56] Bump the github-actions group with 3 updates (#57411) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../workflows/accept-baselines-fix-lints.yaml | 2 +- .github/workflows/ci.yml | 20 +++++++++---------- .github/workflows/codeql.yml | 6 +++--- .github/workflows/new-release-branch.yaml | 2 +- .github/workflows/nightly.yaml | 2 +- .../workflows/release-branch-artifact.yaml | 4 ++-- .github/workflows/rich-navigation.yml | 2 +- .github/workflows/scorecard.yml | 4 ++-- .github/workflows/set-version.yaml | 2 +- .github/workflows/sync-branch.yaml | 2 +- .github/workflows/twoslash-repros.yaml | 2 +- .github/workflows/update-package-lock.yaml | 2 +- 12 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/accept-baselines-fix-lints.yaml b/.github/workflows/accept-baselines-fix-lints.yaml index a5d301f1485aa..7130e01a75a88 100644 --- a/.github/workflows/accept-baselines-fix-lints.yaml +++ b/.github/workflows/accept-baselines-fix-lints.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: token: ${{ secrets.TS_BOT_GITHUB_TOKEN }} - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - name: Configure Git, Run Tests, Update Baselines, Apply Fixes run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e3d360b8334d..67cbb21f38b0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Use node version ${{ matrix.node-version }} - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: ${{ matrix.node-version }} check-latest: true @@ -56,7 +56,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: '*' check-latest: true @@ -70,7 +70,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: '*' check-latest: true @@ -91,7 +91,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: '*' check-latest: true @@ -108,7 +108,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: '*' check-latest: true @@ -123,7 +123,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: '*' check-latest: true @@ -171,7 +171,7 @@ jobs: path: base ref: ${{ github.base_ref }} - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: '*' check-latest: true @@ -205,7 +205,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: '*' check-latest: true @@ -222,7 +222,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: '*' check-latest: true @@ -242,7 +242,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: '*' check-latest: true diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a6f34223c9730..0ac3324615416 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,7 +46,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 + uses: github/codeql-action/init@e675ced7a7522a761fc9c8eb26682c8b27c42b2b # v3.24.1 with: config-file: ./.github/codeql/codeql-configuration.yml # Override language selection by uncommenting this and choosing your languages @@ -56,7 +56,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below). - name: Autobuild - uses: github/codeql-action/autobuild@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 + uses: github/codeql-action/autobuild@e675ced7a7522a761fc9c8eb26682c8b27c42b2b # v3.24.1 # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -70,4 +70,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 + uses: github/codeql-action/analyze@e675ced7a7522a761fc9c8eb26682c8b27c42b2b # v3.24.1 diff --git a/.github/workflows/new-release-branch.yaml b/.github/workflows/new-release-branch.yaml index 7e7a41ce50666..23efbe1a8bf5b 100644 --- a/.github/workflows/new-release-branch.yaml +++ b/.github/workflows/new-release-branch.yaml @@ -23,7 +23,7 @@ jobs: filter: blob:none # https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/ fetch-depth: 0 # Default is 1; need to set to 0 to get the benefits of blob:none. token: ${{ secrets.TS_BOT_GITHUB_TOKEN }} - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - run: | npm --version # corepack enable npm diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index b81409194b6a3..9aa7910403fc3 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: # Use NODE_AUTH_TOKEN environment variable to authenticate to this registry. registry-url: https://registry.npmjs.org/ diff --git a/.github/workflows/release-branch-artifact.yaml b/.github/workflows/release-branch-artifact.yaml index bfbe2cb3e7ebb..99862ff6066a2 100644 --- a/.github/workflows/release-branch-artifact.yaml +++ b/.github/workflows/release-branch-artifact.yaml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - run: | npm --version # corepack enable npm @@ -41,7 +41,7 @@ jobs: npm pack ./ mv typescript-*.tgz typescript.tgz - name: Upload built tarfile - uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: name: tgz path: typescript.tgz diff --git a/.github/workflows/rich-navigation.yml b/.github/workflows/rich-navigation.yml index bc24b3de83a24..798658d44a343 100644 --- a/.github/workflows/rich-navigation.yml +++ b/.github/workflows/rich-navigation.yml @@ -26,7 +26,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - name: Install dependencies run: npm ci diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 6601bb1a5033d..a14a2c71c8ac1 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -47,7 +47,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: 'Upload artifact' - uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: name: SARIF file path: results.sarif @@ -55,6 +55,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: 'Upload to code-scanning' - uses: github/codeql-action/upload-sarif@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 + uses: github/codeql-action/upload-sarif@e675ced7a7522a761fc9c8eb26682c8b27c42b2b # v3.24.1 with: sarif_file: results.sarif diff --git a/.github/workflows/set-version.yaml b/.github/workflows/set-version.yaml index cf490ad79d931..43cf921ad312a 100644 --- a/.github/workflows/set-version.yaml +++ b/.github/workflows/set-version.yaml @@ -21,7 +21,7 @@ jobs: with: ref: ${{ github.event.client_payload.branch_name }} token: ${{ secrets.TS_BOT_GITHUB_TOKEN }} - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - run: | npm --version # corepack enable npm diff --git a/.github/workflows/sync-branch.yaml b/.github/workflows/sync-branch.yaml index 309de471fa6b5..b754e945a78b5 100644 --- a/.github/workflows/sync-branch.yaml +++ b/.github/workflows/sync-branch.yaml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: ref: ${{ github.event.inputs.branch_name || github.event.client_payload.branch_name }} diff --git a/.github/workflows/twoslash-repros.yaml b/.github/workflows/twoslash-repros.yaml index 8e0a53f9d161f..5f389f70bbea2 100644 --- a/.github/workflows/twoslash-repros.yaml +++ b/.github/workflows/twoslash-repros.yaml @@ -40,7 +40,7 @@ jobs: fetch-depth: 0 # Default is 1; need to set to 0 to get the benefits of blob:none. - if: ${{ !github.event.inputs.bisect }} uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - uses: microsoft/TypeScript-Twoslash-Repro-Action@8680b5b290d48a7badbc7ba65971d526c61b86b8 # master with: github-token: ${{ secrets.TS_BOT_GITHUB_TOKEN }} diff --git a/.github/workflows/update-package-lock.yaml b/.github/workflows/update-package-lock.yaml index ef83b693fde29..649e81fbe0e03 100644 --- a/.github/workflows/update-package-lock.yaml +++ b/.github/workflows/update-package-lock.yaml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: token: ${{ secrets.TS_BOT_GITHUB_TOKEN }} - - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: '*' check-latest: true From 67542c4c1f125e458ba69fb317b74122324502fa Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Thu, 15 Feb 2024 06:14:57 +0000 Subject: [PATCH 47/56] Update package-lock.json --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7d100d9ba3799..215f50b895122 100644 --- a/package-lock.json +++ b/package-lock.json @@ -746,9 +746,9 @@ } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, "engines": { "node": ">=6.0.0" @@ -4870,9 +4870,9 @@ "dev": true }, "@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true }, "@jridgewell/sourcemap-codec": { From da5f0fe9d4f273d0fb67039c67c7edc3a69ea3a9 Mon Sep 17 00:00:00 2001 From: hborchardt <66408901+hborchardt@users.noreply.github.com> Date: Thu, 15 Feb 2024 20:49:38 +0100 Subject: [PATCH 48/56] Add missing members to array of objects in quickfix (#57143) --- src/services/codefixes/fixAddMissingMember.ts | 20 ++++++++++++++---- .../codeFixAddMissingProperties30.ts | 21 +++++++++++++++++++ .../codeFixAddMissingProperties31.ts | 21 +++++++++++++++++++ 3 files changed, 58 insertions(+), 4 deletions(-) create mode 100644 tests/cases/fourslash/codeFixAddMissingProperties30.ts create mode 100644 tests/cases/fourslash/codeFixAddMissingProperties31.ts diff --git a/src/services/codefixes/fixAddMissingMember.ts b/src/services/codefixes/fixAddMissingMember.ts index 9ef55283fd6cb..1210275178f6b 100644 --- a/src/services/codefixes/fixAddMissingMember.ts +++ b/src/services/codefixes/fixAddMissingMember.ts @@ -187,7 +187,7 @@ registerCodeFix({ return createCombinedCodeActions(textChanges.ChangeTracker.with(context, changes => { eachDiagnostic(context, errorCodes, diag => { const info = getInfo(diag.file, diag.start, diag.code, checker, context.program); - if (!info || !addToSeen(seen, getNodeId(info.parentDeclaration) + "#" + info.token.text)) { + if (!info || !addToSeen(seen, getNodeId(info.parentDeclaration) + "#" + (info.kind === InfoKind.ObjectLiteral ? info.identifier : info.token.text))) { return; } if (fixId === fixMissingFunctionDeclaration && (info.kind === InfoKind.Function || info.kind === InfoKind.Signature)) { @@ -273,7 +273,8 @@ interface FunctionInfo { interface ObjectLiteralInfo { readonly kind: InfoKind.ObjectLiteral; - readonly token: Identifier; + readonly token: Node; + readonly identifier: string; readonly properties: Symbol[]; readonly parentDeclaration: ObjectLiteralExpression; readonly indentation?: number; @@ -315,7 +316,18 @@ function getInfo(sourceFile: SourceFile, tokenPos: number, errorCode: number, ch const properties = arrayFrom(checker.getUnmatchedProperties(checker.getTypeAtLocation(parent), checker.getParameterType(signature, argIndex), /*requireOptionalProperties*/ false, /*matchDiscriminantProperties*/ false)); if (!length(properties)) return undefined; - return { kind: InfoKind.ObjectLiteral, token: param.name, properties, parentDeclaration: parent }; + return { kind: InfoKind.ObjectLiteral, token: param.name, identifier: param.name.text, properties, parentDeclaration: parent }; + } + + if (token.kind === SyntaxKind.OpenBraceToken && isObjectLiteralExpression(parent)) { + const targetType = checker.getContextualType(parent) || checker.getTypeAtLocation(parent); + const properties = arrayFrom(checker.getUnmatchedProperties(checker.getTypeAtLocation(parent), targetType, /*requireOptionalProperties*/ false, /*matchDiscriminantProperties*/ false)); + if (!length(properties)) return undefined; + + // no identifier needed because the whole parentDeclaration has the error + const identifier = ""; + + return { kind: InfoKind.ObjectLiteral, token: parent, identifier, properties, parentDeclaration: parent }; } if (!isMemberName(token)) return undefined; @@ -325,7 +337,7 @@ function getInfo(sourceFile: SourceFile, tokenPos: number, errorCode: number, ch const properties = arrayFrom(checker.getUnmatchedProperties(checker.getTypeAtLocation(parent.initializer), targetType, /*requireOptionalProperties*/ false, /*matchDiscriminantProperties*/ false)); if (!length(properties)) return undefined; - return { kind: InfoKind.ObjectLiteral, token, properties, parentDeclaration: parent.initializer }; + return { kind: InfoKind.ObjectLiteral, token, identifier: token.text, properties, parentDeclaration: parent.initializer }; } if (isIdentifier(token) && isJsxOpeningLikeElement(token.parent)) { diff --git a/tests/cases/fourslash/codeFixAddMissingProperties30.ts b/tests/cases/fourslash/codeFixAddMissingProperties30.ts new file mode 100644 index 0000000000000..3475c38db7642 --- /dev/null +++ b/tests/cases/fourslash/codeFixAddMissingProperties30.ts @@ -0,0 +1,21 @@ +/// + +////interface A { +//// a: number; +//// b: string; +////} +////function f(_obj: A[]): string { +//// return ""; +////} +////[|f([{}])|] + +debugger; +verify.codeFix({ + index: 0, + description: ts.Diagnostics.Add_missing_properties.message, + newRangeContent: +`f([{ + a: 0, + b: "" +}])`, +}); diff --git a/tests/cases/fourslash/codeFixAddMissingProperties31.ts b/tests/cases/fourslash/codeFixAddMissingProperties31.ts new file mode 100644 index 0000000000000..c05e87d68d468 --- /dev/null +++ b/tests/cases/fourslash/codeFixAddMissingProperties31.ts @@ -0,0 +1,21 @@ +/// + +////interface A { +//// a: number; +//// b: string; +////} +////interface B { +//// c: A[]; +////} +////[|const b: B[] = [{c: [{}]}]|] + +debugger; +verify.codeFix({ + index: 0, + description: ts.Diagnostics.Add_missing_properties.message, + newRangeContent: +`const b: B[] = [{c: [{ + a: 0, + b: "" +}]}]`, +}); From f41a5f59868e795630f75d6da9f54010d653f382 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Thu, 15 Feb 2024 17:26:42 -0500 Subject: [PATCH 49/56] Preserve separators in numeric literals with target=ES2021+ (#57144) --- src/compiler/emitter.ts | 2 +- ...mericSeparators.decimal(target=es2020).js} | 0 ...Separators.decimal(target=es2020).symbols} | 0 ...icSeparators.decimal(target=es2020).types} | 0 ...umericSeparators.decimal(target=es2021).js | 34 ++++++++++++++ ...cSeparators.decimal(target=es2021).symbols | 19 ++++++++ ...ricSeparators.decimal(target=es2021).types | 45 +++++++++++++++++++ ...r.numericSeparators.decimal(target=es5).js | 34 ++++++++++++++ ...ericSeparators.decimal(target=es5).symbols | 19 ++++++++ ...umericSeparators.decimal(target=es5).types | 45 +++++++++++++++++++ .../parser.numericSeparators.decimal.ts | 1 + 11 files changed, 198 insertions(+), 1 deletion(-) rename tests/baselines/reference/{parser.numericSeparators.decimal.js => parser.numericSeparators.decimal(target=es2020).js} (100%) rename tests/baselines/reference/{parser.numericSeparators.decimal.symbols => parser.numericSeparators.decimal(target=es2020).symbols} (100%) rename tests/baselines/reference/{parser.numericSeparators.decimal.types => parser.numericSeparators.decimal(target=es2020).types} (100%) create mode 100644 tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).js create mode 100644 tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).symbols create mode 100644 tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).types create mode 100644 tests/baselines/reference/parser.numericSeparators.decimal(target=es5).js create mode 100644 tests/baselines/reference/parser.numericSeparators.decimal(target=es5).symbols create mode 100644 tests/baselines/reference/parser.numericSeparators.decimal(target=es5).types diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 6842fb1c8c71c..f27f9e7247e74 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -5657,7 +5657,7 @@ export function createPrinter(printerOptions: PrinterOptions = {}, handlers: Pri const flags = (neverAsciiEscape ? GetLiteralTextFlags.NeverAsciiEscape : 0) | (jsxAttributeEscape ? GetLiteralTextFlags.JsxAttributeEscape : 0) | (printerOptions.terminateUnterminatedLiterals ? GetLiteralTextFlags.TerminateUnterminatedLiterals : 0) - | (printerOptions.target && printerOptions.target === ScriptTarget.ESNext ? GetLiteralTextFlags.AllowNumericSeparator : 0); + | (printerOptions.target && printerOptions.target >= ScriptTarget.ES2021 ? GetLiteralTextFlags.AllowNumericSeparator : 0); return getLiteralText(node, currentSourceFile, flags); } diff --git a/tests/baselines/reference/parser.numericSeparators.decimal.js b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2020).js similarity index 100% rename from tests/baselines/reference/parser.numericSeparators.decimal.js rename to tests/baselines/reference/parser.numericSeparators.decimal(target=es2020).js diff --git a/tests/baselines/reference/parser.numericSeparators.decimal.symbols b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2020).symbols similarity index 100% rename from tests/baselines/reference/parser.numericSeparators.decimal.symbols rename to tests/baselines/reference/parser.numericSeparators.decimal(target=es2020).symbols diff --git a/tests/baselines/reference/parser.numericSeparators.decimal.types b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2020).types similarity index 100% rename from tests/baselines/reference/parser.numericSeparators.decimal.types rename to tests/baselines/reference/parser.numericSeparators.decimal(target=es2020).types diff --git a/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).js b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).js new file mode 100644 index 0000000000000..969341f4d2b43 --- /dev/null +++ b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).js @@ -0,0 +1,34 @@ +//// [tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts] //// + +//// [parser.numericSeparators.decimal.ts] +1_000_000_000 +1.1_00_01 +1e1_0 +1e+1_0 +1e-1_0 +1.1e10_0 +1.1e+10_0 +1.1e-10_0 +12_34_56 +1_22_333 +1_2.3_4 +1_2.3_4e5_6 +1_2.3_4e+5_6 +1_2.3_4e-5_6 + + +//// [parser.numericSeparators.decimal.js] +1_000_000_000; +1.1_00_01; +1e1_0; +1e+1_0; +1e-1_0; +1.1e10_0; +1.1e+10_0; +1.1e-10_0; +12_34_56; +1_22_333; +1_2.3_4; +1_2.3_4e5_6; +1_2.3_4e+5_6; +1_2.3_4e-5_6; diff --git a/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).symbols b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).symbols new file mode 100644 index 0000000000000..d0f3ea53bb8bf --- /dev/null +++ b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).symbols @@ -0,0 +1,19 @@ +//// [tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts] //// + +=== parser.numericSeparators.decimal.ts === + +1_000_000_000 +1.1_00_01 +1e1_0 +1e+1_0 +1e-1_0 +1.1e10_0 +1.1e+10_0 +1.1e-10_0 +12_34_56 +1_22_333 +1_2.3_4 +1_2.3_4e5_6 +1_2.3_4e+5_6 +1_2.3_4e-5_6 + diff --git a/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).types b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).types new file mode 100644 index 0000000000000..e9b633bf6f487 --- /dev/null +++ b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).types @@ -0,0 +1,45 @@ +//// [tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts] //// + +=== parser.numericSeparators.decimal.ts === +1_000_000_000 +>1_000_000_000 : 1000000000 + +1.1_00_01 +>1.1_00_01 : 1.10001 + +1e1_0 +>1e1_0 : 10000000000 + +1e+1_0 +>1e+1_0 : 10000000000 + +1e-1_0 +>1e-1_0 : 1e-10 + +1.1e10_0 +>1.1e10_0 : 1.1e+100 + +1.1e+10_0 +>1.1e+10_0 : 1.1e+100 + +1.1e-10_0 +>1.1e-10_0 : 1.1e-100 + +12_34_56 +>12_34_56 : 123456 + +1_22_333 +>1_22_333 : 122333 + +1_2.3_4 +>1_2.3_4 : 12.34 + +1_2.3_4e5_6 +>1_2.3_4e5_6 : 1.234e+57 + +1_2.3_4e+5_6 +>1_2.3_4e+5_6 : 1.234e+57 + +1_2.3_4e-5_6 +>1_2.3_4e-5_6 : 1.234e-55 + diff --git a/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).js b/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).js new file mode 100644 index 0000000000000..ad02bc7c6fc9a --- /dev/null +++ b/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).js @@ -0,0 +1,34 @@ +//// [tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts] //// + +//// [parser.numericSeparators.decimal.ts] +1_000_000_000 +1.1_00_01 +1e1_0 +1e+1_0 +1e-1_0 +1.1e10_0 +1.1e+10_0 +1.1e-10_0 +12_34_56 +1_22_333 +1_2.3_4 +1_2.3_4e5_6 +1_2.3_4e+5_6 +1_2.3_4e-5_6 + + +//// [parser.numericSeparators.decimal.js] +1000000000; +1.10001; +10000000000; +10000000000; +1e-10; +1.1e+100; +1.1e+100; +1.1e-100; +123456; +122333; +12.34; +1.234e+57; +1.234e+57; +1.234e-55; diff --git a/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).symbols b/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).symbols new file mode 100644 index 0000000000000..d0f3ea53bb8bf --- /dev/null +++ b/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).symbols @@ -0,0 +1,19 @@ +//// [tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts] //// + +=== parser.numericSeparators.decimal.ts === + +1_000_000_000 +1.1_00_01 +1e1_0 +1e+1_0 +1e-1_0 +1.1e10_0 +1.1e+10_0 +1.1e-10_0 +12_34_56 +1_22_333 +1_2.3_4 +1_2.3_4e5_6 +1_2.3_4e+5_6 +1_2.3_4e-5_6 + diff --git a/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).types b/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).types new file mode 100644 index 0000000000000..e9b633bf6f487 --- /dev/null +++ b/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).types @@ -0,0 +1,45 @@ +//// [tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts] //// + +=== parser.numericSeparators.decimal.ts === +1_000_000_000 +>1_000_000_000 : 1000000000 + +1.1_00_01 +>1.1_00_01 : 1.10001 + +1e1_0 +>1e1_0 : 10000000000 + +1e+1_0 +>1e+1_0 : 10000000000 + +1e-1_0 +>1e-1_0 : 1e-10 + +1.1e10_0 +>1.1e10_0 : 1.1e+100 + +1.1e+10_0 +>1.1e+10_0 : 1.1e+100 + +1.1e-10_0 +>1.1e-10_0 : 1.1e-100 + +12_34_56 +>12_34_56 : 123456 + +1_22_333 +>1_22_333 : 122333 + +1_2.3_4 +>1_2.3_4 : 12.34 + +1_2.3_4e5_6 +>1_2.3_4e5_6 : 1.234e+57 + +1_2.3_4e+5_6 +>1_2.3_4e+5_6 : 1.234e+57 + +1_2.3_4e-5_6 +>1_2.3_4e-5_6 : 1.234e-55 + diff --git a/tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts b/tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts index e8b6d5440cf08..d5f020e2059d1 100644 --- a/tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts +++ b/tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts @@ -1,3 +1,4 @@ +// @target: es5, es2020, es2021 1_000_000_000 1.1_00_01 1e1_0 From c4de2afcc289d42b7bef3df30911e120e8bd6d39 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Fri, 16 Feb 2024 06:14:39 +0000 Subject: [PATCH 50/56] Update package-lock.json --- package-lock.json | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 215f50b895122..00b11a8b7a490 100644 --- a/package-lock.json +++ b/package-lock.json @@ -893,12 +893,12 @@ } }, "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.2.0.tgz", - "integrity": "sha512-ePbgBMYtGoRNXDyKGvr9cyHjQ163PbwD0y1MkDJCpkO2YH4OeXX40c4wYHKikHGZcpGPbcRLuy0unPUuafco8Q==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.3.0.tgz", + "integrity": "sha512-c/fjpoHispRvBZuRoTVt/uALg7pXa9RQbXWJiDMk6NDkGNomuAZG7YuYYpZoxeoXv+kVRjIDTsO0e1z0pei+PQ==", "dev": true, "dependencies": { - "@octokit/types": "^12.3.0" + "@octokit/types": "^12.4.0" }, "engines": { "node": ">= 18" @@ -952,9 +952,9 @@ } }, "node_modules/@octokit/types": { - "version": "12.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.4.0.tgz", - "integrity": "sha512-FLWs/AvZllw/AGVs+nJ+ELCDZZJk+kY0zMen118xhL2zD0s1etIUHm1odgjP7epxYU1ln7SZxEUWYop5bhsdgQ==", + "version": "12.5.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.5.0.tgz", + "integrity": "sha512-YJEKcb0KkJlIUNU/zjnZwHEP8AoVh/OoIcP/1IyR4UHxExz7fzpe/a8IG4wBtQi7QDEqiomVLX88S6FpxxAJtg==", "dev": true, "dependencies": { "@octokit/openapi-types": "^19.1.0" @@ -1029,9 +1029,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.11.17", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.17.tgz", - "integrity": "sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==", + "version": "20.11.19", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.19.tgz", + "integrity": "sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -4982,12 +4982,12 @@ "requires": {} }, "@octokit/plugin-rest-endpoint-methods": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.2.0.tgz", - "integrity": "sha512-ePbgBMYtGoRNXDyKGvr9cyHjQ163PbwD0y1MkDJCpkO2YH4OeXX40c4wYHKikHGZcpGPbcRLuy0unPUuafco8Q==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.3.0.tgz", + "integrity": "sha512-c/fjpoHispRvBZuRoTVt/uALg7pXa9RQbXWJiDMk6NDkGNomuAZG7YuYYpZoxeoXv+kVRjIDTsO0e1z0pei+PQ==", "dev": true, "requires": { - "@octokit/types": "^12.3.0" + "@octokit/types": "^12.4.0" } }, "@octokit/request": { @@ -5026,9 +5026,9 @@ } }, "@octokit/types": { - "version": "12.4.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.4.0.tgz", - "integrity": "sha512-FLWs/AvZllw/AGVs+nJ+ELCDZZJk+kY0zMen118xhL2zD0s1etIUHm1odgjP7epxYU1ln7SZxEUWYop5bhsdgQ==", + "version": "12.5.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.5.0.tgz", + "integrity": "sha512-YJEKcb0KkJlIUNU/zjnZwHEP8AoVh/OoIcP/1IyR4UHxExz7fzpe/a8IG4wBtQi7QDEqiomVLX88S6FpxxAJtg==", "dev": true, "requires": { "@octokit/openapi-types": "^19.1.0" @@ -5100,9 +5100,9 @@ "dev": true }, "@types/node": { - "version": "20.11.17", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.17.tgz", - "integrity": "sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==", + "version": "20.11.19", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.19.tgz", + "integrity": "sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ==", "dev": true, "requires": { "undici-types": "~5.26.4" From c18c1c20dced24faf4e4d0cb2e0c7d50853beda6 Mon Sep 17 00:00:00 2001 From: Oleksandr T Date: Fri, 16 Feb 2024 20:36:23 +0200 Subject: [PATCH 51/56] fix(57302): Cannot move symbols from tsx to ts files (#57305) --- src/services/refactors/moveToFile.ts | 14 +- src/services/refactors/moveToNewFile.ts | 8 +- src/services/services.ts | 21 +- .../getMoveToRefactoringFileSuggestions.ts | 57 ++++ ...en-moving-non-jsx-content-from-jsx-file.js | 256 ++++++++++++++++++ ...en-moving-non-tsx-content-from-tsx-file.js | 250 +++++++++++++++++ 6 files changed, 589 insertions(+), 17 deletions(-) create mode 100644 tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js create mode 100644 tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js diff --git a/src/services/refactors/moveToFile.ts b/src/services/refactors/moveToFile.ts index 80064ab148951..64fe7b0a4ae25 100644 --- a/src/services/refactors/moveToFile.ts +++ b/src/services/refactors/moveToFile.ts @@ -893,12 +893,10 @@ export interface TopLevelVariableDeclaration extends VariableDeclaration { export type TopLevelDeclaration = NonVariableTopLevelDeclaration | TopLevelVariableDeclaration | BindingElement; /** @internal */ -export function createNewFileName(oldFile: SourceFile, program: Program, context: RefactorContext, host: LanguageServiceHost): string { +export function createNewFileName(oldFile: SourceFile, program: Program, host: LanguageServiceHost, toMove: ToMove | undefined): string { const checker = program.getTypeChecker(); - const toMove = getStatementsToMove(context); - let usage; if (toMove) { - usage = getUsageInfo(oldFile, toMove.all, checker); + const usage = getUsageInfo(oldFile, toMove.all, checker); const currentDirectory = getDirectoryPath(oldFile.fileName); const extension = extensionFromPath(oldFile.fileName); const newFileName = combinePaths( @@ -974,6 +972,11 @@ export function getStatementsToMove(context: RefactorContext): ToMove | undefine return all.length === 0 ? undefined : { all, ranges }; } +/** @internal */ +export function containsJsx(statements: readonly Statement[] | undefined) { + return find(statements, statement => !!(statement.transformFlags & TransformFlags.ContainsJsx)); +} + function isAllowedStatementToMove(statement: Statement): boolean { // Filters imports and prologue directives out of the range of statements to move. // Imports will be copied to the new file anyway, and may still be needed in the old file. @@ -1000,8 +1003,7 @@ export function getUsageInfo(oldFile: SourceFile, toMove: readonly Statement[], const oldImportsNeededByTargetFile = new Map(); const targetFileImportsFromOldFile = new Set(); - const containsJsx = find(toMove, statement => !!(statement.transformFlags & TransformFlags.ContainsJsx)); - const jsxNamespaceSymbol = getJsxNamespaceSymbol(containsJsx); + const jsxNamespaceSymbol = getJsxNamespaceSymbol(containsJsx(toMove)); if (jsxNamespaceSymbol) { // Might not exist (e.g. in non-compiling code) oldImportsNeededByTargetFile.set(jsxNamespaceSymbol, false); diff --git a/src/services/refactors/moveToNewFile.ts b/src/services/refactors/moveToNewFile.ts index 275ed16bd5a9d..d2cb36084499c 100644 --- a/src/services/refactors/moveToNewFile.ts +++ b/src/services/refactors/moveToNewFile.ts @@ -18,7 +18,6 @@ import { nodeSeenTracker, Program, QuotePreference, - RefactorContext, RefactorEditInfo, SourceFile, Symbol, @@ -75,16 +74,15 @@ registerRefactor(refactorName, { getEditsForAction: function getRefactorEditsToMoveToNewFile(context, actionName): RefactorEditInfo { Debug.assert(actionName === refactorName, "Wrong refactor invoked"); const statements = Debug.checkDefined(getStatementsToMove(context)); - const edits = textChanges.ChangeTracker.with(context, t => doChange(context.file, context.program, statements, t, context.host, context.preferences, context)); + const edits = textChanges.ChangeTracker.with(context, t => doChange(context.file, context.program, statements, t, context.host, context.preferences)); return { edits, renameFilename: undefined, renameLocation: undefined }; }, }); -function doChange(oldFile: SourceFile, program: Program, toMove: ToMove, changes: textChanges.ChangeTracker, host: LanguageServiceHost, preferences: UserPreferences, context: RefactorContext): void { +function doChange(oldFile: SourceFile, program: Program, toMove: ToMove, changes: textChanges.ChangeTracker, host: LanguageServiceHost, preferences: UserPreferences): void { const checker = program.getTypeChecker(); const usage = getUsageInfo(oldFile, toMove.all, checker); - - const newFilename = createNewFileName(oldFile, program, context, host); + const newFilename = createNewFileName(oldFile, program, host, toMove); // If previous file was global, this is easy. changes.createNewFile(oldFile, newFilename, getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, host, newFilename, preferences)); diff --git a/src/services/services.ts b/src/services/services.ts index 924828da0aa0e..32a54a897242b 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -323,7 +323,9 @@ import { import * as NavigateTo from "./_namespaces/ts.NavigateTo"; import * as NavigationBar from "./_namespaces/ts.NavigationBar"; import { + containsJsx, createNewFileName, + getStatementsToMove, } from "./_namespaces/ts.refactor"; import * as classifier from "./classifier"; import * as classifier2020 from "./classifier2020"; @@ -3030,13 +3032,20 @@ export function createLanguageService( const sourceFile = getValidSourceFile(fileName); const allFiles = Debug.checkDefined(program.getSourceFiles()); const extension = extensionFromPath(fileName); - const files = mapDefined(allFiles, file => - !program?.isSourceFileFromExternalLibrary(sourceFile) && - !(sourceFile === getValidSourceFile(file.fileName) || extension === Extension.Ts && extensionFromPath(file.fileName) === Extension.Dts || extension === Extension.Dts && startsWith(getBaseFileName(file.fileName), "lib.") && extensionFromPath(file.fileName) === Extension.Dts) - && extension === extensionFromPath(file.fileName) ? file.fileName : undefined); + const toMove = getStatementsToMove(getRefactorContext(sourceFile, positionOrRange, preferences, emptyOptions)); + const toMoveContainsJsx = containsJsx(toMove?.all); + + const files = mapDefined(allFiles, file => { + const fileNameExtension = extensionFromPath(file.fileName); + const isValidSourceFile = !program?.isSourceFileFromExternalLibrary(sourceFile) && !( + sourceFile === getValidSourceFile(file.fileName) || + extension === Extension.Ts && fileNameExtension === Extension.Dts || + extension === Extension.Dts && startsWith(getBaseFileName(file.fileName), "lib.") && fileNameExtension === Extension.Dts + ); + return isValidSourceFile && (extension === fileNameExtension || (extension === Extension.Tsx && fileNameExtension === Extension.Ts || extension === Extension.Jsx && fileNameExtension === Extension.Js) && !toMoveContainsJsx) ? file.fileName : undefined; + }); - const newFileName = createNewFileName(sourceFile, program, getRefactorContext(sourceFile, positionOrRange, preferences, emptyOptions), host); - return { newFileName, files }; + return { newFileName: createNewFileName(sourceFile, program, host, toMove), files }; } function getEditsForRefactor( diff --git a/src/testRunner/unittests/tsserver/getMoveToRefactoringFileSuggestions.ts b/src/testRunner/unittests/tsserver/getMoveToRefactoringFileSuggestions.ts index 967dd319181c3..ace602019ccaf 100644 --- a/src/testRunner/unittests/tsserver/getMoveToRefactoringFileSuggestions.ts +++ b/src/testRunner/unittests/tsserver/getMoveToRefactoringFileSuggestions.ts @@ -116,4 +116,61 @@ import { value1 } from "../node_modules/.cache/someFile.d.ts";`, }); baselineTsserverLogs("getMoveToRefactoringFileSuggestions", "skips lib.d.ts files", session); }); + + it("should show ts files when moving non-tsx content from tsx file", () => { + const file1: File = { + path: "/bar.tsx", + content: `export function bar() { }`, + }; + const file2: File = { + path: "/foo.ts", + content: "export function foo() { }", + }; + const tsconfig: File = { + path: "/tsconfig.json", + content: jsonToReadableText({ + jsx: "preserve", + files: ["./foo.ts", "./bar.tsx"], + }), + }; + + const host = createServerHost([file1, file2, tsconfig]); + const session = new TestSession(host); + openFilesForSession([file1], session); + + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.GetMoveToRefactoringFileSuggestions, + arguments: { file: file1.path, line: 1, offset: 7 }, + }); + baselineTsserverLogs("getMoveToRefactoringFileSuggestions", "should show ts files when moving non-tsx content from tsx file", session); + }); + + it("should show js files when moving non-jsx content from jsx file", () => { + const file1: File = { + path: "/bar.jsx", + content: `export function bar() { }`, + }; + const file2: File = { + path: "/foo.js", + content: "export function foo() { }", + }; + const tsconfig: File = { + path: "/tsconfig.json", + content: jsonToReadableText({ + allowJS: true, + jsx: "preserve", + files: ["./foo.js", "./bar.jsx"], + }), + }; + + const host = createServerHost([file1, file2, tsconfig]); + const session = new TestSession(host); + openFilesForSession([file1], session); + + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.GetMoveToRefactoringFileSuggestions, + arguments: { file: file1.path, line: 1, offset: 7 }, + }); + baselineTsserverLogs("getMoveToRefactoringFileSuggestions", "should show js files when moving non-jsx content from jsx file", session); + }); }); diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js new file mode 100644 index 0000000000000..71ebf643c3a32 --- /dev/null +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js @@ -0,0 +1,256 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +Before request +//// [/bar.jsx] +export function bar() { } + +//// [/foo.js] +export function foo() { } + +//// [/tsconfig.json] +{ + "allowJS": true, + "jsx": "preserve", + "files": [ + "./foo.js", + "./bar.jsx" + ] +} + + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/bar.jsx" + }, + "seq": 1, + "type": "request" + } +Info seq [hh:mm:ss:mss] Search path: / +Info seq [hh:mm:ss:mss] For info: /bar.jsx :: Config file name: /tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tsconfig.json", + "reason": "Creating possible configured project for /bar.jsx to open" + } + } +Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { + "rootNames": [ + "/foo.js", + "/bar.jsx" + ], + "options": { + "configFilePath": "/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /foo.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /foo.js Text-1 "export function foo() { }" + /bar.jsx SVC-1-0 "export function bar() { }" + + + foo.js + Part of 'files' list in tsconfig.json + bar.jsx + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "aace87d7c1572ff43c6978074161b586788b4518c7a9d06c79c03e613b6ce5a3", + "fileStats": { + "js": 1, + "jsSize": 25, + "jsx": 1, + "jsxSize": 25, + "ts": 0, + "tsSize": 0, + "tsx": 0, + "tsxSize": 0, + "dts": 0, + "dtsSize": 0, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": {}, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": true, + "include": false, + "exclude": false, + "compileOnSave": false, + "configFileName": "tsconfig.json", + "projectType": "configured", + "languageServiceEnabled": true, + "version": "FakeVersion" + } + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/bar.jsx", + "configFile": "/tsconfig.json", + "diagnostics": [ + { + "text": "Cannot write file '/foo.js' because it would overwrite input file.", + "code": 5055, + "category": "error" + }, + { + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "code": 6053, + "category": "error" + }, + { + "text": "Cannot find global type 'Array'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'Boolean'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'Function'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'IArguments'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'Number'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'Object'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'RegExp'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'String'.", + "code": 2318, + "category": "error" + }, + { + "start": { + "line": 3, + "offset": 3 + }, + "end": { + "line": 3, + "offset": 8 + }, + "text": "'jsx' should be set inside the 'compilerOptions' object of the config json file", + "code": 6258, + "category": "error", + "fileName": "/tsconfig.json" + } + ] + } + } +Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /bar.jsx ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "responseRequired": false + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: *new* + {"pollingInterval":500} + +FsWatches:: +/foo.js: *new* + {} +/tsconfig.json: *new* + {} + +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/bar.jsx (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/foo.js *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getMoveToRefactoringFileSuggestions", + "arguments": { + "file": "/bar.jsx", + "line": 1, + "offset": 7 + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "newFileName": "/bar.1.jsx", + "files": [ + "/foo.js" + ] + }, + "responseRequired": true + } +After request diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js new file mode 100644 index 0000000000000..a9b4727946225 --- /dev/null +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js @@ -0,0 +1,250 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +Before request +//// [/bar.tsx] +export function bar() { } + +//// [/foo.ts] +export function foo() { } + +//// [/tsconfig.json] +{ + "jsx": "preserve", + "files": [ + "./foo.ts", + "./bar.tsx" + ] +} + + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/bar.tsx" + }, + "seq": 1, + "type": "request" + } +Info seq [hh:mm:ss:mss] Search path: / +Info seq [hh:mm:ss:mss] For info: /bar.tsx :: Config file name: /tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/tsconfig.json", + "reason": "Creating possible configured project for /bar.tsx to open" + } + } +Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { + "rootNames": [ + "/foo.ts", + "/bar.tsx" + ], + "options": { + "configFilePath": "/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /foo.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /foo.ts Text-1 "export function foo() { }" + /bar.tsx SVC-1-0 "export function bar() { }" + + + foo.ts + Part of 'files' list in tsconfig.json + bar.tsx + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "aace87d7c1572ff43c6978074161b586788b4518c7a9d06c79c03e613b6ce5a3", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 1, + "tsSize": 25, + "tsx": 1, + "tsxSize": 25, + "dts": 0, + "dtsSize": 0, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": {}, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": true, + "include": false, + "exclude": false, + "compileOnSave": false, + "configFileName": "tsconfig.json", + "projectType": "configured", + "languageServiceEnabled": true, + "version": "FakeVersion" + } + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/bar.tsx", + "configFile": "/tsconfig.json", + "diagnostics": [ + { + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "code": 6053, + "category": "error" + }, + { + "text": "Cannot find global type 'Array'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'Boolean'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'Function'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'IArguments'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'Number'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'Object'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'RegExp'.", + "code": 2318, + "category": "error" + }, + { + "text": "Cannot find global type 'String'.", + "code": 2318, + "category": "error" + }, + { + "start": { + "line": 2, + "offset": 3 + }, + "end": { + "line": 2, + "offset": 8 + }, + "text": "'jsx' should be set inside the 'compilerOptions' object of the config json file", + "code": 6258, + "category": "error", + "fileName": "/tsconfig.json" + } + ] + } + } +Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /bar.tsx ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "responseRequired": false + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: *new* + {"pollingInterval":500} + +FsWatches:: +/foo.ts: *new* + {} +/tsconfig.json: *new* + {} + +Projects:: +/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/bar.tsx (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /tsconfig.json *default* +/foo.ts *new* + version: Text-1 + containingProjects: 1 + /tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getMoveToRefactoringFileSuggestions", + "arguments": { + "file": "/bar.tsx", + "line": 1, + "offset": 7 + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": { + "newFileName": "/bar.1.tsx", + "files": [ + "/foo.ts" + ] + }, + "responseRequired": true + } +After request From 29c0024bcfff0044e516462ca7261132acbcb026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Fri, 16 Feb 2024 23:05:33 +0100 Subject: [PATCH 52/56] Avoid creating rest elements with `errorType` when `any` is spread (#57116) --- src/compiler/checker.ts | 5 ++- ...mentsSpreadRestIterables(target=es5).types | 14 +++--- ...thBareAnyRestCanBeUsedAsRestParam1.symbols | 38 ++++++++++++++++ ...WithBareAnyRestCanBeUsedAsRestParam1.types | 19 ++++++++ .../mappedTypesGenericTuples2.symbols | 36 +++++++++++++++ .../reference/mappedTypesGenericTuples2.types | 45 +++++++++++++++++++ .../reference/variadicTuples1.errors.txt | 2 + tests/baselines/reference/variadicTuples1.js | 3 ++ .../reference/variadicTuples1.symbols | 3 ++ .../baselines/reference/variadicTuples1.types | 7 ++- ...rayWithBareAnyRestCanBeUsedAsRestParam1.ts | 12 +++++ .../types/mapped/mappedTypesGenericTuples2.ts | 13 ++++++ .../types/tuple/variadicTuples1.ts | 2 + 13 files changed, 189 insertions(+), 10 deletions(-) create mode 100644 tests/baselines/reference/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.symbols create mode 100644 tests/baselines/reference/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.types create mode 100644 tests/baselines/reference/mappedTypesGenericTuples2.symbols create mode 100644 tests/baselines/reference/mappedTypesGenericTuples2.types create mode 100644 tests/cases/compiler/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts create mode 100644 tests/cases/conformance/types/mapped/mappedTypesGenericTuples2.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 0d12a7f74fdb4..0e8d2bb486f9f 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -16883,7 +16883,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const type = elementTypes[i]; const flags = target.elementFlags[i]; if (flags & ElementFlags.Variadic) { - if (type.flags & TypeFlags.InstantiableNonPrimitive || isGenericMappedType(type)) { + if (type.flags & TypeFlags.Any) { + addElement(type, ElementFlags.Rest, target.labeledElementDeclarations?.[i]); + } + else if (type.flags & TypeFlags.InstantiableNonPrimitive || isGenericMappedType(type)) { // Generic variadic elements stay as they are. addElement(type, ElementFlags.Variadic, target.labeledElementDeclarations?.[i]); } diff --git a/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).types b/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).types index 85114134650e5..2e1470c622c3c 100644 --- a/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).types +++ b/tests/baselines/reference/argumentsSpreadRestIterables(target=es5).types @@ -24,10 +24,10 @@ declare const itNum: Iterable ;(function(a, ...rest) {})('', true, ...itNum) >(function(a, ...rest) {})('', true, ...itNum) : void ->(function(a, ...rest) {}) : (a: string, rest_0: boolean, ...rest_1: any[]) => void ->function(a, ...rest) {} : (a: string, rest_0: boolean, ...rest_1: any[]) => void +>(function(a, ...rest) {}) : (a: string, rest_0: boolean, ...rest_1: Iterable[]) => void +>function(a, ...rest) {} : (a: string, rest_0: boolean, ...rest_1: Iterable[]) => void >a : string ->rest : [boolean, ...any[]] +>rest : [boolean, ...Iterable[]] >'' : "" >true : true >...itNum : Iterable @@ -60,8 +60,8 @@ const res3 = fn1(true, ..."hello"); >"hello" : "hello" const res4 = fn1(true, ...itNum); ->res4 : readonly [true, ...any[]] ->fn1(true, ...itNum) : readonly [true, ...any[]] +>res4 : readonly [true, ...Iterable[]] +>fn1(true, ...itNum) : readonly [true, ...Iterable[]] >fn1 : (...args: T) => T >true : true >...itNum : Iterable @@ -95,8 +95,8 @@ const p3 = foo(true, ..."hello"); >"hello" : "hello" const p4 = foo(true, ...itNum); ->p4 : [boolean, ...any[]] ->foo(true, ...itNum) : [boolean, ...any[]] +>p4 : [boolean, ...Iterable[]] +>foo(true, ...itNum) : [boolean, ...Iterable[]] >foo : (...args: T) => T >true : true >...itNum : Iterable diff --git a/tests/baselines/reference/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.symbols b/tests/baselines/reference/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.symbols new file mode 100644 index 0000000000000..1a2dbdc34fe86 --- /dev/null +++ b/tests/baselines/reference/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.symbols @@ -0,0 +1,38 @@ +//// [tests/cases/compiler/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts] //// + +=== mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts === +// /~https://github.com/microsoft/TypeScript/issues/55932 + +type Replace = { +>Replace : Symbol(Replace, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 0, 0)) +>T : Symbol(T, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 2, 13)) +>A : Symbol(A, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 2, 32)) +>B : Symbol(B, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 2, 35)) + + [K in keyof T]: T[K] extends A ? B : T[K]; +>K : Symbol(K, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 3, 3)) +>T : Symbol(T, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 2, 13)) +>T : Symbol(T, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 2, 13)) +>K : Symbol(K, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 3, 3)) +>A : Symbol(A, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 2, 32)) +>B : Symbol(B, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 2, 35)) +>T : Symbol(T, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 2, 13)) +>K : Symbol(K, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 3, 3)) + +}; + +type ReplaceParams1 = ( +>ReplaceParams1 : Symbol(ReplaceParams1, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 4, 2)) +>ARRAY : Symbol(ARRAY, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 6, 20)) +>A : Symbol(A, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 6, 43)) +>B : Symbol(B, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 6, 46)) + + ...args: Replace +>args : Symbol(args, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 6, 53)) +>Replace : Symbol(Replace, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 0, 0)) +>ARRAY : Symbol(ARRAY, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 6, 20)) +>A : Symbol(A, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 6, 43)) +>B : Symbol(B, Decl(mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts, 6, 46)) + +) => any; + diff --git a/tests/baselines/reference/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.types b/tests/baselines/reference/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.types new file mode 100644 index 0000000000000..097055ad0ab83 --- /dev/null +++ b/tests/baselines/reference/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.types @@ -0,0 +1,19 @@ +//// [tests/cases/compiler/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts] //// + +=== mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts === +// /~https://github.com/microsoft/TypeScript/issues/55932 + +type Replace = { +>Replace : Replace + + [K in keyof T]: T[K] extends A ? B : T[K]; +}; + +type ReplaceParams1 = ( +>ReplaceParams1 : ReplaceParams1 + + ...args: Replace +>args : Replace + +) => any; + diff --git a/tests/baselines/reference/mappedTypesGenericTuples2.symbols b/tests/baselines/reference/mappedTypesGenericTuples2.symbols new file mode 100644 index 0000000000000..d6ee19d65d3f6 --- /dev/null +++ b/tests/baselines/reference/mappedTypesGenericTuples2.symbols @@ -0,0 +1,36 @@ +//// [tests/cases/conformance/types/mapped/mappedTypesGenericTuples2.ts] //// + +=== mappedTypesGenericTuples2.ts === +// /~https://github.com/microsoft/TypeScript/issues/57389 + +declare function getT(): T; +>getT : Symbol(getT, Decl(mappedTypesGenericTuples2.ts, 0, 0)) +>T : Symbol(T, Decl(mappedTypesGenericTuples2.ts, 2, 22)) +>T : Symbol(T, Decl(mappedTypesGenericTuples2.ts, 2, 22)) + +Promise.all([getT(), ...getT()]).then((result) => { +>Promise.all([getT(), ...getT()]).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) +>Promise.all : Symbol(PromiseConstructor.all, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) +>all : Symbol(PromiseConstructor.all, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) +>getT : Symbol(getT, Decl(mappedTypesGenericTuples2.ts, 0, 0)) +>getT : Symbol(getT, Decl(mappedTypesGenericTuples2.ts, 0, 0)) +>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) +>result : Symbol(result, Decl(mappedTypesGenericTuples2.ts, 4, 52)) + + const head = result[0]; // string +>head : Symbol(head, Decl(mappedTypesGenericTuples2.ts, 5, 7)) +>result : Symbol(result, Decl(mappedTypesGenericTuples2.ts, 4, 52)) +>0 : Symbol(0) + + const tail = result.slice(1); // any[] +>tail : Symbol(tail, Decl(mappedTypesGenericTuples2.ts, 6, 7)) +>result.slice : Symbol(Array.slice, Decl(lib.es5.d.ts, --, --)) +>result : Symbol(result, Decl(mappedTypesGenericTuples2.ts, 4, 52)) +>slice : Symbol(Array.slice, Decl(lib.es5.d.ts, --, --)) + + tail satisfies string[]; // ok +>tail : Symbol(tail, Decl(mappedTypesGenericTuples2.ts, 6, 7)) + +}); + diff --git a/tests/baselines/reference/mappedTypesGenericTuples2.types b/tests/baselines/reference/mappedTypesGenericTuples2.types new file mode 100644 index 0000000000000..140a7b45bf39c --- /dev/null +++ b/tests/baselines/reference/mappedTypesGenericTuples2.types @@ -0,0 +1,45 @@ +//// [tests/cases/conformance/types/mapped/mappedTypesGenericTuples2.ts] //// + +=== mappedTypesGenericTuples2.ts === +// /~https://github.com/microsoft/TypeScript/issues/57389 + +declare function getT(): T; +>getT : () => T + +Promise.all([getT(), ...getT()]).then((result) => { +>Promise.all([getT(), ...getT()]).then((result) => { const head = result[0]; // string const tail = result.slice(1); // any[] tail satisfies string[]; // ok}) : Promise +>Promise.all([getT(), ...getT()]).then : (onfulfilled?: ((value: [string, ...any[]]) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null | undefined) => Promise +>Promise.all([getT(), ...getT()]) : Promise<[string, ...any[]]> +>Promise.all : { (values: Iterable>): Promise[]>; (values: T_1): Promise<{ -readonly [P in keyof T_1]: Awaited; }>; } +>Promise : PromiseConstructor +>all : { (values: Iterable>): Promise[]>; (values: T_1): Promise<{ -readonly [P in keyof T_1]: Awaited; }>; } +>[getT(), ...getT()] : [string, ...any[]] +>getT() : string +>getT : () => T +>...getT() : any +>getT() : any +>getT : () => T +>then : (onfulfilled?: ((value: [string, ...any[]]) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null | undefined) => Promise +>(result) => { const head = result[0]; // string const tail = result.slice(1); // any[] tail satisfies string[]; // ok} : (result: [string, ...any[]]) => void +>result : [string, ...any[]] + + const head = result[0]; // string +>head : string +>result[0] : string +>result : [string, ...any[]] +>0 : 0 + + const tail = result.slice(1); // any[] +>tail : any[] +>result.slice(1) : any[] +>result.slice : (start?: number | undefined, end?: number | undefined) => any[] +>result : [string, ...any[]] +>slice : (start?: number | undefined, end?: number | undefined) => any[] +>1 : 1 + + tail satisfies string[]; // ok +>tail satisfies string[] : any[] +>tail : any[] + +}); + diff --git a/tests/baselines/reference/variadicTuples1.errors.txt b/tests/baselines/reference/variadicTuples1.errors.txt index a272e389314f6..fbc7d599c6ff0 100644 --- a/tests/baselines/reference/variadicTuples1.errors.txt +++ b/tests/baselines/reference/variadicTuples1.errors.txt @@ -540,4 +540,6 @@ variadicTuples1.ts(411,7): error TS2322: Type '[boolean, false]' is not assignab type ToStringLength1 = `${T['length']}`; type ToStringLength2 = `${[...T]['length']}`; + + type AnyArr = [...any]; \ No newline at end of file diff --git a/tests/baselines/reference/variadicTuples1.js b/tests/baselines/reference/variadicTuples1.js index 2c966b7dda2a8..ddc781c45d674 100644 --- a/tests/baselines/reference/variadicTuples1.js +++ b/tests/baselines/reference/variadicTuples1.js @@ -421,6 +421,8 @@ type U3 = [...[string, number], boolean]; type ToStringLength1 = `${T['length']}`; type ToStringLength2 = `${[...T]['length']}`; + +type AnyArr = [...any]; //// [variadicTuples1.js] @@ -830,3 +832,4 @@ type U2 = [...[string, ...Numbers], boolean]; type U3 = [...[string, number], boolean]; type ToStringLength1 = `${T['length']}`; type ToStringLength2 = `${[...T]['length']}`; +type AnyArr = [...any]; diff --git a/tests/baselines/reference/variadicTuples1.symbols b/tests/baselines/reference/variadicTuples1.symbols index 2d24c7cffd047..3249c6e53bd44 100644 --- a/tests/baselines/reference/variadicTuples1.symbols +++ b/tests/baselines/reference/variadicTuples1.symbols @@ -1416,3 +1416,6 @@ type ToStringLength2 = `${[...T]['length']}`; >T : Symbol(T, Decl(variadicTuples1.ts, 419, 21)) >T : Symbol(T, Decl(variadicTuples1.ts, 419, 21)) +type AnyArr = [...any]; +>AnyArr : Symbol(AnyArr, Decl(variadicTuples1.ts, 419, 62)) + diff --git a/tests/baselines/reference/variadicTuples1.types b/tests/baselines/reference/variadicTuples1.types index fac1b78db51fc..6df4ef7b1761c 100644 --- a/tests/baselines/reference/variadicTuples1.types +++ b/tests/baselines/reference/variadicTuples1.types @@ -883,7 +883,7 @@ type T17 = DropFirst<[]>; >T17 : unknown[] type T18 = DropFirst; ->T18 : unknown[] | any[] +>T18 : any[] | unknown[] type T19 = DropFirst; >T19 : never @@ -943,7 +943,7 @@ type T37 = DropLast<[]>; // unknown[], maybe should be [] >T37 : [] type T38 = DropLast; ->T38 : unknown[] | any[] +>T38 : any[] | unknown[] type T39 = DropLast; >T39 : never @@ -1455,3 +1455,6 @@ type ToStringLength1 = `${T['length']}`; type ToStringLength2 = `${[...T]['length']}`; >ToStringLength2 : `${[...T]["length"]}` +type AnyArr = [...any]; +>AnyArr : any[] + diff --git a/tests/cases/compiler/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts b/tests/cases/compiler/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts new file mode 100644 index 0000000000000..0118bc7c2f770 --- /dev/null +++ b/tests/cases/compiler/mappedTypeOverArrayWithBareAnyRestCanBeUsedAsRestParam1.ts @@ -0,0 +1,12 @@ +// @strict: true +// @noEmit: true + +// /~https://github.com/microsoft/TypeScript/issues/55932 + +type Replace = { + [K in keyof T]: T[K] extends A ? B : T[K]; +}; + +type ReplaceParams1 = ( + ...args: Replace +) => any; diff --git a/tests/cases/conformance/types/mapped/mappedTypesGenericTuples2.ts b/tests/cases/conformance/types/mapped/mappedTypesGenericTuples2.ts new file mode 100644 index 0000000000000..6d411634bc4b6 --- /dev/null +++ b/tests/cases/conformance/types/mapped/mappedTypesGenericTuples2.ts @@ -0,0 +1,13 @@ +// @strict: true +// @lib: esnext +// @noEmit: true + +// /~https://github.com/microsoft/TypeScript/issues/57389 + +declare function getT(): T; + +Promise.all([getT(), ...getT()]).then((result) => { + const head = result[0]; // string + const tail = result.slice(1); // any[] + tail satisfies string[]; // ok +}); diff --git a/tests/cases/conformance/types/tuple/variadicTuples1.ts b/tests/cases/conformance/types/tuple/variadicTuples1.ts index 573b95b1da98a..51346c85f0db4 100644 --- a/tests/cases/conformance/types/tuple/variadicTuples1.ts +++ b/tests/cases/conformance/types/tuple/variadicTuples1.ts @@ -421,3 +421,5 @@ type U3 = [...[string, number], boolean]; type ToStringLength1 = `${T['length']}`; type ToStringLength2 = `${[...T]['length']}`; + +type AnyArr = [...any]; From 91e67ffbea91f453a51cd674684c393f82cd0731 Mon Sep 17 00:00:00 2001 From: Oleksandr T Date: Sat, 17 Feb 2024 00:12:17 +0200 Subject: [PATCH 53/56] fix(57392): using is not suggested as a keyword (#57394) --- src/harness/fourslashInterfaceImpl.ts | 4 + src/services/completions.ts | 1 + .../completionNoParentLocation.baseline | 13 + .../completionsCommentsClass.baseline | 13 + .../completionsCommentsClassMembers.baseline | 260 ++++++++++++++++++ ...completionsCommentsCommentParsing.baseline | 91 ++++++ ...etionsCommentsFunctionDeclaration.baseline | 39 +++ ...letionsCommentsFunctionExpression.baseline | 52 ++++ .../completionsImportWithKeyword.baseline | 91 ++++++ .../exhaustiveCaseCompletions9.baseline | 13 + ...een-AutoImportProvider-and-main-program.js | 6 + ...ed-from-two-different-drives-of-windows.js | 6 + ...-not-count-against-the-resolution-limit.js | 6 + ...ailable-from-module-specifier-cache-(1).js | 6 + ...ailable-from-module-specifier-cache-(2).js | 12 + ...-for-transient-symbols-between-requests.js | 12 + ...orks-with-PackageJsonAutoImportProvider.js | 12 + .../tsserver/completionsIncomplete/works.js | 18 ++ .../autoImportFileExcludePatterns1.js | 6 + .../autoImportFileExcludePatterns2.js | 6 + ...oImportFileExcludePatterns_networkPaths.js | 6 + .../autoImportFileExcludePatterns_symlinks.js | 6 + ...autoImportFileExcludePatterns_symlinks2.js | 6 + ...oImportFileExcludePatterns_windowsPaths.js | 6 + .../fourslashServer/autoImportProvider3.js | 6 + .../fourslashServer/autoImportProvider6.js | 6 + .../fourslashServer/autoImportProvider7.js | 6 + .../fourslashServer/autoImportProvider8.js | 6 + .../autoImportProvider_exportMap1.js | 6 + .../autoImportProvider_exportMap2.js | 6 + .../autoImportProvider_exportMap3.js | 6 + .../autoImportProvider_exportMap4.js | 6 + .../autoImportProvider_exportMap5.js | 6 + .../autoImportProvider_exportMap6.js | 6 + .../autoImportProvider_exportMap7.js | 6 + .../autoImportProvider_exportMap8.js | 12 + .../autoImportProvider_exportMap9.js | 6 + .../autoImportProvider_globalTypingsCache.js | 6 + .../autoImportProvider_wildcardExports1.js | 6 + .../autoImportProvider_wildcardExports2.js | 6 + .../autoImportReExportFromAmbientModule.js | 6 + .../autoImportSymlinkedJsPackages.js | 6 + .../completionEntryDetailAcrossFiles01.js | 6 + .../completionEntryDetailAcrossFiles02.js | 6 + ...mport_addToNamedWithDifferentCacheValue.js | 12 + .../completionsImport_computedSymbolName.js | 12 + ...nsImport_defaultAndNamedConflict_server.js | 6 + ...letionsImport_jsModuleExportsAssignment.js | 12 + .../completionsImport_mergedReExport.js | 12 + ...mpletionsImport_sortingModuleSpecifiers.js | 6 + .../importSuggestionsCache_ambient.js | 30 ++ .../importSuggestionsCache_coreNodeModules.js | 18 ++ .../importSuggestionsCache_exportUndefined.js | 12 + ...portSuggestionsCache_invalidPackageJson.js | 6 + ...portSuggestionsCache_moduleAugmentation.js | 24 ++ .../caches-importability-within-a-file.js | 6 + .../caches-module-specifiers-within-a-file.js | 6 + ...date-the-cache-when-new-files-are-added.js | 6 + ...n-in-contained-node_modules-directories.js | 6 + ...he-cache-when-local-packageJson-changes.js | 6 + ...-when-module-resolution-settings-change.js | 6 + ...ache-when-symlinks-are-added-or-removed.js | 6 + ...-the-cache-when-user-preferences-change.js | 18 ++ .../clear-mixed-content-file-after-closing.js | 12 + .../projects/tsconfig-script-block-support.js | 12 + .../cases/fourslash/completionUsingKeyword.ts | 23 ++ 66 files changed, 1074 insertions(+) create mode 100644 tests/cases/fourslash/completionUsingKeyword.ts diff --git a/src/harness/fourslashInterfaceImpl.ts b/src/harness/fourslashInterfaceImpl.ts index feb2520a5934b..4ec5ff653d045 100644 --- a/src/harness/fourslashInterfaceImpl.ts +++ b/src/harness/fourslashInterfaceImpl.ts @@ -1418,6 +1418,7 @@ export namespace Completion { "typeof", "unique", "unknown", + "using", "var", "void", "while", @@ -1530,6 +1531,7 @@ export namespace Completion { "try", "type", "typeof", + "using", "var", "void", "while", @@ -1635,6 +1637,7 @@ export namespace Completion { "typeof", "unique", "unknown", + "using", "var", "void", "while", @@ -1686,6 +1689,7 @@ export namespace Completion { "try", "type", "typeof", + "using", "var", "void", "while", diff --git a/src/services/completions.ts b/src/services/completions.ts index 349d4066b8059..38a547c5d8ffe 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -5335,6 +5335,7 @@ function isClassMemberCompletionKeyword(kind: SyntaxKind) { function isFunctionLikeBodyKeyword(kind: SyntaxKind) { return kind === SyntaxKind.AsyncKeyword || kind === SyntaxKind.AwaitKeyword + || kind === SyntaxKind.UsingKeyword || kind === SyntaxKind.AsKeyword || kind === SyntaxKind.SatisfiesKeyword || kind === SyntaxKind.TypeKeyword diff --git a/tests/baselines/reference/completionNoParentLocation.baseline b/tests/baselines/reference/completionNoParentLocation.baseline index eb52630cfd1dd..42e7e81df27c7 100644 --- a/tests/baselines/reference/completionNoParentLocation.baseline +++ b/tests/baselines/reference/completionNoParentLocation.baseline @@ -134,6 +134,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -3335,6 +3336,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/completionsCommentsClass.baseline b/tests/baselines/reference/completionsCommentsClass.baseline index da06aabfe12f7..e9230fb99caaf 100644 --- a/tests/baselines/reference/completionsCommentsClass.baseline +++ b/tests/baselines/reference/completionsCommentsClass.baseline @@ -186,6 +186,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -3926,6 +3927,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/completionsCommentsClassMembers.baseline b/tests/baselines/reference/completionsCommentsClassMembers.baseline index d92adc7d31e6d..80ff7756544f5 100644 --- a/tests/baselines/reference/completionsCommentsClassMembers.baseline +++ b/tests/baselines/reference/completionsCommentsClassMembers.baseline @@ -159,6 +159,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -372,6 +373,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -538,6 +540,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -751,6 +754,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -905,6 +909,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -1067,6 +1072,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -1215,6 +1221,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -1376,6 +1383,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -1542,6 +1550,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -1704,6 +1713,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -1866,6 +1876,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -2015,6 +2026,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -2166,6 +2178,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -2315,6 +2328,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -2466,6 +2480,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -2615,6 +2630,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -2766,6 +2782,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -2949,6 +2966,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -3138,6 +3156,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -3323,6 +3342,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -7930,6 +7950,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -15015,6 +15047,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -19853,6 +19897,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -26938,6 +26994,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -31027,6 +31095,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -36272,6 +36352,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -40315,6 +40407,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -45514,6 +45618,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -50759,6 +50875,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -56004,6 +56132,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -61249,6 +61389,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -65333,6 +65485,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -69417,6 +69581,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -73501,6 +73677,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -77585,6 +77773,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -81669,6 +81869,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -85753,6 +85965,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -90322,6 +90546,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -95692,6 +95928,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -100174,6 +100422,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/completionsCommentsCommentParsing.baseline b/tests/baselines/reference/completionsCommentsCommentParsing.baseline index 0bbbcba909911..a56258a409702 100644 --- a/tests/baselines/reference/completionsCommentsCommentParsing.baseline +++ b/tests/baselines/reference/completionsCommentsCommentParsing.baseline @@ -241,6 +241,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -407,6 +408,7 @@ // | var URIError: URIErrorConstructor // | (message?: string) => URIError (+1 overload) // | interface URIError +// | using // | var // | void // | while @@ -577,6 +579,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -748,6 +751,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -951,6 +955,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -1117,6 +1122,7 @@ // | var URIError: URIErrorConstructor // | (message?: string) => URIError (+1 overload) // | interface URIError +// | using // | var // | void // | while @@ -1311,6 +1317,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -6752,6 +6759,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -13220,6 +13239,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -18868,6 +18899,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -24581,6 +24624,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -30348,6 +30403,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -36816,6 +36883,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -42529,6 +42608,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/completionsCommentsFunctionDeclaration.baseline b/tests/baselines/reference/completionsCommentsFunctionDeclaration.baseline index b44ec67ee366a..58bdcc65c2ef4 100644 --- a/tests/baselines/reference/completionsCommentsFunctionDeclaration.baseline +++ b/tests/baselines/reference/completionsCommentsFunctionDeclaration.baseline @@ -135,6 +135,7 @@ // | var URIError: URIErrorConstructor // | (message?: string) => URIError (+1 overload) // | interface URIError +// | using // | var // | void // | while @@ -267,6 +268,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -408,6 +410,7 @@ // | var URIError: URIErrorConstructor // | (message?: string) => URIError (+1 overload) // | interface URIError +// | using // | var // | void // | while @@ -4516,6 +4519,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -8017,6 +8032,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -12352,6 +12379,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/completionsCommentsFunctionExpression.baseline b/tests/baselines/reference/completionsCommentsFunctionExpression.baseline index 9cbba53160e68..8323836331e32 100644 --- a/tests/baselines/reference/completionsCommentsFunctionExpression.baseline +++ b/tests/baselines/reference/completionsCommentsFunctionExpression.baseline @@ -139,6 +139,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -299,6 +300,7 @@ // | var URIError: URIErrorConstructor // | (message?: string) => URIError (+1 overload) // | interface URIError +// | using // | var // | void // | while @@ -446,6 +448,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -588,6 +591,7 @@ // | var URIError: URIErrorConstructor // | (message?: string) => URIError (+1 overload) // | interface URIError +// | using // | var // | void // | while @@ -4215,6 +4219,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -8950,6 +8966,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -12641,6 +12669,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -17160,6 +17200,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/completionsImportWithKeyword.baseline b/tests/baselines/reference/completionsImportWithKeyword.baseline index caf9a73c4d12e..c21c187e4f937 100644 --- a/tests/baselines/reference/completionsImportWithKeyword.baseline +++ b/tests/baselines/reference/completionsImportWithKeyword.baseline @@ -142,6 +142,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -289,6 +290,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -435,6 +437,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -582,6 +585,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -729,6 +733,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -875,6 +880,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -998,6 +1004,7 @@ // | var undefined // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -4276,6 +4283,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -7787,6 +7806,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -11286,6 +11317,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -14801,6 +14844,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -18300,6 +18355,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -21799,6 +21866,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", @@ -24947,6 +25026,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/exhaustiveCaseCompletions9.baseline b/tests/baselines/reference/exhaustiveCaseCompletions9.baseline index 5e97013efd36d..57f55a3da64b2 100644 --- a/tests/baselines/reference/exhaustiveCaseCompletions9.baseline +++ b/tests/baselines/reference/exhaustiveCaseCompletions9.baseline @@ -136,6 +136,7 @@ // | unknown // | interface URIError // | var URIError: URIErrorConstructor +// | using // | var // | void // | while @@ -3296,6 +3297,18 @@ ], "documentation": [] }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15", + "displayParts": [ + { + "text": "using", + "kind": "keyword" + } + ] + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js index 370077587b365..248d832c2ce10 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js @@ -705,6 +705,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js index b9a5648805aa0..d6f7d0a48f8b7 100644 --- a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js +++ b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js @@ -682,6 +682,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js index c7b04d834e59d..c9573605234b9 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js @@ -4891,6 +4891,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js index 0d8f3efc4ec2a..c35ded4fd1e9f 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js @@ -4091,6 +4091,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js index 449fec665eaa0..8bbae919d184f 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js @@ -3542,6 +3542,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -8254,6 +8260,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js index 001529709662c..7cd038bed2df8 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js @@ -2614,6 +2614,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -5656,6 +5662,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js index 3cc7daaca4e7a..1ece518d39f84 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js @@ -3395,6 +3395,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -7374,6 +7380,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works.js b/tests/baselines/reference/tsserver/completionsIncomplete/works.js index 85e1cfd4f00b5..d43abc4ad6b8d 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works.js @@ -5442,6 +5442,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -11141,6 +11147,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -17539,6 +17551,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js index 286b577c5638e..f84b0d137c7ad 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js @@ -904,6 +904,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js index 22ed09f2ec8ad..ff3a524c3c6e1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js @@ -904,6 +904,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js index 27e889ca70c18..85178fa87a4ec 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js @@ -904,6 +904,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js index 0626c30c94789..c0b56584929d8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js @@ -925,6 +925,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js index bc3d5cbca2916..a3906ba4a65f0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js @@ -991,6 +991,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js index 08b3f6ca2a3b4..45e5863369494 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js @@ -957,6 +957,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js index 175ab7e84a6a3..f89b1cdda58f6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js @@ -781,6 +781,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index 52089661fa28a..7bafae6313dc8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -1718,6 +1718,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js index 6114d74b7e579..d446c336e62dc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js @@ -1134,6 +1134,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js index 09994282eb906..4b04e85dbc79c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js @@ -1134,6 +1134,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js index 748fffabbf0fc..038d9ce42ae9d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js @@ -997,6 +997,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js index a3867621f709a..f031fe4849518 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -1030,6 +1030,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js index 448dd96fb29d0..f2b16a91f04e1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -1030,6 +1030,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js index e2741ab03c61c..42e89429ca3c6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js @@ -988,6 +988,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js index 93a16529b97b3..0169194cf4dde 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -1036,6 +1036,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js index 290eaeec9ca04..934de49ce39aa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -1044,6 +1044,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js index e95927e7b183b..9d6d69a7d71fd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js @@ -1035,6 +1035,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js index 7b551926e7d50..1a806fb69ea43 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js @@ -1035,6 +1035,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -1964,6 +1970,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js index 7c945f9dc01ad..443dcc661ff26 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js @@ -1008,6 +1008,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js index 873b8444f58fe..418710517ff3e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js @@ -907,6 +907,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js index 2e2f4f3362a68..938f07c748602 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js @@ -1029,6 +1029,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js index cfc23aca807b9..09032a08b26ab 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js @@ -957,6 +957,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index b43cb614eb38f..1831610f44c43 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -986,6 +986,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js index 1b9f1db11a9ef..c82219db2d142 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js @@ -798,6 +798,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js index 978b215fee86e..6ead73275ac49 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js @@ -663,6 +663,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js index 0c74a982c2aa0..d4e520d2ecf1c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js @@ -669,6 +669,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js index 87c160d35613d..da7c1f7c1a446 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -1075,6 +1075,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -4625,6 +4631,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js index 6a32fa2ba6ce8..fc930f46f394a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -1001,6 +1001,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -1865,6 +1871,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js index 3906da33b46ca..a6baa98328957 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js @@ -679,6 +679,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js index 6d32880c4e959..e209d4808e0b7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -1001,6 +1001,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -1885,6 +1891,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js index bde1c25990cd1..db61a78351397 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js @@ -1042,6 +1042,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -2003,6 +2009,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js index 695703650d327..78fe781e4e49e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js @@ -999,6 +999,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js index 53416506401e5..7a99705ac713d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js @@ -934,6 +934,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -1731,6 +1737,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -4838,6 +4850,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -6747,6 +6765,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -7491,6 +7515,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js index 63bb90e21835f..5d9b2f6681aea 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js @@ -872,6 +872,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -3736,6 +3742,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -4423,6 +4435,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js index ad2e7b736e656..c51b1df798027 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js @@ -961,6 +961,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -1678,6 +1684,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js index ab112f1b18686..8d29e12584b3c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js @@ -851,6 +851,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js index 2dd2e6e8c9461..aa528388df963 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -961,6 +961,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -1702,6 +1708,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -4646,6 +4658,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -5397,6 +5415,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js index 72645f9d545c4..28149ced361c6 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js @@ -907,6 +907,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js index 08ba939b44374..bdac0e14752c6 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js @@ -907,6 +907,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js index 329bdf455cba8..05c75ac545d2d 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js @@ -907,6 +907,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js index d7ee55a4c7148..6736f54a13fdf 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js @@ -907,6 +907,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js index 14da607f1988c..af4620cc96ae3 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js @@ -907,6 +907,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js index 693d243797cf9..f8f1cefd25a28 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js @@ -907,6 +907,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js index 97ad5f43dbf58..a15c5b11f7773 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js @@ -907,6 +907,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js index 7d50a7a6ba4af..1194a0ca5afdc 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js @@ -907,6 +907,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -1402,6 +1408,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -1894,6 +1906,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js b/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js index 0bdb20be7c385..d7b9f746abec9 100644 --- a/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js +++ b/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js @@ -635,6 +635,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -1118,6 +1124,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js index c1c9c64d32f4e..d8cca71f5543e 100644 --- a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js +++ b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js @@ -841,6 +841,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", @@ -1321,6 +1327,12 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "", "sortText": "15" }, + { + "name": "using", + "kind": "keyword", + "kindModifiers": "", + "sortText": "15" + }, { "name": "var", "kind": "keyword", diff --git a/tests/cases/fourslash/completionUsingKeyword.ts b/tests/cases/fourslash/completionUsingKeyword.ts new file mode 100644 index 0000000000000..2845e24e38d87 --- /dev/null +++ b/tests/cases/fourslash/completionUsingKeyword.ts @@ -0,0 +1,23 @@ +/// + +////function foo() { +//// usin/*1*/ +////} +////async function bar() { +//// await usin/*2*/ +////} +//// +////class C { +//// foo() { +//// usin/*3*/ +//// } +//// +//// async bar() { +//// await usin/*4*/ +//// } +////} + +verify.completions({ + marker: ["1", "2", "3", "4"], + includes: [{ name: 'using', sortText: completion.SortText.GlobalsOrKeywords }], +}); From feb57c269b0b2770581c09524a46ae1cb2fee28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Fri, 16 Feb 2024 23:31:28 +0100 Subject: [PATCH 54/56] Instantiate earlier inferred constraints in conditional types (#57362) --- src/compiler/checker.ts | 34 +++-------- .../inferTypeParameterConstraints.js | 54 +++++++++++++++++ .../inferTypeParameterConstraints.symbols | 58 +++++++++++++++++++ .../inferTypeParameterConstraints.types | 41 +++++++++++++ .../compiler/inferTypeParameterConstraints.ts | 20 +++++++ 5 files changed, 182 insertions(+), 25 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 0e8d2bb486f9f..450d6c28bc244 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -18642,11 +18642,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return type; } - function maybeCloneTypeParameter(p: TypeParameter) { - const constraint = getConstraintOfTypeParameter(p); - return constraint && (isGenericObjectType(constraint) || isGenericIndexType(constraint)) ? cloneTypeParameter(p) : p; - } - function isSimpleTupleType(node: TypeNode): boolean { return isTupleTypeNode(node) && length(node.elements) > 0 && !some(node.elements, e => isOptionalTypeNode(e) || isRestTypeNode(e) || isNamedTupleMember(e) && !!(e.questionToken || e.dotDotDotToken)); @@ -18689,7 +18684,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { let combinedMapper: TypeMapper | undefined; if (root.inferTypeParameters) { // When we're looking at making an inference for an infer type, when we get its constraint, it'll automagically be - // instantiated with the context, so it doesn't need the mapper for the inference contex - however the constraint + // instantiated with the context, so it doesn't need the mapper for the inference context - however the constraint // may refer to another _root_, _uncloned_ `infer` type parameter [1], or to something mapped by `mapper` [2]. // [1] Eg, if we have `Foo` and `Foo` - `B` is constrained to `T`, which, in turn, has been instantiated // as `number` @@ -18697,36 +18692,25 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // [2] Eg, if we have `Foo` and `Foo` where `Q` is mapped by `mapper` into `number` - `B` is constrained to `T` // which is in turn instantiated as `Q`, which is in turn instantiated as `number`. // So we need to: - // * Clone the type parameters so their constraints can be instantiated in the context of `mapper` (otherwise theyd only get inference context information) - // * Set the clones to both map the conditional's enclosing `mapper` and the original params - // * instantiate the extends type with the clones + // * combine `context.nonFixingMapper` with `mapper` so their constraints can be instantiated in the context of `mapper` (otherwise they'd only get inference context information) // * incorporate all of the component mappers into the combined mapper for the true and false members - // This means we have three mappers that need applying: + // This means we have two mappers that need applying: // * The original `mapper` used to create this conditional - // * The mapper that maps the old root type parameter to the clone (`freshMapper`) - // * The mapper that maps the clone to its inference result (`context.mapper`) - const freshParams = sameMap(root.inferTypeParameters, maybeCloneTypeParameter); - const freshMapper = freshParams !== root.inferTypeParameters ? createTypeMapper(root.inferTypeParameters, freshParams) : undefined; - const context = createInferenceContext(freshParams, /*signature*/ undefined, InferenceFlags.None); - if (freshMapper) { - const freshCombinedMapper = combineTypeMappers(mapper, freshMapper); - for (let i = 0; i < freshParams.length; i++) { - if (freshParams[i] !== root.inferTypeParameters[i]) { - freshParams[i].mapper = freshCombinedMapper; - } - } + // * The mapper that maps the infer type parameter to its inference result (`context.mapper`) + const context = createInferenceContext(root.inferTypeParameters, /*signature*/ undefined, InferenceFlags.None); + if (mapper) { + context.nonFixingMapper = combineTypeMappers(context.nonFixingMapper, mapper); } if (!checkTypeDeferred) { // We don't want inferences from constraints as they may cause us to eagerly resolve the // conditional type instead of deferring resolution. Also, we always want strict function // types rules (i.e. proper contravariance) for inferences. - inferTypes(context.inferences, checkType, instantiateType(extendsType, freshMapper), InferencePriority.NoConstraints | InferencePriority.AlwaysStrict); + inferTypes(context.inferences, checkType, extendsType, InferencePriority.NoConstraints | InferencePriority.AlwaysStrict); } - const innerMapper = combineTypeMappers(freshMapper, context.mapper); // It's possible for 'infer T' type paramteters to be given uninstantiated constraints when the // those type parameters are used in type references (see getInferredTypeParameterConstraint). For // that reason we need context.mapper to be first in the combined mapper. See #42636 for examples. - combinedMapper = mapper ? combineTypeMappers(innerMapper, mapper) : innerMapper; + combinedMapper = mapper ? combineTypeMappers(context.mapper, mapper) : context.mapper; } // Instantiate the extends type including inferences for 'infer T' type parameters const inferredExtendsType = combinedMapper ? instantiateType(root.extendsType, combinedMapper) : extendsType; diff --git a/tests/baselines/reference/inferTypeParameterConstraints.js b/tests/baselines/reference/inferTypeParameterConstraints.js index 3d1dc520dee8e..5a53492f37cc5 100644 --- a/tests/baselines/reference/inferTypeParameterConstraints.js +++ b/tests/baselines/reference/inferTypeParameterConstraints.js @@ -18,8 +18,62 @@ type Constrain = unknown; type Foo = A extends Constrain ? X : never; type T0 = Foo; // string + +// /~https://github.com/microsoft/TypeScript/issues/57286#issuecomment-1927920336 + +class BaseClass { + protected fake(): V { + throw new Error(""); + } +} + +class Klass extends BaseClass { + child = true; +} + +type Constructor> = new () => P; +type inferTest = T extends Constructor ? P : never; + +type U = inferTest>>; + +declare let m: U; +m.child; // ok //// [inferTypeParameterConstraints.js] "use strict"; // Repro from #42636 +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +// /~https://github.com/microsoft/TypeScript/issues/57286#issuecomment-1927920336 +var BaseClass = /** @class */ (function () { + function BaseClass() { + } + BaseClass.prototype.fake = function () { + throw new Error(""); + }; + return BaseClass; +}()); +var Klass = /** @class */ (function (_super) { + __extends(Klass, _super); + function Klass() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.child = true; + return _this; + } + return Klass; +}(BaseClass)); +m.child; // ok diff --git a/tests/baselines/reference/inferTypeParameterConstraints.symbols b/tests/baselines/reference/inferTypeParameterConstraints.symbols index 7a4aeca52c0ef..75385598fc5ab 100644 --- a/tests/baselines/reference/inferTypeParameterConstraints.symbols +++ b/tests/baselines/reference/inferTypeParameterConstraints.symbols @@ -51,3 +51,61 @@ type T0 = Foo; // string >T0 : Symbol(T0, Decl(inferTypeParameterConstraints.ts, 14, 58)) >Foo : Symbol(Foo, Decl(inferTypeParameterConstraints.ts, 12, 41)) +// /~https://github.com/microsoft/TypeScript/issues/57286#issuecomment-1927920336 + +class BaseClass { +>BaseClass : Symbol(BaseClass, Decl(inferTypeParameterConstraints.ts, 16, 22)) +>V : Symbol(V, Decl(inferTypeParameterConstraints.ts, 20, 16)) + + protected fake(): V { +>fake : Symbol(BaseClass.fake, Decl(inferTypeParameterConstraints.ts, 20, 20)) +>V : Symbol(V, Decl(inferTypeParameterConstraints.ts, 20, 16)) + + throw new Error(""); +>Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) + } +} + +class Klass extends BaseClass { +>Klass : Symbol(Klass, Decl(inferTypeParameterConstraints.ts, 24, 1)) +>V : Symbol(V, Decl(inferTypeParameterConstraints.ts, 26, 12)) +>BaseClass : Symbol(BaseClass, Decl(inferTypeParameterConstraints.ts, 16, 22)) +>V : Symbol(V, Decl(inferTypeParameterConstraints.ts, 26, 12)) + + child = true; +>child : Symbol(Klass.child, Decl(inferTypeParameterConstraints.ts, 26, 37)) +} + +type Constructor> = new () => P; +>Constructor : Symbol(Constructor, Decl(inferTypeParameterConstraints.ts, 28, 1)) +>V : Symbol(V, Decl(inferTypeParameterConstraints.ts, 30, 17)) +>P : Symbol(P, Decl(inferTypeParameterConstraints.ts, 30, 19)) +>BaseClass : Symbol(BaseClass, Decl(inferTypeParameterConstraints.ts, 16, 22)) +>V : Symbol(V, Decl(inferTypeParameterConstraints.ts, 30, 17)) +>P : Symbol(P, Decl(inferTypeParameterConstraints.ts, 30, 19)) + +type inferTest = T extends Constructor ? P : never; +>inferTest : Symbol(inferTest, Decl(inferTypeParameterConstraints.ts, 30, 58)) +>V : Symbol(V, Decl(inferTypeParameterConstraints.ts, 31, 15)) +>T : Symbol(T, Decl(inferTypeParameterConstraints.ts, 31, 17)) +>T : Symbol(T, Decl(inferTypeParameterConstraints.ts, 31, 17)) +>Constructor : Symbol(Constructor, Decl(inferTypeParameterConstraints.ts, 28, 1)) +>V : Symbol(V, Decl(inferTypeParameterConstraints.ts, 31, 15)) +>P : Symbol(P, Decl(inferTypeParameterConstraints.ts, 31, 53)) +>P : Symbol(P, Decl(inferTypeParameterConstraints.ts, 31, 53)) + +type U = inferTest>>; +>U : Symbol(U, Decl(inferTypeParameterConstraints.ts, 31, 69)) +>inferTest : Symbol(inferTest, Decl(inferTypeParameterConstraints.ts, 30, 58)) +>Constructor : Symbol(Constructor, Decl(inferTypeParameterConstraints.ts, 28, 1)) +>Klass : Symbol(Klass, Decl(inferTypeParameterConstraints.ts, 24, 1)) + +declare let m: U; +>m : Symbol(m, Decl(inferTypeParameterConstraints.ts, 35, 11)) +>U : Symbol(U, Decl(inferTypeParameterConstraints.ts, 31, 69)) + +m.child; // ok +>m.child : Symbol(Klass.child, Decl(inferTypeParameterConstraints.ts, 26, 37)) +>m : Symbol(m, Decl(inferTypeParameterConstraints.ts, 35, 11)) +>child : Symbol(Klass.child, Decl(inferTypeParameterConstraints.ts, 26, 37)) + diff --git a/tests/baselines/reference/inferTypeParameterConstraints.types b/tests/baselines/reference/inferTypeParameterConstraints.types index 9d25d908cb75b..58386cd2159c6 100644 --- a/tests/baselines/reference/inferTypeParameterConstraints.types +++ b/tests/baselines/reference/inferTypeParameterConstraints.types @@ -26,3 +26,44 @@ type Foo = A extends Constrain ? X : never; type T0 = Foo; // string >T0 : string +// /~https://github.com/microsoft/TypeScript/issues/57286#issuecomment-1927920336 + +class BaseClass { +>BaseClass : BaseClass + + protected fake(): V { +>fake : () => V + + throw new Error(""); +>new Error("") : Error +>Error : ErrorConstructor +>"" : "" + } +} + +class Klass extends BaseClass { +>Klass : Klass +>BaseClass : BaseClass + + child = true; +>child : boolean +>true : true +} + +type Constructor> = new () => P; +>Constructor : Constructor + +type inferTest = T extends Constructor ? P : never; +>inferTest : inferTest + +type U = inferTest>>; +>U : Klass + +declare let m: U; +>m : Klass + +m.child; // ok +>m.child : boolean +>m : Klass +>child : boolean + diff --git a/tests/cases/compiler/inferTypeParameterConstraints.ts b/tests/cases/compiler/inferTypeParameterConstraints.ts index 4a1a6dcdbdb84..92299e38d80dd 100644 --- a/tests/cases/compiler/inferTypeParameterConstraints.ts +++ b/tests/cases/compiler/inferTypeParameterConstraints.ts @@ -17,3 +17,23 @@ type Constrain = unknown; type Foo = A extends Constrain ? X : never; type T0 = Foo; // string + +// /~https://github.com/microsoft/TypeScript/issues/57286#issuecomment-1927920336 + +class BaseClass { + protected fake(): V { + throw new Error(""); + } +} + +class Klass extends BaseClass { + child = true; +} + +type Constructor> = new () => P; +type inferTest = T extends Constructor ? P : never; + +type U = inferTest>>; + +declare let m: U; +m.child; // ok From 86a16636cac9599c8752f8588f4b9518860b47ff Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Sat, 17 Feb 2024 06:14:05 +0000 Subject: [PATCH 55/56] Update package-lock.json --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 00b11a8b7a490..e1d200537ef13 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4248,9 +4248,9 @@ } }, "node_modules/web-streams-polyfill": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz", - "integrity": "sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", "dev": true, "engines": { "node": ">= 8" @@ -7384,9 +7384,9 @@ } }, "web-streams-polyfill": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz", - "integrity": "sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", "dev": true }, "which": { From d04e3489b0d8e6bc9a8a9396a633632a5a467328 Mon Sep 17 00:00:00 2001 From: Anders Hejlsberg Date: Sun, 18 Feb 2024 16:46:37 -0800 Subject: [PATCH 56/56] Improve apparent type of mapped types (#57122) --- src/compiler/checker.ts | 40 ++++---- ...ignmentToAnyArrayRestParameters.errors.txt | 30 ++++++ ...assignmentToAnyArrayRestParameters.symbols | 71 ++++++++++++++ .../assignmentToAnyArrayRestParameters.types | 62 ++++++++++++ ...omomorphicInstantiationSpreadable1.symbols | 93 ++++++++++++++++++ ...nHomomorphicInstantiationSpreadable1.types | 96 +++++++++++++++++++ .../assignmentToAnyArrayRestParameters.ts | 23 +++++ ...hNonHomomorphicInstantiationSpreadable1.ts | 42 ++++++++ 8 files changed, 441 insertions(+), 16 deletions(-) create mode 100644 tests/baselines/reference/assignmentToAnyArrayRestParameters.errors.txt create mode 100644 tests/baselines/reference/assignmentToAnyArrayRestParameters.symbols create mode 100644 tests/baselines/reference/assignmentToAnyArrayRestParameters.types create mode 100644 tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.symbols create mode 100644 tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.types create mode 100644 tests/cases/compiler/assignmentToAnyArrayRestParameters.ts create mode 100644 tests/cases/compiler/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 450d6c28bc244..f9ab74b053256 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -14551,11 +14551,15 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function getResolvedApparentTypeOfMappedType(type: MappedType) { - const typeVariable = getHomomorphicTypeVariable(type); - if (typeVariable && !type.declaration.nameType) { - const constraint = getConstraintOfTypeParameter(typeVariable); - if (constraint && everyType(constraint, isArrayOrTupleType)) { - return instantiateType(type, prependTypeMapping(typeVariable, constraint, type.mapper)); + const target = (type.target ?? type) as MappedType; + const typeVariable = getHomomorphicTypeVariable(target); + if (typeVariable && !target.declaration.nameType) { + const constraint = getConstraintTypeFromMappedType(type); + if (constraint.flags & TypeFlags.Index) { + const baseConstraint = getBaseConstraintOfType((constraint as IndexType).type); + if (baseConstraint && everyType(baseConstraint, isArrayOrTupleType)) { + return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper)); + } } } return type; @@ -20820,8 +20824,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const restIndex = sourceRestType || targetRestType ? paramCount - 1 : -1; for (let i = 0; i < paramCount; i++) { - const sourceType = i === restIndex ? getRestTypeAtPosition(source, i) : tryGetTypeAtPosition(source, i); - const targetType = i === restIndex ? getRestTypeAtPosition(target, i) : tryGetTypeAtPosition(target, i); + const sourceType = i === restIndex ? getRestOrAnyTypeAtPosition(source, i) : tryGetTypeAtPosition(source, i); + const targetType = i === restIndex ? getRestOrAnyTypeAtPosition(target, i) : tryGetTypeAtPosition(target, i); if (sourceType && targetType) { // In order to ensure that any generic type Foo is at least co-variant with respect to T no matter // how Foo uses T, we need to relate parameters bi-variantly (given that parameters are input positions, @@ -36447,6 +36451,15 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return createTupleType(types, flags, readonly, names); } + // Return the rest type at the given position, transforming `any[]` into just `any`. We do this because + // in signatures we want `any[]` in a rest position to be compatible with anything, but `any[]` isn't + // assignable to tuple types with required elements. + function getRestOrAnyTypeAtPosition(source: Signature, pos: number): Type { + const restType = getRestTypeAtPosition(source, pos); + const elementType = restType && getElementTypeOfArrayType(restType); + return elementType && isTypeAny(elementType) ? anyType : restType; + } + // Return the number of parameters in a signature. The rest parameter, if present, counts as one // parameter. For example, the parameter count of (x: number, y: number, ...z: string[]) is 3 and // the parameter count of (x: number, ...args: [number, ...string[], boolean])) is also 3. In the @@ -36510,7 +36523,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (signatureHasRestParameter(signature)) { const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]); if (!isTupleType(restType)) { - return restType; + return isTypeAny(restType) ? anyArrayType : restType; } if (restType.target.hasRestElement) { return sliceTupleType(restType, restType.target.fixedLength); @@ -40510,7 +40523,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const objectIndexType = isGenericMappedType(objectType) && getMappedTypeNameTypeKind(objectType) === MappedTypeNameTypeKind.Remapping ? getIndexTypeForMappedType(objectType, IndexFlags.None) : getIndexType(objectType, IndexFlags.None); - if (isTypeAssignableTo(indexType, objectIndexType)) { + const hasNumberIndexInfo = !!getIndexInfoOfType(objectType, numberType); + if (everyType(indexType, t => isTypeAssignableTo(t, objectIndexType) || hasNumberIndexInfo && isApplicableIndexType(t, numberType))) { if ( accessNode.kind === SyntaxKind.ElementAccessExpression && isAssignmentTarget(accessNode) && getObjectFlags(objectType) & ObjectFlags.Mapped && getMappedTypeModifiers(objectType as MappedType) & MappedTypeModifiers.IncludeReadonly @@ -40519,16 +40533,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } return type; } - // Check if we're indexing with a numeric type and if either object or index types - // is a generic type with a constraint that has a numeric index signature. - const apparentObjectType = getApparentType(objectType); - if (getIndexInfoOfType(apparentObjectType, numberType) && isTypeAssignableToKind(indexType, TypeFlags.NumberLike)) { - return type; - } if (isGenericObjectType(objectType)) { const propertyName = getPropertyNameFromIndex(indexType, accessNode); if (propertyName) { - const propertySymbol = forEachType(apparentObjectType, t => getPropertyOfType(t, propertyName)); + const propertySymbol = forEachType(getApparentType(objectType), t => getPropertyOfType(t, propertyName)); if (propertySymbol && getDeclarationModifierFlagsFromSymbol(propertySymbol) & ModifierFlags.NonPublicAccessibilityModifier) { error(accessNode, Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter, unescapeLeadingUnderscores(propertyName)); return errorType; diff --git a/tests/baselines/reference/assignmentToAnyArrayRestParameters.errors.txt b/tests/baselines/reference/assignmentToAnyArrayRestParameters.errors.txt new file mode 100644 index 0000000000000..5644d888d42b9 --- /dev/null +++ b/tests/baselines/reference/assignmentToAnyArrayRestParameters.errors.txt @@ -0,0 +1,30 @@ +assignmentToAnyArrayRestParameters.ts(15,25): error TS2339: Property '0.0' does not exist on type 'string[]'. +assignmentToAnyArrayRestParameters.ts(18,16): error TS2536: Type '"0.0"' cannot be used to index type 'T'. + + +==== assignmentToAnyArrayRestParameters.ts (2 errors) ==== + // Repros from #57122 + + function foo( + fa: (s: string, ...args: string[]) => string, + fb: (s: string, ...args: T) => string + ) { + const f1: (...args: any) => string = fa; + const f2: (...args: any[]) => string = fa; + const f3: (...args: any) => string = fb; + const f4: (...args: any[]) => string = fb; + } + + function bar() { + type T00 = string[]["0"]; + type T01 = string[]["0.0"]; // Error + ~~~~~ +!!! error TS2339: Property '0.0' does not exist on type 'string[]'. + type T02 = string[][K | "0"]; + type T10 = T["0"]; + type T11 = T["0.0"]; // Error + ~~~~~~~~ +!!! error TS2536: Type '"0.0"' cannot be used to index type 'T'. + type T12 = T[K | "0"]; + } + \ No newline at end of file diff --git a/tests/baselines/reference/assignmentToAnyArrayRestParameters.symbols b/tests/baselines/reference/assignmentToAnyArrayRestParameters.symbols new file mode 100644 index 0000000000000..a5c7496cdb8b7 --- /dev/null +++ b/tests/baselines/reference/assignmentToAnyArrayRestParameters.symbols @@ -0,0 +1,71 @@ +//// [tests/cases/compiler/assignmentToAnyArrayRestParameters.ts] //// + +=== assignmentToAnyArrayRestParameters.ts === +// Repros from #57122 + +function foo( +>foo : Symbol(foo, Decl(assignmentToAnyArrayRestParameters.ts, 0, 0)) +>T : Symbol(T, Decl(assignmentToAnyArrayRestParameters.ts, 2, 13)) + + fa: (s: string, ...args: string[]) => string, +>fa : Symbol(fa, Decl(assignmentToAnyArrayRestParameters.ts, 2, 33)) +>s : Symbol(s, Decl(assignmentToAnyArrayRestParameters.ts, 3, 9)) +>args : Symbol(args, Decl(assignmentToAnyArrayRestParameters.ts, 3, 19)) + + fb: (s: string, ...args: T) => string +>fb : Symbol(fb, Decl(assignmentToAnyArrayRestParameters.ts, 3, 49)) +>s : Symbol(s, Decl(assignmentToAnyArrayRestParameters.ts, 4, 9)) +>args : Symbol(args, Decl(assignmentToAnyArrayRestParameters.ts, 4, 19)) +>T : Symbol(T, Decl(assignmentToAnyArrayRestParameters.ts, 2, 13)) + +) { + const f1: (...args: any) => string = fa; +>f1 : Symbol(f1, Decl(assignmentToAnyArrayRestParameters.ts, 6, 9)) +>args : Symbol(args, Decl(assignmentToAnyArrayRestParameters.ts, 6, 15)) +>fa : Symbol(fa, Decl(assignmentToAnyArrayRestParameters.ts, 2, 33)) + + const f2: (...args: any[]) => string = fa; +>f2 : Symbol(f2, Decl(assignmentToAnyArrayRestParameters.ts, 7, 9)) +>args : Symbol(args, Decl(assignmentToAnyArrayRestParameters.ts, 7, 15)) +>fa : Symbol(fa, Decl(assignmentToAnyArrayRestParameters.ts, 2, 33)) + + const f3: (...args: any) => string = fb; +>f3 : Symbol(f3, Decl(assignmentToAnyArrayRestParameters.ts, 8, 9)) +>args : Symbol(args, Decl(assignmentToAnyArrayRestParameters.ts, 8, 15)) +>fb : Symbol(fb, Decl(assignmentToAnyArrayRestParameters.ts, 3, 49)) + + const f4: (...args: any[]) => string = fb; +>f4 : Symbol(f4, Decl(assignmentToAnyArrayRestParameters.ts, 9, 9)) +>args : Symbol(args, Decl(assignmentToAnyArrayRestParameters.ts, 9, 15)) +>fb : Symbol(fb, Decl(assignmentToAnyArrayRestParameters.ts, 3, 49)) +} + +function bar() { +>bar : Symbol(bar, Decl(assignmentToAnyArrayRestParameters.ts, 10, 1)) +>T : Symbol(T, Decl(assignmentToAnyArrayRestParameters.ts, 12, 13)) +>K : Symbol(K, Decl(assignmentToAnyArrayRestParameters.ts, 12, 32)) + + type T00 = string[]["0"]; +>T00 : Symbol(T00, Decl(assignmentToAnyArrayRestParameters.ts, 12, 54)) + + type T01 = string[]["0.0"]; // Error +>T01 : Symbol(T01, Decl(assignmentToAnyArrayRestParameters.ts, 13, 29)) + + type T02 = string[][K | "0"]; +>T02 : Symbol(T02, Decl(assignmentToAnyArrayRestParameters.ts, 14, 31)) +>K : Symbol(K, Decl(assignmentToAnyArrayRestParameters.ts, 12, 32)) + + type T10 = T["0"]; +>T10 : Symbol(T10, Decl(assignmentToAnyArrayRestParameters.ts, 15, 33)) +>T : Symbol(T, Decl(assignmentToAnyArrayRestParameters.ts, 12, 13)) + + type T11 = T["0.0"]; // Error +>T11 : Symbol(T11, Decl(assignmentToAnyArrayRestParameters.ts, 16, 22)) +>T : Symbol(T, Decl(assignmentToAnyArrayRestParameters.ts, 12, 13)) + + type T12 = T[K | "0"]; +>T12 : Symbol(T12, Decl(assignmentToAnyArrayRestParameters.ts, 17, 24)) +>T : Symbol(T, Decl(assignmentToAnyArrayRestParameters.ts, 12, 13)) +>K : Symbol(K, Decl(assignmentToAnyArrayRestParameters.ts, 12, 32)) +} + diff --git a/tests/baselines/reference/assignmentToAnyArrayRestParameters.types b/tests/baselines/reference/assignmentToAnyArrayRestParameters.types new file mode 100644 index 0000000000000..c4bb45b3c662e --- /dev/null +++ b/tests/baselines/reference/assignmentToAnyArrayRestParameters.types @@ -0,0 +1,62 @@ +//// [tests/cases/compiler/assignmentToAnyArrayRestParameters.ts] //// + +=== assignmentToAnyArrayRestParameters.ts === +// Repros from #57122 + +function foo( +>foo : (fa: (s: string, ...args: string[]) => string, fb: (s: string, ...args: T) => string) => void + + fa: (s: string, ...args: string[]) => string, +>fa : (s: string, ...args: string[]) => string +>s : string +>args : string[] + + fb: (s: string, ...args: T) => string +>fb : (s: string, ...args: T) => string +>s : string +>args : T + +) { + const f1: (...args: any) => string = fa; +>f1 : (...args: any) => string +>args : any +>fa : (s: string, ...args: string[]) => string + + const f2: (...args: any[]) => string = fa; +>f2 : (...args: any[]) => string +>args : any[] +>fa : (s: string, ...args: string[]) => string + + const f3: (...args: any) => string = fb; +>f3 : (...args: any) => string +>args : any +>fb : (s: string, ...args: T) => string + + const f4: (...args: any[]) => string = fb; +>f4 : (...args: any[]) => string +>args : any[] +>fb : (s: string, ...args: T) => string +} + +function bar() { +>bar : () => void + + type T00 = string[]["0"]; +>T00 : string + + type T01 = string[]["0.0"]; // Error +>T01 : any + + type T02 = string[][K | "0"]; +>T02 : string[][K | "0"] + + type T10 = T["0"]; +>T10 : T["0"] + + type T11 = T["0.0"]; // Error +>T11 : T["0.0"] + + type T12 = T[K | "0"]; +>T12 : T[K | "0"] +} + diff --git a/tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.symbols b/tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.symbols new file mode 100644 index 0000000000000..f643150cf97a1 --- /dev/null +++ b/tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.symbols @@ -0,0 +1,93 @@ +//// [tests/cases/compiler/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts] //// + +=== homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts === +type HandleOptions = { +>HandleOptions : Symbol(HandleOptions, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 0, 0)) +>O : Symbol(O, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 0, 19)) + + [I in keyof O]: { +>I : Symbol(I, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 1, 5)) +>O : Symbol(O, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 0, 19)) + + value: O[I]; +>value : Symbol(value, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 1, 21)) +>O : Symbol(O, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 0, 19)) +>I : Symbol(I, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 1, 5)) + + }; +}; + +declare function func1< +>func1 : Symbol(func1, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 4, 2)) + + T extends Record, +>T : Symbol(T, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 6, 23)) +>Record : Symbol(Record, Decl(lib.es5.d.ts, --, --)) +>PropertyKey : Symbol(PropertyKey, Decl(lib.es5.d.ts, --, --)) + +>(fields: { +>fields : Symbol(fields, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 8, 2)) + + [K in keyof T]: { +>K : Symbol(K, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 9, 5)) +>T : Symbol(T, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 6, 23)) + + label: string; +>label : Symbol(label, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 9, 21)) + + options: [...HandleOptions]; +>options : Symbol(options, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 10, 22)) +>HandleOptions : Symbol(HandleOptions, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 0, 0)) +>T : Symbol(T, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 6, 23)) +>K : Symbol(K, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 9, 5)) + + }; +}): T; +>T : Symbol(T, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 6, 23)) + +const result = func1({ +>result : Symbol(result, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 15, 5)) +>func1 : Symbol(func1, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 4, 2)) + + prop: { +>prop : Symbol(prop, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 15, 22)) + + label: "first", +>label : Symbol(label, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 16, 11)) + + options: [ +>options : Symbol(options, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 17, 23)) + { + value: 123, +>value : Symbol(value, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 19, 13)) + + }, + { + value: "foo", +>value : Symbol(value, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 22, 13)) + + }, + ], + }, + other: { +>other : Symbol(other, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 26, 6)) + + label: "second", +>label : Symbol(label, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 27, 12)) + + options: [ +>options : Symbol(options, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 28, 24)) + { + value: "bar", +>value : Symbol(value, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 30, 13)) + + }, + { + value: true, +>value : Symbol(value, Decl(homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts, 33, 13)) + + }, + ], + }, +}); + diff --git a/tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.types b/tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.types new file mode 100644 index 0000000000000..d50293e983f5f --- /dev/null +++ b/tests/baselines/reference/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.types @@ -0,0 +1,96 @@ +//// [tests/cases/compiler/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts] //// + +=== homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts === +type HandleOptions = { +>HandleOptions : HandleOptions + + [I in keyof O]: { + value: O[I]; +>value : O[I] + + }; +}; + +declare function func1< +>func1 : >(fields: { [K in keyof T]: { label: string; options: [...HandleOptions]; }; }) => T + + T extends Record, +>(fields: { +>fields : { [K in keyof T]: { label: string; options: [...HandleOptions]; }; } + + [K in keyof T]: { + label: string; +>label : string + + options: [...HandleOptions]; +>options : [...HandleOptions] + + }; +}): T; + +const result = func1({ +>result : { prop: [number, string]; other: [string, boolean]; } +>func1({ prop: { label: "first", options: [ { value: 123, }, { value: "foo", }, ], }, other: { label: "second", options: [ { value: "bar", }, { value: true, }, ], },}) : { prop: [number, string]; other: [string, boolean]; } +>func1 : >(fields: { [K in keyof T]: { label: string; options: [...HandleOptions]; }; }) => T +>{ prop: { label: "first", options: [ { value: 123, }, { value: "foo", }, ], }, other: { label: "second", options: [ { value: "bar", }, { value: true, }, ], },} : { prop: { label: string; options: [{ value: number; }, { value: string; }]; }; other: { label: string; options: [{ value: string; }, { value: true; }]; }; } + + prop: { +>prop : { label: string; options: [{ value: number; }, { value: string; }]; } +>{ label: "first", options: [ { value: 123, }, { value: "foo", }, ], } : { label: string; options: [{ value: number; }, { value: string; }]; } + + label: "first", +>label : string +>"first" : "first" + + options: [ +>options : [{ value: number; }, { value: string; }] +>[ { value: 123, }, { value: "foo", }, ] : [{ value: number; }, { value: string; }] + { +>{ value: 123, } : { value: number; } + + value: 123, +>value : number +>123 : 123 + + }, + { +>{ value: "foo", } : { value: string; } + + value: "foo", +>value : string +>"foo" : "foo" + + }, + ], + }, + other: { +>other : { label: string; options: [{ value: string; }, { value: true; }]; } +>{ label: "second", options: [ { value: "bar", }, { value: true, }, ], } : { label: string; options: [{ value: string; }, { value: true; }]; } + + label: "second", +>label : string +>"second" : "second" + + options: [ +>options : [{ value: string; }, { value: true; }] +>[ { value: "bar", }, { value: true, }, ] : [{ value: string; }, { value: true; }] + { +>{ value: "bar", } : { value: string; } + + value: "bar", +>value : string +>"bar" : "bar" + + }, + { +>{ value: true, } : { value: true; } + + value: true, +>value : true +>true : true + + }, + ], + }, +}); + diff --git a/tests/cases/compiler/assignmentToAnyArrayRestParameters.ts b/tests/cases/compiler/assignmentToAnyArrayRestParameters.ts new file mode 100644 index 0000000000000..97b665da22d3c --- /dev/null +++ b/tests/cases/compiler/assignmentToAnyArrayRestParameters.ts @@ -0,0 +1,23 @@ +// @strict: true +// @noEmit: true + +// Repros from #57122 + +function foo( + fa: (s: string, ...args: string[]) => string, + fb: (s: string, ...args: T) => string +) { + const f1: (...args: any) => string = fa; + const f2: (...args: any[]) => string = fa; + const f3: (...args: any) => string = fb; + const f4: (...args: any[]) => string = fb; +} + +function bar() { + type T00 = string[]["0"]; + type T01 = string[]["0.0"]; // Error + type T02 = string[][K | "0"]; + type T10 = T["0"]; + type T11 = T["0.0"]; // Error + type T12 = T[K | "0"]; +} diff --git a/tests/cases/compiler/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts b/tests/cases/compiler/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts new file mode 100644 index 0000000000000..08990dc86aec7 --- /dev/null +++ b/tests/cases/compiler/homomorphicMappedTypeWithNonHomomorphicInstantiationSpreadable1.ts @@ -0,0 +1,42 @@ +// @strict: true +// @noEmit: true + +type HandleOptions = { + [I in keyof O]: { + value: O[I]; + }; +}; + +declare function func1< + T extends Record, +>(fields: { + [K in keyof T]: { + label: string; + options: [...HandleOptions]; + }; +}): T; + +const result = func1({ + prop: { + label: "first", + options: [ + { + value: 123, + }, + { + value: "foo", + }, + ], + }, + other: { + label: "second", + options: [ + { + value: "bar", + }, + { + value: true, + }, + ], + }, +});